File size: 812 Bytes
94c3a76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
slices:
  - sources:
      - model: unsloth/gemma-2-9b-it
        layer_range: [0, 24]
  - sources: # add middle layers with residuals scaled to zero
      - model: unsloth/gemma-2-9b-it
        layer_range: [8, 24]
        parameters:
          scale:
            - filter: o_proj
              value: 0.0
            - filter: down_proj
              value: 0.0
            - value: 1.0
  - sources: # add middle layers with residuals scaled to zero
      - model: unsloth/gemma-2-9b-it
        layer_range: [8, 28]
        parameters:
          scale:
            - filter: o_proj
              value: 0.0
            - filter: down_proj
              value: 0.0
            - value: 1.0
  - sources:
      - model: unsloth/gemma-2-9b-it
        layer_range: [24, 28]
merge_method: passthrough
dtype: bfloat16