File size: 953 Bytes
0733a32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dtype: float16
merge_method: linear
slices:
 - sources:
      - layer_range: [0, 8] # Reduce the first half of the model to 4B parameters
        model: mistralai/Mistral-7B-Instruct-v0.2
        parameters:
          weight: 0.25 # Reduce the weight of the first half to make room for the second half
      - layer_range: [8, 16] # Reduce the second half of the model to 4B parameters
        model: mistralai/Mistral-7B-Instruct-v0.2
        parameters:
          weight: 0.25 # Maintain the weight of the second half
      - layer_range: [16, 24] # Reduce the third half of the model to 4B parameters
        model: mistralai/Mistral-7B-Instruct-v0.2
        parameters:
          weight: 0.25 # Reduce the weight of the third half
      - layer_range: [24, 32] # Reduce the fourth half of the model to 4B parameters
        model: mistralai/Mistral-7B-Instruct-v0.2
        parameters:
          weight: 0.25 # Maintain the weight of the fourth half