Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- zh
|
5 |
+
license: other
|
6 |
+
library_name: transformers
|
7 |
+
tags:
|
8 |
+
- llama-factory
|
9 |
+
- orpo
|
10 |
+
- llama-cpp
|
11 |
+
- gguf-my-repo
|
12 |
+
base_model: meta-llama/Meta-Llama-3-8B-Instruct
|
13 |
+
datasets:
|
14 |
+
- hiyouga/DPO-En-Zh-20k
|
15 |
+
license_name: llama3
|
16 |
+
license_link: LICENSE
|
17 |
+
pipeline_tag: text-generation
|
18 |
+
---
|
19 |
+
|
20 |
+
# DavidAU/Llama3-8B-Chinese-Chat-Q8_0-GGUF
|
21 |
+
This model was converted to GGUF format from [`shenzhi-wang/Llama3-8B-Chinese-Chat`](https://huggingface.co/shenzhi-wang/Llama3-8B-Chinese-Chat) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
22 |
+
Refer to the [original model card](https://huggingface.co/shenzhi-wang/Llama3-8B-Chinese-Chat) for more details on the model.
|
23 |
+
## Use with llama.cpp
|
24 |
+
|
25 |
+
Install llama.cpp through brew.
|
26 |
+
|
27 |
+
```bash
|
28 |
+
brew install ggerganov/ggerganov/llama.cpp
|
29 |
+
```
|
30 |
+
Invoke the llama.cpp server or the CLI.
|
31 |
+
|
32 |
+
CLI:
|
33 |
+
|
34 |
+
```bash
|
35 |
+
llama-cli --hf-repo DavidAU/Llama3-8B-Chinese-Chat-Q8_0-GGUF --model llama3-8b-chinese-chat.Q8_0.gguf -p "The meaning to life and the universe is"
|
36 |
+
```
|
37 |
+
|
38 |
+
Server:
|
39 |
+
|
40 |
+
```bash
|
41 |
+
llama-server --hf-repo DavidAU/Llama3-8B-Chinese-Chat-Q8_0-GGUF --model llama3-8b-chinese-chat.Q8_0.gguf -c 2048
|
42 |
+
```
|
43 |
+
|
44 |
+
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.
|
45 |
+
|
46 |
+
```
|
47 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m llama3-8b-chinese-chat.Q8_0.gguf -n 128
|
48 |
+
```
|