Merged-Model / README.md
Mohamed6900's picture
Upload folder using huggingface_hub
acac4c0 verified
---
license: apache-2.0
tags:
- merge
- mergekit
- lazymergekit
- gpt2
- distilgpt2
---
# Merged-Model
Merged-Model is a merge of the following models using [mergekit](https://github.com/cg123/mergekit):
* [gpt2](https://huggingface.co/gpt2)
* [distilgpt2](https://huggingface.co/distilgpt2)
## 🧩 Configuration
```yaml
slices:
- sources:
- model: gpt2
layer_range: [0, 6]
- model: distilgpt2
layer_range: [0, 6]
merge_method: slerp
base_model: gpt2
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
```