license: apache-2.0 | |
tags: | |
- merge | |
- mergekit | |
- google/gemma-7b-it | |
- HuggingFaceH4/zephyr-7b-gemma-v0.1 | |
# gemma-7b-it-zaphyr-slerp | |
gemma-7b-it-zaphyr-slerp is a merge of the following models using [mergekit](https://github.com/cg123/mergekit): | |
* [google/gemma-7b-it](https://huggingface.co/google/gemma-7b-it) | |
* [HuggingFaceH4/zephyr-7b-gemma-v0.1](https://huggingface.co/HuggingFaceH4/zephyr-7b-gemma-v0.1) | |
## 🧩 Configuration | |
```yaml | |
slices: | |
- sources: | |
- model: google/gemma-7b-it | |
layer_range: [0, 28] | |
- model: HuggingFaceH4/zephyr-7b-gemma-v0.1 | |
layer_range: [0, 28] | |
merge_method: slerp | |
base_model: google/gemma-7b-it | |
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 | |
``` |