Izhanjafry commited on
Commit
25ea6ef
·
verified ·
1 Parent(s): 735d006

Upload README.md with huggingface_hub

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