bamec66557
commited on
Update mergekit_config.yml
Browse files- mergekit_config.yml +19 -19
mergekit_config.yml
CHANGED
@@ -1,34 +1,34 @@
|
|
1 |
slices:
|
2 |
-
-
|
3 |
- model: bamec66557/MNRP_0.5
|
4 |
-
layer_range: [0, 40]
|
5 |
- model: bamec66557/MISCHIEVOUS-12B
|
6 |
-
layer_range: [0, 40]
|
7 |
-
|
8 |
-
#
|
9 |
-
#
|
10 |
parameters:
|
11 |
t:
|
12 |
-
-
|
13 |
-
value: [0.2, 0.4, 0.6, 0.8, 1.0]
|
14 |
- filter: mlp
|
15 |
-
value: [0.8, 0.6, 0.4, 0.2, 0.0]
|
16 |
- filter: layer_norm
|
17 |
-
value: [0.5, 0.5, 0.5, 0.5, 0.5]
|
18 |
-
- value: 0.7
|
19 |
|
20 |
-
merge_method: slerp
|
21 |
|
22 |
-
base_model: bamec66557/MISCHIEVOUS-12B
|
23 |
|
24 |
-
dtype: bfloat16
|
25 |
|
26 |
-
#
|
27 |
-
|
28 |
-
- method: l2_norm
|
29 |
scale: 0.01
|
30 |
|
31 |
postprocessing:
|
32 |
-
- operation: smoothing
|
33 |
kernel_size: 3
|
34 |
-
- operation:
|
|
|
1 |
slices:
|
2 |
+
- Sources:
|
3 |
- model: bamec66557/MNRP_0.5
|
4 |
+
layer_range: [0, 40] # Merge layer range for MNRP_0.5 model
|
5 |
- model: bamec66557/MISCHIEVOUS-12B
|
6 |
+
layer_range: [0, 40] # Merge layer range for MISCHIEVOUS-12B model.
|
7 |
+
|
8 |
+
# Adjust the merge ratio per layer to drive smoother integration
|
9 |
+
# Each filter affects a specific mechanism within the model
|
10 |
parameters:
|
11 |
t:
|
12 |
+
- Filter: self_attn
|
13 |
+
value: [0.2, 0.4, 0.6, 0.8, 1.0] # Progressive merging of self-attention layers
|
14 |
- filter: mlp
|
15 |
+
value: [0.8, 0.6, 0.4, 0.2, 0.0] # Merge MLP layers with opposite proportions
|
16 |
- filter: layer_norm
|
17 |
+
value: [0.5, 0.5, 0.5, 0.5, 0.5, 0.5] # Layer Normalisation should be merged uniformly
|
18 |
+
- value: 0.7 # Default
|
19 |
|
20 |
+
merge_method: slerp # change merge method to slerp
|
21 |
|
22 |
+
base_model: bamec66557/MISCHIEVOUS-12B # base model for merge
|
23 |
|
24 |
+
dtype: bfloat16 # data type for efficient and fast operations when merging
|
25 |
|
26 |
+
# Additional available options
|
27 |
+
regularisation:
|
28 |
+
- method: l2_norm # Stabilise merged model weights with L2 normalisation
|
29 |
scale: 0.01
|
30 |
|
31 |
postprocessing:
|
32 |
+
- operation: smoothing # Smooth the weights after merging
|
33 |
kernel_size: 3
|
34 |
+
- operation: normalise # normalise the overall weights
|