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
|
3 |
+
[Github](https://github.com/RichardErkhov)
|
4 |
+
|
5 |
+
[Discord](https://discord.gg/pvy7H8DZMG)
|
6 |
+
|
7 |
+
[Request more models](https://github.com/RichardErkhov/quant_request)
|
8 |
+
|
9 |
+
|
10 |
+
NeuralDaredevil-7B - GGUF
|
11 |
+
- Model creator: https://huggingface.co/mlabonne/
|
12 |
+
- Original model: https://huggingface.co/mlabonne/NeuralDaredevil-7B/
|
13 |
+
|
14 |
+
|
15 |
+
| Name | Quant method | Size |
|
16 |
+
| ---- | ---- | ---- |
|
17 |
+
| [NeuralDaredevil-7B.Q2_K.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q2_K.gguf) | Q2_K | 2.53GB |
|
18 |
+
| [NeuralDaredevil-7B.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.IQ3_XS.gguf) | IQ3_XS | 2.81GB |
|
19 |
+
| [NeuralDaredevil-7B.IQ3_S.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.IQ3_S.gguf) | IQ3_S | 2.96GB |
|
20 |
+
| [NeuralDaredevil-7B.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q3_K_S.gguf) | Q3_K_S | 2.95GB |
|
21 |
+
| [NeuralDaredevil-7B.IQ3_M.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.IQ3_M.gguf) | IQ3_M | 3.06GB |
|
22 |
+
| [NeuralDaredevil-7B.Q3_K.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q3_K.gguf) | Q3_K | 3.28GB |
|
23 |
+
| [NeuralDaredevil-7B.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q3_K_M.gguf) | Q3_K_M | 3.28GB |
|
24 |
+
| [NeuralDaredevil-7B.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q3_K_L.gguf) | Q3_K_L | 3.56GB |
|
25 |
+
| [NeuralDaredevil-7B.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.IQ4_XS.gguf) | IQ4_XS | 3.67GB |
|
26 |
+
| [NeuralDaredevil-7B.Q4_0.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q4_0.gguf) | Q4_0 | 3.83GB |
|
27 |
+
| [NeuralDaredevil-7B.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.IQ4_NL.gguf) | IQ4_NL | 3.87GB |
|
28 |
+
| [NeuralDaredevil-7B.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q4_K_S.gguf) | Q4_K_S | 3.86GB |
|
29 |
+
| [NeuralDaredevil-7B.Q4_K.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q4_K.gguf) | Q4_K | 4.07GB |
|
30 |
+
| [NeuralDaredevil-7B.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q4_K_M.gguf) | Q4_K_M | 4.07GB |
|
31 |
+
| [NeuralDaredevil-7B.Q4_1.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q4_1.gguf) | Q4_1 | 4.24GB |
|
32 |
+
| [NeuralDaredevil-7B.Q5_0.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q5_0.gguf) | Q5_0 | 4.65GB |
|
33 |
+
| [NeuralDaredevil-7B.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q5_K_S.gguf) | Q5_K_S | 4.65GB |
|
34 |
+
| [NeuralDaredevil-7B.Q5_K.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q5_K.gguf) | Q5_K | 4.78GB |
|
35 |
+
| [NeuralDaredevil-7B.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q5_K_M.gguf) | Q5_K_M | 4.78GB |
|
36 |
+
| [NeuralDaredevil-7B.Q5_1.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q5_1.gguf) | Q5_1 | 5.07GB |
|
37 |
+
| [NeuralDaredevil-7B.Q6_K.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_NeuralDaredevil-7B-gguf/blob/main/NeuralDaredevil-7B.Q6_K.gguf) | Q6_K | 5.53GB |
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
Original model description:
|
43 |
+
---
|
44 |
+
license: cc-by-nc-4.0
|
45 |
+
tags:
|
46 |
+
- merge
|
47 |
+
- mergekit
|
48 |
+
- lazymergekit
|
49 |
+
- dpo
|
50 |
+
- rlhf
|
51 |
+
- mlabonne/example
|
52 |
+
base_model: mlabonne/Daredevil-7B
|
53 |
+
model-index:
|
54 |
+
- name: NeuralDaredevil-7B
|
55 |
+
results:
|
56 |
+
- task:
|
57 |
+
type: text-generation
|
58 |
+
name: Text Generation
|
59 |
+
dataset:
|
60 |
+
name: AI2 Reasoning Challenge (25-Shot)
|
61 |
+
type: ai2_arc
|
62 |
+
config: ARC-Challenge
|
63 |
+
split: test
|
64 |
+
args:
|
65 |
+
num_few_shot: 25
|
66 |
+
metrics:
|
67 |
+
- type: acc_norm
|
68 |
+
value: 69.88
|
69 |
+
name: normalized accuracy
|
70 |
+
source:
|
71 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralDaredevil-7B
|
72 |
+
name: Open LLM Leaderboard
|
73 |
+
- task:
|
74 |
+
type: text-generation
|
75 |
+
name: Text Generation
|
76 |
+
dataset:
|
77 |
+
name: HellaSwag (10-Shot)
|
78 |
+
type: hellaswag
|
79 |
+
split: validation
|
80 |
+
args:
|
81 |
+
num_few_shot: 10
|
82 |
+
metrics:
|
83 |
+
- type: acc_norm
|
84 |
+
value: 87.62
|
85 |
+
name: normalized accuracy
|
86 |
+
source:
|
87 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralDaredevil-7B
|
88 |
+
name: Open LLM Leaderboard
|
89 |
+
- task:
|
90 |
+
type: text-generation
|
91 |
+
name: Text Generation
|
92 |
+
dataset:
|
93 |
+
name: MMLU (5-Shot)
|
94 |
+
type: cais/mmlu
|
95 |
+
config: all
|
96 |
+
split: test
|
97 |
+
args:
|
98 |
+
num_few_shot: 5
|
99 |
+
metrics:
|
100 |
+
- type: acc
|
101 |
+
value: 65.12
|
102 |
+
name: accuracy
|
103 |
+
source:
|
104 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralDaredevil-7B
|
105 |
+
name: Open LLM Leaderboard
|
106 |
+
- task:
|
107 |
+
type: text-generation
|
108 |
+
name: Text Generation
|
109 |
+
dataset:
|
110 |
+
name: TruthfulQA (0-shot)
|
111 |
+
type: truthful_qa
|
112 |
+
config: multiple_choice
|
113 |
+
split: validation
|
114 |
+
args:
|
115 |
+
num_few_shot: 0
|
116 |
+
metrics:
|
117 |
+
- type: mc2
|
118 |
+
value: 66.85
|
119 |
+
source:
|
120 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralDaredevil-7B
|
121 |
+
name: Open LLM Leaderboard
|
122 |
+
- task:
|
123 |
+
type: text-generation
|
124 |
+
name: Text Generation
|
125 |
+
dataset:
|
126 |
+
name: Winogrande (5-shot)
|
127 |
+
type: winogrande
|
128 |
+
config: winogrande_xl
|
129 |
+
split: validation
|
130 |
+
args:
|
131 |
+
num_few_shot: 5
|
132 |
+
metrics:
|
133 |
+
- type: acc
|
134 |
+
value: 82.08
|
135 |
+
name: accuracy
|
136 |
+
source:
|
137 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralDaredevil-7B
|
138 |
+
name: Open LLM Leaderboard
|
139 |
+
- task:
|
140 |
+
type: text-generation
|
141 |
+
name: Text Generation
|
142 |
+
dataset:
|
143 |
+
name: GSM8k (5-shot)
|
144 |
+
type: gsm8k
|
145 |
+
config: main
|
146 |
+
split: test
|
147 |
+
args:
|
148 |
+
num_few_shot: 5
|
149 |
+
metrics:
|
150 |
+
- type: acc
|
151 |
+
value: 73.16
|
152 |
+
name: accuracy
|
153 |
+
source:
|
154 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=mlabonne/NeuralDaredevil-7B
|
155 |
+
name: Open LLM Leaderboard
|
156 |
+
---
|
157 |
+
|
158 |
+
![](https://i.imgur.com/D80Ua7T.png)
|
159 |
+
|
160 |
+
# NeuralDaredevil-7B
|
161 |
+
|
162 |
+
NeuralDaredevil-7B is a DPO fine-tune of [mlabonne/Daredevil-7B](https://huggingface.co/mlabonne/Daredevil-7B) using the [argilla/distilabel-intel-orca-dpo-pairs](https://huggingface.co/datasets/argilla/distilabel-intel-orca-dpo-pairs) preference dataset and my DPO notebook from [this article](https://towardsdatascience.com/fine-tune-a-mistral-7b-model-with-direct-preference-optimization-708042745aac).
|
163 |
+
|
164 |
+
Thanks [Argilla](https://huggingface.co/argilla) for providing the dataset and the training recipe [here](https://huggingface.co/argilla/distilabeled-Marcoro14-7B-slerp). πͺ
|
165 |
+
|
166 |
+
## π Evaluation
|
167 |
+
|
168 |
+
### Nous
|
169 |
+
|
170 |
+
The evaluation was performed using [LLM AutoEval](https://github.com/mlabonne/llm-autoeval) on Nous suite.
|
171 |
+
|
172 |
+
| Model | Average | AGIEval | GPT4All | TruthfulQA | Bigbench |
|
173 |
+
|---|---:|---:|---:|---:|---:|
|
174 |
+
| [**mlabonne/NeuralDaredevil-7B**](https://huggingface.co/mlabonne/NeuralDaredevil-7B) [π](https://gist.github.com/mlabonne/cbeb077d1df71cb81c78f742f19f4155) | **59.39** | **45.23** | **76.2** | **67.61** | **48.52** |
|
175 |
+
| [mlabonne/Beagle14-7B](https://huggingface.co/mlabonne/Beagle14-7B) [π](https://gist.github.com/mlabonne/f5a5bf8c0827bbec2f05b97cc62d642c) | 59.4 | 44.38 | 76.53 | 69.44 | 47.25 |
|
176 |
+
| [argilla/distilabeled-Marcoro14-7B-slerp](https://huggingface.co/argilla/distilabeled-Marcoro14-7B-slerp) [π](https://gist.github.com/mlabonne/9082c4e59f4d3f3543c5eda3f4807040) | 58.93 | 45.38 | 76.48 | 65.68 | 48.18 |
|
177 |
+
| [mlabonne/NeuralMarcoro14-7B](https://huggingface.co/mlabonne/NeuralMarcoro14-7B) [π](https://gist.github.com/mlabonne/b31572a4711c945a4827e7242cfc4b9d) | 58.4 | 44.59 | 76.17 | 65.94 | 46.9 |
|
178 |
+
| [openchat/openchat-3.5-0106](https://huggingface.co/openchat/openchat-3.5-0106) [π](https://gist.github.com/mlabonne/1afab87b543b0717ec08722cf086dcc3) | 53.71 | 44.17 | 73.72 | 52.53 | 44.4 |
|
179 |
+
| [teknium/OpenHermes-2.5-Mistral-7B](https://huggingface.co/teknium/OpenHermes-2.5-Mistral-7B) [π](https://gist.github.com/mlabonne/88b21dd9698ffed75d6163ebdc2f6cc8) | 52.42 | 42.75 | 72.99 | 52.99 | 40.94 |
|
180 |
+
|
181 |
+
You can find the complete benchmark on [YALL - Yet Another LLM Leaderboard](https://huggingface.co/spaces/mlabonne/Yet_Another_LLM_Leaderboard).
|
182 |
+
|
183 |
+
# [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
184 |
+
|
185 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_mlabonne__NeuralDaredevil-7B)
|
186 |
+
|
187 |
+
| Metric |Value|
|
188 |
+
|---------------------------------|----:|
|
189 |
+
|Avg. |74.12|
|
190 |
+
|AI2 Reasoning Challenge (25-Shot)|69.88|
|
191 |
+
|HellaSwag (10-Shot) |87.62|
|
192 |
+
|MMLU (5-Shot) |65.12|
|
193 |
+
|TruthfulQA (0-shot) |66.85|
|
194 |
+
|Winogrande (5-shot) |82.08|
|
195 |
+
|GSM8k (5-shot) |73.16|
|
196 |
+
|
197 |
+
## π» Usage
|
198 |
+
|
199 |
+
```python
|
200 |
+
!pip install -qU transformers accelerate
|
201 |
+
|
202 |
+
from transformers import AutoTokenizer
|
203 |
+
import transformers
|
204 |
+
import torch
|
205 |
+
|
206 |
+
model = "mlabonne/NeuralDaredevil-7B"
|
207 |
+
messages = [{"role": "user", "content": "What is a large language model?"}]
|
208 |
+
|
209 |
+
tokenizer = AutoTokenizer.from_pretrained(model)
|
210 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
211 |
+
pipeline = transformers.pipeline(
|
212 |
+
"text-generation",
|
213 |
+
model=model,
|
214 |
+
torch_dtype=torch.float16,
|
215 |
+
device_map="auto",
|
216 |
+
)
|
217 |
+
|
218 |
+
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
219 |
+
print(outputs[0]["generated_text"])
|
220 |
+
```
|
221 |
+
|
222 |
+
<p align="center">
|
223 |
+
<a href="https://github.com/argilla-io/distilabel">
|
224 |
+
<img src="https://raw.githubusercontent.com/argilla-io/distilabel/main/docs/assets/distilabel-badge-light.png" alt="Built with Distilabel" width="200" height="32"/>
|
225 |
+
</a>
|
226 |
+
</p>
|
227 |
+
|
228 |
+
|