Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,21 +1,35 @@
|
|
1 |
---
|
2 |
tags:
|
3 |
- llama-cpp
|
|
|
4 |
---
|
5 |
|
6 |
# reach-vb/gemma-1.1-2b-it-Q8_0-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.
|
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 |
```bash
|
12 |
brew install ggerganov/ggerganov/llama.cpp
|
13 |
```
|
|
|
|
|
|
|
14 |
|
15 |
```bash
|
16 |
-
llama-cli --hf-repo reach-vb/gemma-1.1-2b-it-Q8_0-GGUF --model gemma-1.1-2b-it.Q8_0.gguf -p "The meaning to life and the universe is
|
17 |
```
|
18 |
|
|
|
|
|
19 |
```bash
|
20 |
llama-server --hf-repo reach-vb/gemma-1.1-2b-it-Q8_0-GGUF --model gemma-1.1-2b-it.Q8_0.gguf -c 2048
|
21 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
tags:
|
3 |
- llama-cpp
|
4 |
+
- gguf-my-repo
|
5 |
---
|
6 |
|
7 |
# reach-vb/gemma-1.1-2b-it-Q8_0-GGUF
|
8 |
+
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-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
9 |
Refer to the [original model card](https://huggingface.co/gg-hf/gemma-1.1-2b-it) for more details on the model.
|
10 |
## Use with llama.cpp
|
11 |
|
12 |
+
Install llama.cpp through brew.
|
13 |
+
|
14 |
```bash
|
15 |
brew install ggerganov/ggerganov/llama.cpp
|
16 |
```
|
17 |
+
Invoke the llama.cpp server or the CLI.
|
18 |
+
|
19 |
+
CLI:
|
20 |
|
21 |
```bash
|
22 |
+
llama-cli --hf-repo reach-vb/gemma-1.1-2b-it-Q8_0-GGUF --model gemma-1.1-2b-it.Q8_0.gguf -p "The meaning to life and the universe is"
|
23 |
```
|
24 |
|
25 |
+
Server:
|
26 |
+
|
27 |
```bash
|
28 |
llama-server --hf-repo reach-vb/gemma-1.1-2b-it-Q8_0-GGUF --model gemma-1.1-2b-it.Q8_0.gguf -c 2048
|
29 |
```
|
30 |
+
|
31 |
+
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.
|
32 |
+
|
33 |
+
```
|
34 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m gemma-1.1-2b-it.Q8_0.gguf -n 128
|
35 |
+
```
|