reach-vb HF staff commited on
Commit
08fde70
1 Parent(s): cc9e224

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +34 -0
README.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - llama-cpp
4
+ ---
5
+
6
+ # reach-vb/gemma-1.1-2b-it-Q4_K_M-GGUF
7
+ This model was converted to GGUF format from [`gg-hf/gemma-1.1-2b-it`](https://huggingface.co/gg-hf/gemma-1.1-2b-it) using llama.cpp via the GGML.ai's [GGUF-it](https://huggingface.co/spaces/ggml-org/GGUF-it) space.
8
+ Refer to the [original model card](https://huggingface.co/gg-hf/gemma-1.1-2b-it) for more details on the model.
9
+ ## Use with llama.cpp
10
+
11
+ Install Llama.cpp through brew.
12
+
13
+ ```bash
14
+ brew install ggerganov/ggerganov/llama.cpp
15
+ ```
16
+ Invoke the llama.cpp server or the CLI.
17
+
18
+ CLI:
19
+
20
+ ```bash
21
+ llama-cli --hf-repo reach-vb/gemma-1.1-2b-it-Q4_K_M-GGUF --model gemma-1.1-2b-it.Q4_K_M.gguf -p "The meaning to life and the universe is "
22
+ ```
23
+
24
+ Server:
25
+
26
+ ```bash
27
+ llama-server --hf-repo reach-vb/gemma-1.1-2b-it-Q4_K_M-GGUF --model gemma-1.1-2b-it.Q4_K_M.gguf -c 2048
28
+ ```
29
+
30
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
31
+
32
+ ```
33
+ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m gemma-1.1-2b-it.Q4_K_M.gguf -n 128
34
+ ```