From c4615633d28f57bab91d16451cb44776a5585cbb Mon Sep 17 00:00:00 2001 From: michaljarnot Date: Sat, 27 Jul 2024 21:58:46 +0200 Subject: [PATCH] docs: add direct link to model --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f63e37..cb5de8d 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ LlamaCPP-ts is a Node.js binding for the [LlamaCPP](https://github.com/developer You can find some models [here](https://huggingface.co/bullerwins/Meta-Llama-3.1-8B-Instruct-GGUF/tree/main) +Example is using this one [Meta-Llama-3.1-8B-Instruct-Q3_K_S.gguf](https://huggingface.co/bullerwins/Meta-Llama-3.1-8B-Instruct-GGUF/resolve/main/Meta-Llama-3.1-8B-Instruct-Q3_K_S.gguf). + ## Installation Ensure that you have [CMake](https://cmake.org) installed on your system: @@ -41,7 +43,7 @@ const llama = new Llama(); const initialized = llama.initialize('./path/to/your/model.gguf'); if (initialized) { - const response: string = llama.runQuery("Tell me a joke about programming.", 100); + const response: string = llama.runQuery("Tell me a story.", 100); console.log(response); } else { console.error("Failed to initialize the model.");