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|
|
|
|
1 |
+
Quantization made by Richard Erkhov.
|
2 |
+
|
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 |
+
Magic-Dolphin-7b - GGUF
|
11 |
+
- Model creator: https://huggingface.co/InferenceIllusionist/
|
12 |
+
- Original model: https://huggingface.co/InferenceIllusionist/Magic-Dolphin-7b/
|
13 |
+
|
14 |
+
|
15 |
+
| Name | Quant method | Size |
|
16 |
+
| ---- | ---- | ---- |
|
17 |
+
| [Magic-Dolphin-7b.Q2_K.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q2_K.gguf) | Q2_K | 2.53GB |
|
18 |
+
| [Magic-Dolphin-7b.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.IQ3_XS.gguf) | IQ3_XS | 2.81GB |
|
19 |
+
| [Magic-Dolphin-7b.IQ3_S.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.IQ3_S.gguf) | IQ3_S | 2.96GB |
|
20 |
+
| [Magic-Dolphin-7b.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q3_K_S.gguf) | Q3_K_S | 2.95GB |
|
21 |
+
| [Magic-Dolphin-7b.IQ3_M.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.IQ3_M.gguf) | IQ3_M | 3.06GB |
|
22 |
+
| [Magic-Dolphin-7b.Q3_K.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q3_K.gguf) | Q3_K | 3.28GB |
|
23 |
+
| [Magic-Dolphin-7b.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q3_K_M.gguf) | Q3_K_M | 3.28GB |
|
24 |
+
| [Magic-Dolphin-7b.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q3_K_L.gguf) | Q3_K_L | 3.56GB |
|
25 |
+
| [Magic-Dolphin-7b.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.IQ4_XS.gguf) | IQ4_XS | 3.67GB |
|
26 |
+
| [Magic-Dolphin-7b.Q4_0.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q4_0.gguf) | Q4_0 | 3.83GB |
|
27 |
+
| [Magic-Dolphin-7b.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.IQ4_NL.gguf) | IQ4_NL | 3.87GB |
|
28 |
+
| [Magic-Dolphin-7b.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q4_K_S.gguf) | Q4_K_S | 3.86GB |
|
29 |
+
| [Magic-Dolphin-7b.Q4_K.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q4_K.gguf) | Q4_K | 4.07GB |
|
30 |
+
| [Magic-Dolphin-7b.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q4_K_M.gguf) | Q4_K_M | 4.07GB |
|
31 |
+
| [Magic-Dolphin-7b.Q4_1.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q4_1.gguf) | Q4_1 | 4.24GB |
|
32 |
+
| [Magic-Dolphin-7b.Q5_0.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q5_0.gguf) | Q5_0 | 4.65GB |
|
33 |
+
| [Magic-Dolphin-7b.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q5_K_S.gguf) | Q5_K_S | 4.65GB |
|
34 |
+
| [Magic-Dolphin-7b.Q5_K.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q5_K.gguf) | Q5_K | 4.78GB |
|
35 |
+
| [Magic-Dolphin-7b.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q5_K_M.gguf) | Q5_K_M | 4.78GB |
|
36 |
+
| [Magic-Dolphin-7b.Q5_1.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q5_1.gguf) | Q5_1 | 5.07GB |
|
37 |
+
| [Magic-Dolphin-7b.Q6_K.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q6_K.gguf) | Q6_K | 5.53GB |
|
38 |
+
| [Magic-Dolphin-7b.Q8_0.gguf](https://huggingface.co/RichardErkhov/InferenceIllusionist_-_Magic-Dolphin-7b-gguf/blob/main/Magic-Dolphin-7b.Q8_0.gguf) | Q8_0 | 7.17GB |
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
Original model description:
|
44 |
+
---
|
45 |
+
license: apache-2.0
|
46 |
+
base_model:
|
47 |
+
- cognitivecomputations/dolphin-2.6-mistral-7b-dpo-laser
|
48 |
+
- Locutusque/Hyperion-1.5-Mistral-7B
|
49 |
+
- ibm/merlinite-7b
|
50 |
+
library_name: transformers
|
51 |
+
tags:
|
52 |
+
- mergekit
|
53 |
+
- merge
|
54 |
+
- code
|
55 |
+
model-index:
|
56 |
+
- name: Magic-Dolphin-7b
|
57 |
+
results:
|
58 |
+
- task:
|
59 |
+
type: text-generation
|
60 |
+
name: Text Generation
|
61 |
+
dataset:
|
62 |
+
name: AI2 Reasoning Challenge (25-Shot)
|
63 |
+
type: ai2_arc
|
64 |
+
config: ARC-Challenge
|
65 |
+
split: test
|
66 |
+
args:
|
67 |
+
num_few_shot: 25
|
68 |
+
metrics:
|
69 |
+
- type: acc_norm
|
70 |
+
value: 65.78
|
71 |
+
name: normalized accuracy
|
72 |
+
source:
|
73 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=InferenceIllusionist/Magic-Dolphin-7b
|
74 |
+
name: Open LLM Leaderboard
|
75 |
+
- task:
|
76 |
+
type: text-generation
|
77 |
+
name: Text Generation
|
78 |
+
dataset:
|
79 |
+
name: HellaSwag (10-Shot)
|
80 |
+
type: hellaswag
|
81 |
+
split: validation
|
82 |
+
args:
|
83 |
+
num_few_shot: 10
|
84 |
+
metrics:
|
85 |
+
- type: acc_norm
|
86 |
+
value: 85.61
|
87 |
+
name: normalized accuracy
|
88 |
+
source:
|
89 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=InferenceIllusionist/Magic-Dolphin-7b
|
90 |
+
name: Open LLM Leaderboard
|
91 |
+
- task:
|
92 |
+
type: text-generation
|
93 |
+
name: Text Generation
|
94 |
+
dataset:
|
95 |
+
name: MMLU (5-Shot)
|
96 |
+
type: cais/mmlu
|
97 |
+
config: all
|
98 |
+
split: test
|
99 |
+
args:
|
100 |
+
num_few_shot: 5
|
101 |
+
metrics:
|
102 |
+
- type: acc
|
103 |
+
value: 64.64
|
104 |
+
name: accuracy
|
105 |
+
source:
|
106 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=InferenceIllusionist/Magic-Dolphin-7b
|
107 |
+
name: Open LLM Leaderboard
|
108 |
+
- task:
|
109 |
+
type: text-generation
|
110 |
+
name: Text Generation
|
111 |
+
dataset:
|
112 |
+
name: TruthfulQA (0-shot)
|
113 |
+
type: truthful_qa
|
114 |
+
config: multiple_choice
|
115 |
+
split: validation
|
116 |
+
args:
|
117 |
+
num_few_shot: 0
|
118 |
+
metrics:
|
119 |
+
- type: mc2
|
120 |
+
value: 58.01
|
121 |
+
source:
|
122 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=InferenceIllusionist/Magic-Dolphin-7b
|
123 |
+
name: Open LLM Leaderboard
|
124 |
+
- task:
|
125 |
+
type: text-generation
|
126 |
+
name: Text Generation
|
127 |
+
dataset:
|
128 |
+
name: Winogrande (5-shot)
|
129 |
+
type: winogrande
|
130 |
+
config: winogrande_xl
|
131 |
+
split: validation
|
132 |
+
args:
|
133 |
+
num_few_shot: 5
|
134 |
+
metrics:
|
135 |
+
- type: acc
|
136 |
+
value: 79.64
|
137 |
+
name: accuracy
|
138 |
+
source:
|
139 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=InferenceIllusionist/Magic-Dolphin-7b
|
140 |
+
name: Open LLM Leaderboard
|
141 |
+
- task:
|
142 |
+
type: text-generation
|
143 |
+
name: Text Generation
|
144 |
+
dataset:
|
145 |
+
name: GSM8k (5-shot)
|
146 |
+
type: gsm8k
|
147 |
+
config: main
|
148 |
+
split: test
|
149 |
+
args:
|
150 |
+
num_few_shot: 5
|
151 |
+
metrics:
|
152 |
+
- type: acc
|
153 |
+
value: 51.18
|
154 |
+
name: accuracy
|
155 |
+
source:
|
156 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=InferenceIllusionist/Magic-Dolphin-7b
|
157 |
+
name: Open LLM Leaderboard
|
158 |
+
---
|
159 |
+
# Magic-Dolphin-7b
|
160 |
+
<img src="https://huggingface.co/InferenceIllusionist/Magic-Dolphin-7b/resolve/main/magic-dolphin.jfif" width="500"/>
|
161 |
+
|
162 |
+
<b>The follow-up to this model has been released, check out the updated benchmarks here for [Excalibur-7b](https://huggingface.co/InferenceIllusionist/Excalibur-7b)</b>
|
163 |
+
|
164 |
+
For GGUF files please look [here](https://huggingface.co/InferenceIllusionist/Magic-Dolphin-7b-GGUF)
|
165 |
+
|
166 |
+
A linear merge of:
|
167 |
+
- [cognitivecomputations/dolphin-2.6-mistral-7b-dpo-laser](https://huggingface.co/cognitivecomputations/dolphin-2.6-mistral-7b-dpo-laser)
|
168 |
+
- [Locutusque/Hyperion-1.5-Mistral-7B](https://huggingface.co/Locutusque/Hyperion-1.5-Mistral-7B)
|
169 |
+
- [ibm/merlinite-7b](https://huggingface.co/ibm/merlinite-7b)
|
170 |
+
|
171 |
+
|
172 |
+
These three models showed excellent acumen in technical topics so I wanted to see how they would behave together in a merge. Several different ratios were tested before this release, in the end a higher weighting for merlinite-7b helped smooth out some edges. This model is a test of how LAB tuning is impacted by merges with models leveraging DPO.
|
173 |
+
|
174 |
+
### Benchmark Performance
|
175 |
+
| Name | Avg. | ARC | HellaSwag | MMLU | TruthfulQA | Winogrande | GSM8K |
|
176 |
+
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
|
177 |
+
| <b>Magic-Dolphin-7b</b> | <u><b>67.48</b></u> | 65.78 | 85.61 | 64.64 | 58.01 | 79.64 | <u><b>51.18</b></u> |
|
178 |
+
| dolphin-2.6-mistral-7b-dpo-laser | 67.28 | 66.3 | 85.73 | 63.16 | 61.71 | 79.16 | 47.61 |
|
179 |
+
| merlinite-7b | 64 | 63.65 | 84.52 | 64.91 | 50.15 | 79.72 | 41.09 |
|
180 |
+
| Hyperion-1.5-Mistral-7B | 61.43 | 60.49 | 83.64 | 63.57 | 41.78 | 78.61 | 40.49 |
|
181 |
+
|
182 |
+
This was my first experiment with merging models so any feedback is greatly appreciated.
|
183 |
+
|
184 |
+
Uses Alpaca template.
|
185 |
+
|
186 |
+
<p align="center">
|
187 |
+
|
188 |
+
</p>
|
189 |
+
|
190 |
+
<b>Sample Question</b>
|
191 |
+
<img src="https://huggingface.co/InferenceIllusionist/Magic-Dolphin-7b/resolve/main/magic-dolphin.JPG" width="750"/>
|
192 |
+
|
193 |
+
## Merge Details
|
194 |
+
### Merge Method
|
195 |
+
|
196 |
+
This model was merged using the [linear](https://arxiv.org/abs/2203.05482) merge method.
|
197 |
+
|
198 |
+
### Models Merged
|
199 |
+
|
200 |
+
The following models were included in the merge:
|
201 |
+
* [cognitivecomputations/dolphin-2.6-mistral-7b-dpo-laser](https://huggingface.co/cognitivecomputations/dolphin-2.6-mistral-7b-dpo-laser)
|
202 |
+
* [Locutusque/Hyperion-1.5-Mistral-7B](https://huggingface.co/Locutusque/Hyperion-1.5-Mistral-7B)
|
203 |
+
* [ibm/merlinite-7b](https://huggingface.co/ibm/merlinite-7b)
|
204 |
+
|
205 |
+
### Configuration
|
206 |
+
|
207 |
+
The following YAML configuration was used to produce this model:
|
208 |
+
|
209 |
+
```yaml
|
210 |
+
models:
|
211 |
+
- model: models/dolphin-2.6-mistral-7b-dpo-laser
|
212 |
+
parameters:
|
213 |
+
weight: 1.0
|
214 |
+
- model: models/Hyperion-1.5-Mistral-7B
|
215 |
+
parameters:
|
216 |
+
weight: 0.3
|
217 |
+
- model: models/merlinite-7b
|
218 |
+
parameters:
|
219 |
+
weight: 0.5
|
220 |
+
merge_method: linear
|
221 |
+
dtype: float16
|
222 |
+
|
223 |
+
```
|
224 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
225 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_InferenceIllusionist__Magic-Dolphin-7b)
|
226 |
+
|
227 |
+
| Metric |Value|
|
228 |
+
|---------------------------------|----:|
|
229 |
+
|Avg. |67.48|
|
230 |
+
|AI2 Reasoning Challenge (25-Shot)|65.78|
|
231 |
+
|HellaSwag (10-Shot) |85.61|
|
232 |
+
|MMLU (5-Shot) |64.64|
|
233 |
+
|TruthfulQA (0-shot) |58.01|
|
234 |
+
|Winogrande (5-shot) |79.64|
|
235 |
+
|GSM8k (5-shot) |51.18|
|
236 |
+
|
237 |
+
|
238 |
+
|