Jason Cheng
commited on
Fix typos add image
Browse files
README.md
CHANGED
@@ -1,88 +1,92 @@
|
|
1 |
-
---
|
2 |
-
base_model:
|
3 |
-
- anthracite-org/magnum-v3-9b-customgemma2
|
4 |
-
- nbeerbower/gemma2-gutenberg-9B
|
5 |
-
- grimjim/Magnolia-v1-Gemma2-8k-9B
|
6 |
-
- UCLA-AGI/Gemma-2-9B-It-SPPO-Iter3
|
7 |
-
- BeaverLegacy/Smegmma-Deluxe-9B-v1
|
8 |
-
- ifable/gemma-2-Ifable-9B
|
9 |
-
library_name: transformers
|
10 |
-
tags:
|
11 |
-
- mergekit
|
12 |
-
- merge
|
13 |
-
|
14 |
-
---
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
* [
|
41 |
-
* [
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
#
|
54 |
-
#
|
55 |
-
#
|
56 |
-
#
|
57 |
-
#
|
58 |
-
#
|
59 |
-
#
|
60 |
-
#
|
61 |
-
#
|
62 |
-
#
|
63 |
-
#
|
64 |
-
# -
|
65 |
-
#
|
66 |
-
|
67 |
-
#
|
68 |
-
#
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
- model:
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
|
|
|
|
|
|
|
|
88 |
Alright, now back to smashing models together and seeing what happens...
|
|
|
1 |
+
---
|
2 |
+
base_model:
|
3 |
+
- anthracite-org/magnum-v3-9b-customgemma2
|
4 |
+
- nbeerbower/gemma2-gutenberg-9B
|
5 |
+
- grimjim/Magnolia-v1-Gemma2-8k-9B
|
6 |
+
- UCLA-AGI/Gemma-2-9B-It-SPPO-Iter3
|
7 |
+
- BeaverLegacy/Smegmma-Deluxe-9B-v1
|
8 |
+
- ifable/gemma-2-Ifable-9B
|
9 |
+
library_name: transformers
|
10 |
+
tags:
|
11 |
+
- mergekit
|
12 |
+
- merge
|
13 |
+
|
14 |
+
---
|
15 |
+
|
16 |
+

|
17 |
+
|
18 |
+
# temp
|
19 |
+
|
20 |
+
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
21 |
+
|
22 |
+
## Merge Details
|
23 |
+
### Merge Method
|
24 |
+
|
25 |
+
This model was merged using the SLERP method to create an intermediate model. I used the
|
26 |
+
[Model Stock](https://arxiv.org/abs/2403.19522) merge method after, using the SLERP model as a base.
|
27 |
+
|
28 |
+
The idea was to make a nice and smart base model and add in a few pinches of spice.
|
29 |
+
|
30 |
+
For some reason it wouldn't let me use any other merge method- it gave me ModelReference errors about my
|
31 |
+
intermediary model for every method except Model Stock for some reason. I'll see if I can fix it and
|
32 |
+
upload my intended task-arithmetic version as a v2.
|
33 |
+
|
34 |
+
This is the only one of my like 700 merges that I think uses something novel/interesting
|
35 |
+
enough in its creation to merit an upload.
|
36 |
+
|
37 |
+
### Models Merged
|
38 |
+
|
39 |
+
The following models were included in the merge:
|
40 |
+
* [anthracite-org/magnum-v3-9b-customgemma2](https://huggingface.co/anthracite-org/magnum-v3-9b-customgemma2)
|
41 |
+
* [nbeerbower/gemma2-gutenberg-9B](https://huggingface.co/nbeerbower/gemma2-gutenberg-9B)
|
42 |
+
|
43 |
+
* [grimjim/Magnolia-v1-Gemma2-8k-9B](https://huggingface.co/grimjim/Magnolia-v1-Gemma2-8k-9B)
|
44 |
+
* [UCLA-AGI/Gemma-2-9B-It-SPPO-Iter3](https://huggingface.co/UCLA-AGI/Gemma-2-9B-It-SPPO-Iter3)
|
45 |
+
* [BeaverLegacy/Smegmma-Deluxe-9B-v1](https://huggingface.co/BeaverLegacy/Smegmma-Deluxe-9B-v1)
|
46 |
+
* [ifable/gemma-2-Ifable-9B](https://huggingface.co/ifable/gemma-2-Ifable-9B)
|
47 |
+
|
48 |
+
### Configuration
|
49 |
+
|
50 |
+
The following YAML configuration was used to produce this model:
|
51 |
+
|
52 |
+
```yaml
|
53 |
+
# THIS YAML CONFIGURATION WAS USED TO CREATE THE INTERMEDIARY MODEL.
|
54 |
+
# slices:
|
55 |
+
# - sources:
|
56 |
+
# - model: anthracite-org/magnum-v3-9b-customgemma2
|
57 |
+
# layer_range: [0, 42]
|
58 |
+
# - model: nbeerbower/gemma2-gutenberg-9B
|
59 |
+
# layer_range: [0, 42]
|
60 |
+
# merge_method: slerp
|
61 |
+
# base_model: nbeerbower/gemma2-gutenberg-9B
|
62 |
+
# parameters:
|
63 |
+
# t:
|
64 |
+
# - filter: self_attn
|
65 |
+
# value: [0.2, 0.5, 0.4, 0.7, 1]
|
66 |
+
# - filter: mlp
|
67 |
+
# value: [1, 0.5, 0.3, 0.4, 0.2]
|
68 |
+
# - value: 0.5
|
69 |
+
# dtype: float16
|
70 |
+
|
71 |
+
# THIS YAML CONFIGURATION WAS USED TO CREATE ASTER. The E: model is the intermediate
|
72 |
+
# model created in the previous config.
|
73 |
+
models:
|
74 |
+
- model: E:/models/mergekit/output/intermediate/
|
75 |
+
- model: BeaverLegacy/Smegmma-Deluxe-9B-v1
|
76 |
+
parameters:
|
77 |
+
weight: 0.3
|
78 |
+
- model: ifable/gemma-2-Ifable-9B
|
79 |
+
parameters:
|
80 |
+
weight: 0.3
|
81 |
+
- model: UCLA-AGI/Gemma-2-9B-It-SPPO-Iter3
|
82 |
+
parameters:
|
83 |
+
weight: 0.15
|
84 |
+
- model: grimjim/Magnolia-v1-Gemma2-8k-9B
|
85 |
+
parameters:
|
86 |
+
weight: 0.25
|
87 |
+
merge_method: model_stock
|
88 |
+
base_model: E:/models/mergekit/output/intermediate/
|
89 |
+
dtype: float16
|
90 |
+
```
|
91 |
+
|
92 |
Alright, now back to smashing models together and seeing what happens...
|