NikolayKozloff
commited on
Commit
•
3b770e4
1
Parent(s):
3c0a9af
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- llama-cpp
|
4 |
+
- gguf-my-repo
|
5 |
+
---
|
6 |
+
|
7 |
+
# NikolayKozloff/Llama-2-7b-gsm8k-Q8_0-GGUF
|
8 |
+
This model was converted to GGUF format from [`neuralmagic/Llama-2-7b-gsm8k`](https://huggingface.co/neuralmagic/Llama-2-7b-gsm8k) 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/neuralmagic/Llama-2-7b-gsm8k) 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 NikolayKozloff/Llama-2-7b-gsm8k-Q8_0-GGUF --model llama-2-7b-gsm8k.Q8_0.gguf -p "The meaning to life and the universe is"
|
23 |
+
```
|
24 |
+
|
25 |
+
Server:
|
26 |
+
|
27 |
+
```bash
|
28 |
+
llama-server --hf-repo NikolayKozloff/Llama-2-7b-gsm8k-Q8_0-GGUF --model llama-2-7b-gsm8k.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 llama-2-7b-gsm8k.Q8_0.gguf -n 128
|
35 |
+
```
|