license: apache-2.0 | |
tags: | |
- merge | |
- mergekit | |
- lazymergekit | |
- microsoft/Phi-3-mini-128k-instruct | |
- microsoft/phi-2 | |
# doaa | |
doaa is a merge of the following models using [mergekit](https://github.com/cg123/mergekit): | |
* [microsoft/Phi-3-mini-128k-instruct](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct) | |
* [microsoft/phi-2](https://huggingface.co/microsoft/phi-2) | |
## 🧩 Configuration | |
```yaml | |
slices: | |
- sources: | |
- model: microsoft/Phi-3-mini-128k-instruct | |
layer_range: [0, 32] | |
- model: microsoft/phi-2 | |
layer_range: [0, 32] | |
merge_method: slerp | |
base_model: microsoft/Phi-3-mini-128k-instruct | |
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 | |
``` |