Update README.md
Browse filesSpelling correction.
README.md
CHANGED
@@ -1,3 +1,93 @@
|
|
1 |
-
---
|
2 |
-
license: cc-by-nc-4.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-4.0
|
3 |
+
tags:
|
4 |
+
- conversational
|
5 |
+
- mixtral
|
6 |
+
- merge
|
7 |
+
- mergekit
|
8 |
+
---
|
9 |
+
|
10 |
+
<img src="https://files.catbox.moe/zdxyzv.png" width="400"/>
|
11 |
+
|
12 |
+
## TeTO-MS-8x7b-iMat-GGUF
|
13 |
+
<i>Weighted quants were made using the full precision fp16 model and groups_merged_enhancedV3.</i>
|
14 |
+
|
15 |
+
<u><b>Te</b></u>soro + <u><b>T</b></u>yphon + <u><b>O</b></u>penGPT
|
16 |
+
|
17 |
+
Presenting a Model Stock experiment combining the unique strengths from the following 8x7b Mixtral models:
|
18 |
+
* Tess-2.0-Mixtral-8x7B-v0.2 / [migtissera](https://huggingface.co/migtissera) / General Purpose
|
19 |
+
* Typhon-Mixtral-v1 / [Sao10K](https://huggingface.co/Sao10K) / Creative & Story Completion
|
20 |
+
* Open_Gpt4_8x7B_v0.2 / [rombodawg](https://huggingface.co/rombodawg) / Conversational
|
21 |
+
|
22 |
+
# Recommended Template
|
23 |
+
* Basic: Alpaca Format
|
24 |
+
* Advanced: See context/instruct/sampler settings in [our new Recommended Settings repo](https://huggingface.co/Quant-Cartel/Recommended-Settings/tree/main/Teto-MS-8x7b).
|
25 |
+
* Huge shout out to [rAIfle](https://huggingface.co/rAIfle) for his original work on the Wizard 8x22b templates which were modified for this model.
|
26 |
+
|
27 |
+
<H2>Methodology</H2>
|
28 |
+
|
29 |
+
> [I]nnovative layer-wise weight averaging technique surpasses state-of-the-art model methods such as Model Soup, utilizing only two fine-tuned models. This strategy can be aptly coined Model Stock, highlighting its reliance on selecting a minimal number of models to draw a more optimized-averaged model
|
30 |
+
<i> (From [arXiv:2403.19522](https://arxiv.org/pdf/2403.19522))</i>
|
31 |
+
|
32 |
+
|
33 |
+
* Methodology and merging process was based on the following paper - [Model Stock: All we need is just a few fine-tuned models](https://arxiv.org/abs/2403.19522)
|
34 |
+
* Initial model selection was based on top performing models of Mixtral architecture covering a variety of use cases and skills
|
35 |
+
* Base model (Mixtral Instruct 8x7b v0.1) was chosen after outperforming two other potential base models in terms of MMLU benchmark performance.
|
36 |
+
|
37 |
+
# Output
|
38 |
+
|
39 |
+
<img src="https://files.catbox.moe/bw97yg.PNG" width="400"/>
|
40 |
+
|
41 |
+
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
42 |
+
|
43 |
+
## Merge Details
|
44 |
+
### Merge Method
|
45 |
+
|
46 |
+
This model was merged using the [Model Stock](https://arxiv.org/abs/2403.19522) merge method using Mixtral-8x7B-v0.1-Instruct as a base.
|
47 |
+
|
48 |
+
### Models Merged
|
49 |
+
|
50 |
+
The following models were included in the merge:
|
51 |
+
* migtissera_Tess-2.0-Mixtral-8x7B-v0.2
|
52 |
+
* rombodawg_Open_Gpt4_8x7B_v0.2
|
53 |
+
* Sao10K_Typhon-Mixtral-v1
|
54 |
+
|
55 |
+
### Configuration
|
56 |
+
|
57 |
+
The following YAML configuration was used to produce this model:
|
58 |
+
|
59 |
+
```yaml
|
60 |
+
models:
|
61 |
+
- model: models/migtissera_Tess-2.0-Mixtral-8x7B-v0.2
|
62 |
+
- model: models/Sao10K_Typhon-Mixtral-v1
|
63 |
+
- model: models/rombodawg_Open_Gpt4_8x7B_v0.2
|
64 |
+
merge_method: model_stock
|
65 |
+
base_model: models/Mixtral-8x7B-v0.1-Instruct
|
66 |
+
dtype: float16
|
67 |
+
```
|
68 |
+
|
69 |
+
|
70 |
+
## Appendix - Llama.cpp MMLU Benchmark Results*
|
71 |
+
|
72 |
+
<i>These results were calculated via perplexity.exe from llama.cpp using the following params:</i>
|
73 |
+
|
74 |
+
`.\perplexity -m .\models\TeTO-8x7b-MS-v0.03\TeTO-MS-8x7b-Q6_K.gguf -bf .\evaluations\mmlu-test.bin --multiple-choice -c 8192 -t 23 -ngl 200`
|
75 |
+
|
76 |
+
|
77 |
+
```
|
78 |
+
* V0.01 (4 model / Mixtral Base):
|
79 |
+
Final result: 43.3049 +/- 0.4196
|
80 |
+
Random chance: 25.0000 +/- 0.3667
|
81 |
+
|
82 |
+
|
83 |
+
* V0.02 (3 model / Tess Mixtral Base):
|
84 |
+
Final result: 43.8356 +/- 0.4202
|
85 |
+
Random chance: 25.0000 +/- 0.3667
|
86 |
+
|
87 |
+
|
88 |
+
* V0.03 (4 model / Mixtral Instruct Base):
|
89 |
+
Final result: 45.7004 +/- 0.4219
|
90 |
+
Random chance: 25.0000 +/- 0.3667
|
91 |
+
```
|
92 |
+
|
93 |
+
*Please be advised metrics above are not representative of final HF benchmark scores for reasons given [here](https://github.com/ggerganov/llama.cpp/pull/5047)
|