Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- trl
|
4 |
+
- sft
|
5 |
+
- gguf_generated_from_trainer
|
6 |
+
- generated_from_trainer
|
7 |
+
- llama-cpp
|
8 |
+
- gguf-my-repo
|
9 |
+
base_model: ybelkada/tiny-random-llama
|
10 |
+
model-index:
|
11 |
+
- name: test-gguf-trainer
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
# ybelkada/test-gguf-trainer-Q8_0-GGUF
|
16 |
+
This model was converted to GGUF format from [`ybelkada/test-gguf-trainer`](https://huggingface.co/ybelkada/test-gguf-trainer) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
17 |
+
Refer to the [original model card](https://huggingface.co/ybelkada/test-gguf-trainer) for more details on the model.
|
18 |
+
## Use with llama.cpp
|
19 |
+
|
20 |
+
Install llama.cpp through brew.
|
21 |
+
|
22 |
+
```bash
|
23 |
+
brew install ggerganov/ggerganov/llama.cpp
|
24 |
+
```
|
25 |
+
Invoke the llama.cpp server or the CLI.
|
26 |
+
|
27 |
+
CLI:
|
28 |
+
|
29 |
+
```bash
|
30 |
+
llama-cli --hf-repo ybelkada/test-gguf-trainer-Q8_0-GGUF --model test-gguf-trainer.Q8_0.gguf -p "The meaning to life and the universe is"
|
31 |
+
```
|
32 |
+
|
33 |
+
Server:
|
34 |
+
|
35 |
+
```bash
|
36 |
+
llama-server --hf-repo ybelkada/test-gguf-trainer-Q8_0-GGUF --model test-gguf-trainer.Q8_0.gguf -c 2048
|
37 |
+
```
|
38 |
+
|
39 |
+
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.
|
40 |
+
|
41 |
+
```
|
42 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m test-gguf-trainer.Q8_0.gguf -n 128
|
43 |
+
```
|