UNPKG

node-llama-cpp

Version:

Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level

7 lines 224 B
export function getReadableContextSize(contextSize) { return contextSize.toLocaleString("en-US", { notation: "compact", compactDisplay: "short" }); } //# sourceMappingURL=getReadableContextSize.js.map