Bakanayatsu
commited on
Commit
•
fba4076
1
Parent(s):
6f87683
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: mlabonne/NeuralHermes-2.5-Mistral-7B-laser
|
3 |
+
datasets:
|
4 |
+
- mlabonne/chatml_dpo_pairs
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
license: apache-2.0
|
8 |
+
tags:
|
9 |
+
- mistral
|
10 |
+
- instruct
|
11 |
+
- finetune
|
12 |
+
- chatml
|
13 |
+
- gpt4
|
14 |
+
- synthetic data
|
15 |
+
- distillation
|
16 |
+
- dpo
|
17 |
+
- rlhf
|
18 |
+
- laser
|
19 |
+
- llama-cpp
|
20 |
+
- gguf-my-repo
|
21 |
+
model-index:
|
22 |
+
- name: NeuralHermes-2.5-Mistral-7B-laser
|
23 |
+
results:
|
24 |
+
- task:
|
25 |
+
type: text-generation
|
26 |
+
name: Text Generation
|
27 |
+
dataset:
|
28 |
+
name: AI2 Reasoning Challenge (25-Shot)
|
29 |
+
type: ai2_arc
|
30 |
+
config: ARC-Challenge
|
31 |
+
split: test
|
32 |
+
args:
|
33 |
+
num_few_shot: 25
|
34 |
+
metrics:
|
35 |
+
- type: acc_norm
|
36 |
+
value: 66.38
|
37 |
+
name: normalized accuracy
|
38 |
+
source:
|
39 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralHermes-2.5-Mistral-7B-laser
|
40 |
+
name: Open LLM Leaderboard
|
41 |
+
- task:
|
42 |
+
type: text-generation
|
43 |
+
name: Text Generation
|
44 |
+
dataset:
|
45 |
+
name: HellaSwag (10-Shot)
|
46 |
+
type: hellaswag
|
47 |
+
split: validation
|
48 |
+
args:
|
49 |
+
num_few_shot: 10
|
50 |
+
metrics:
|
51 |
+
- type: acc_norm
|
52 |
+
value: 85.09
|
53 |
+
name: normalized accuracy
|
54 |
+
source:
|
55 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralHermes-2.5-Mistral-7B-laser
|
56 |
+
name: Open LLM Leaderboard
|
57 |
+
- task:
|
58 |
+
type: text-generation
|
59 |
+
name: Text Generation
|
60 |
+
dataset:
|
61 |
+
name: MMLU (5-Shot)
|
62 |
+
type: cais/mmlu
|
63 |
+
config: all
|
64 |
+
split: test
|
65 |
+
args:
|
66 |
+
num_few_shot: 5
|
67 |
+
metrics:
|
68 |
+
- type: acc
|
69 |
+
value: 63.43
|
70 |
+
name: accuracy
|
71 |
+
source:
|
72 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralHermes-2.5-Mistral-7B-laser
|
73 |
+
name: Open LLM Leaderboard
|
74 |
+
- task:
|
75 |
+
type: text-generation
|
76 |
+
name: Text Generation
|
77 |
+
dataset:
|
78 |
+
name: TruthfulQA (0-shot)
|
79 |
+
type: truthful_qa
|
80 |
+
config: multiple_choice
|
81 |
+
split: validation
|
82 |
+
args:
|
83 |
+
num_few_shot: 0
|
84 |
+
metrics:
|
85 |
+
- type: mc2
|
86 |
+
value: 54.95
|
87 |
+
source:
|
88 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralHermes-2.5-Mistral-7B-laser
|
89 |
+
name: Open LLM Leaderboard
|
90 |
+
- task:
|
91 |
+
type: text-generation
|
92 |
+
name: Text Generation
|
93 |
+
dataset:
|
94 |
+
name: Winogrande (5-shot)
|
95 |
+
type: winogrande
|
96 |
+
config: winogrande_xl
|
97 |
+
split: validation
|
98 |
+
args:
|
99 |
+
num_few_shot: 5
|
100 |
+
metrics:
|
101 |
+
- type: acc
|
102 |
+
value: 78.14
|
103 |
+
name: accuracy
|
104 |
+
source:
|
105 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralHermes-2.5-Mistral-7B-laser
|
106 |
+
name: Open LLM Leaderboard
|
107 |
+
- task:
|
108 |
+
type: text-generation
|
109 |
+
name: Text Generation
|
110 |
+
dataset:
|
111 |
+
name: GSM8k (5-shot)
|
112 |
+
type: gsm8k
|
113 |
+
config: main
|
114 |
+
split: test
|
115 |
+
args:
|
116 |
+
num_few_shot: 5
|
117 |
+
metrics:
|
118 |
+
- type: acc
|
119 |
+
value: 55.72
|
120 |
+
name: accuracy
|
121 |
+
source:
|
122 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralHermes-2.5-Mistral-7B-laser
|
123 |
+
name: Open LLM Leaderboard
|
124 |
+
---
|
125 |
+
|
126 |
+
# Bakanayatsu/NeuralHermes-2.5-Mistral-7B-laser-Q4_K_S-GGUF
|
127 |
+
This model was converted to GGUF format from [`mlabonne/NeuralHermes-2.5-Mistral-7B-laser`](https://huggingface.co/mlabonne/NeuralHermes-2.5-Mistral-7B-laser) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
128 |
+
Refer to the [original model card](https://huggingface.co/mlabonne/NeuralHermes-2.5-Mistral-7B-laser) for more details on the model.
|
129 |
+
|
130 |
+
## Use with llama.cpp
|
131 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
132 |
+
|
133 |
+
```bash
|
134 |
+
brew install llama.cpp
|
135 |
+
|
136 |
+
```
|
137 |
+
Invoke the llama.cpp server or the CLI.
|
138 |
+
|
139 |
+
### CLI:
|
140 |
+
```bash
|
141 |
+
llama-cli --hf-repo Bakanayatsu/NeuralHermes-2.5-Mistral-7B-laser-Q4_K_S-GGUF --hf-file neuralhermes-2.5-mistral-7b-laser-q4_k_s-imat.gguf -p "The meaning to life and the universe is"
|
142 |
+
```
|
143 |
+
|
144 |
+
### Server:
|
145 |
+
```bash
|
146 |
+
llama-server --hf-repo Bakanayatsu/NeuralHermes-2.5-Mistral-7B-laser-Q4_K_S-GGUF --hf-file neuralhermes-2.5-mistral-7b-laser-q4_k_s-imat.gguf -c 2048
|
147 |
+
```
|
148 |
+
|
149 |
+
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.
|
150 |
+
|
151 |
+
Step 1: Clone llama.cpp from GitHub.
|
152 |
+
```
|
153 |
+
git clone https://github.com/ggerganov/llama.cpp
|
154 |
+
```
|
155 |
+
|
156 |
+
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).
|
157 |
+
```
|
158 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
159 |
+
```
|
160 |
+
|
161 |
+
Step 3: Run inference through the main binary.
|
162 |
+
```
|
163 |
+
./llama-cli --hf-repo Bakanayatsu/NeuralHermes-2.5-Mistral-7B-laser-Q4_K_S-GGUF --hf-file neuralhermes-2.5-mistral-7b-laser-q4_k_s-imat.gguf -p "The meaning to life and the universe is"
|
164 |
+
```
|
165 |
+
or
|
166 |
+
```
|
167 |
+
./llama-server --hf-repo Bakanayatsu/NeuralHermes-2.5-Mistral-7B-laser-Q4_K_S-GGUF --hf-file neuralhermes-2.5-mistral-7b-laser-q4_k_s-imat.gguf -c 2048
|
168 |
+
```
|