Triangle104
commited on
Commit
•
fb288bf
1
Parent(s):
37f9612
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: NousResearch/Hermes-2-Pro-Llama-3-8B
|
3 |
+
datasets:
|
4 |
+
- teknium/OpenHermes-2.5
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
license: llama3
|
8 |
+
tags:
|
9 |
+
- Llama-3
|
10 |
+
- instruct
|
11 |
+
- finetune
|
12 |
+
- chatml
|
13 |
+
- DPO
|
14 |
+
- RLHF
|
15 |
+
- gpt4
|
16 |
+
- synthetic data
|
17 |
+
- distillation
|
18 |
+
- function calling
|
19 |
+
- json mode
|
20 |
+
- axolotl
|
21 |
+
- llama-cpp
|
22 |
+
- gguf-my-repo
|
23 |
+
widget:
|
24 |
+
- example_title: Hermes 2 Pro
|
25 |
+
messages:
|
26 |
+
- role: system
|
27 |
+
content: You are a sentient, superintelligent artificial general intelligence,
|
28 |
+
here to teach and assist me.
|
29 |
+
- role: user
|
30 |
+
content: Write a short story about Goku discovering kirby has teamed up with Majin
|
31 |
+
Buu to destroy the world.
|
32 |
+
model-index:
|
33 |
+
- name: Hermes-2-Pro-Llama-3-8B
|
34 |
+
results: []
|
35 |
+
---
|
36 |
+
|
37 |
+
# Triangle104/Hermes-2-Pro-Llama-3-8B-Q4_0-GGUF
|
38 |
+
This model was converted to GGUF format from [`NousResearch/Hermes-2-Pro-Llama-3-8B`](https://huggingface.co/NousResearch/Hermes-2-Pro-Llama-3-8B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
39 |
+
Refer to the [original model card](https://huggingface.co/NousResearch/Hermes-2-Pro-Llama-3-8B) for more details on the model.
|
40 |
+
|
41 |
+
## Use with llama.cpp
|
42 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
43 |
+
|
44 |
+
```bash
|
45 |
+
brew install llama.cpp
|
46 |
+
|
47 |
+
```
|
48 |
+
Invoke the llama.cpp server or the CLI.
|
49 |
+
|
50 |
+
### CLI:
|
51 |
+
```bash
|
52 |
+
llama-cli --hf-repo Triangle104/Hermes-2-Pro-Llama-3-8B-Q4_0-GGUF --hf-file hermes-2-pro-llama-3-8b-q4_0.gguf -p "The meaning to life and the universe is"
|
53 |
+
```
|
54 |
+
|
55 |
+
### Server:
|
56 |
+
```bash
|
57 |
+
llama-server --hf-repo Triangle104/Hermes-2-Pro-Llama-3-8B-Q4_0-GGUF --hf-file hermes-2-pro-llama-3-8b-q4_0.gguf -c 2048
|
58 |
+
```
|
59 |
+
|
60 |
+
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.
|
61 |
+
|
62 |
+
Step 1: Clone llama.cpp from GitHub.
|
63 |
+
```
|
64 |
+
git clone https://github.com/ggerganov/llama.cpp
|
65 |
+
```
|
66 |
+
|
67 |
+
Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
|
68 |
+
```
|
69 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
70 |
+
```
|
71 |
+
|
72 |
+
Step 3: Run inference through the main binary.
|
73 |
+
```
|
74 |
+
./llama-cli --hf-repo Triangle104/Hermes-2-Pro-Llama-3-8B-Q4_0-GGUF --hf-file hermes-2-pro-llama-3-8b-q4_0.gguf -p "The meaning to life and the universe is"
|
75 |
+
```
|
76 |
+
or
|
77 |
+
```
|
78 |
+
./llama-server --hf-repo Triangle104/Hermes-2-Pro-Llama-3-8B-Q4_0-GGUF --hf-file hermes-2-pro-llama-3-8b-q4_0.gguf -c 2048
|
79 |
+
```
|