Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: apache-2.0
|
5 |
+
tags:
|
6 |
+
- pytorch
|
7 |
+
- causal-lm
|
8 |
+
- pythia
|
9 |
+
- llama-cpp
|
10 |
+
- gguf-my-repo
|
11 |
+
datasets:
|
12 |
+
- Anthropic/hh-rlhf
|
13 |
+
---
|
14 |
+
|
15 |
+
# DavidAU/pythia-1b-helpful-dpo-Q8_0-GGUF
|
16 |
+
This model was converted to GGUF format from [`lomahony/pythia-1b-helpful-dpo`](https://huggingface.co/lomahony/pythia-1b-helpful-dpo) 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/lomahony/pythia-1b-helpful-dpo) 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 DavidAU/pythia-1b-helpful-dpo-Q8_0-GGUF --model pythia-1b-helpful-dpo.Q8_0.gguf -p "The meaning to life and the universe is"
|
31 |
+
```
|
32 |
+
|
33 |
+
Server:
|
34 |
+
|
35 |
+
```bash
|
36 |
+
llama-server --hf-repo DavidAU/pythia-1b-helpful-dpo-Q8_0-GGUF --model pythia-1b-helpful-dpo.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 pythia-1b-helpful-dpo.Q8_0.gguf -n 128
|
43 |
+
```
|