File size: 1,360 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
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
---
base_model:
- unsloth/gemma-2-9b-it
library_name: transformers
tags:
- mergekit
- merge

---
# merge

This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).

## Merge Details
### Merge Method

This model was merged using the passthrough merge method.

### Models Merged

The following models were included in the merge:
* [unsloth/gemma-2-9b-it](https://huggingface.co/unsloth/gemma-2-9b-it)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
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
```