File size: 764 Bytes
1ecdf1f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
license: apache-2.0
tags:
- merge
- mergekit
- lazymergekit
- allenai/longformer-base-4096
- gpt2
---

# merge-my-models

merge-my-models is a merge of the following models using [mergekit](https://github.com/cg123/mergekit):
* [allenai/longformer-base-4096](https://huggingface.co/allenai/longformer-base-4096)
* [gpt2](https://huggingface.co/gpt2)

## 🧩 Configuration

```yaml{'slices': [{'sources': [{'model': 'allenai/longformer-base-4096', 'layer_range': [0, 12]}, {'model': 'gpt2', 'layer_range': [0, 12]}]}], 'merge_method': 'slerp', 'base_model': 'allenai/longformer-base-4096', 'parameters': {'t': [{'filter': 'self_attn', 'value': [0, 0.5, 0.3, 0.7, 1]}, {'filter': 'mlp', 'value': [1, 0.5, 0.7, 0.3, 0]}, {'value': 0.5}]}, 'dtype': 'bfloat16'}```