Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: llama3
|
5 |
+
library_name: transformers
|
6 |
+
tags:
|
7 |
+
- axolotl
|
8 |
+
- finetune
|
9 |
+
- dpo
|
10 |
+
- facebook
|
11 |
+
- meta
|
12 |
+
- pytorch
|
13 |
+
- llama
|
14 |
+
- llama-3
|
15 |
+
- llama-cpp
|
16 |
+
- gguf-my-repo
|
17 |
+
base_model: meta-llama/Meta-Llama-3-8B-Instruct
|
18 |
+
datasets:
|
19 |
+
- Intel/orca_dpo_pairs
|
20 |
+
model_name: Llama-3-8B-Instruct-DPO-v0.3
|
21 |
+
pipeline_tag: text-generation
|
22 |
+
license_name: llama3
|
23 |
+
license_link: LICENSE
|
24 |
+
inference: false
|
25 |
+
model_creator: MaziyarPanahi
|
26 |
+
quantized_by: MaziyarPanahi
|
27 |
+
---
|
28 |
+
|
29 |
+
# RachidAR/Llama-3-8B-Instruct-DPO-v0.3-Q6_K-GGUF
|
30 |
+
This model was converted to GGUF format from [`MaziyarPanahi/Llama-3-8B-Instruct-DPO-v0.3`](https://huggingface.co/MaziyarPanahi/Llama-3-8B-Instruct-DPO-v0.3) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
31 |
+
Refer to the [original model card](https://huggingface.co/MaziyarPanahi/Llama-3-8B-Instruct-DPO-v0.3) for more details on the model.
|
32 |
+
## Use with llama.cpp
|
33 |
+
|
34 |
+
Install llama.cpp through brew.
|
35 |
+
|
36 |
+
```bash
|
37 |
+
brew install ggerganov/ggerganov/llama.cpp
|
38 |
+
```
|
39 |
+
Invoke the llama.cpp server or the CLI.
|
40 |
+
|
41 |
+
CLI:
|
42 |
+
|
43 |
+
```bash
|
44 |
+
llama-cli --hf-repo RachidAR/Llama-3-8B-Instruct-DPO-v0.3-Q6_K-GGUF --model llama-3-8b-instruct-dpo-v0.3.Q6_K.gguf -p "The meaning to life and the universe is"
|
45 |
+
```
|
46 |
+
|
47 |
+
Server:
|
48 |
+
|
49 |
+
```bash
|
50 |
+
llama-server --hf-repo RachidAR/Llama-3-8B-Instruct-DPO-v0.3-Q6_K-GGUF --model llama-3-8b-instruct-dpo-v0.3.Q6_K.gguf -c 2048
|
51 |
+
```
|
52 |
+
|
53 |
+
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.
|
54 |
+
|
55 |
+
```
|
56 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m llama-3-8b-instruct-dpo-v0.3.Q6_K.gguf -n 128
|
57 |
+
```
|