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