base_model: | |
- microsoft/Phi-3-mini-128k-instruct | |
- microsoft/Phi-3-mini-4k-instruct | |
- microsoft/Phi-3.5-mini-instruct | |
library_name: transformers | |
tags: | |
- mergekit | |
- merge | |
# output-model-directory | |
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 [task arithmetic](https://arxiv.org/abs/2212.04089) merge method using [microsoft/Phi-3.5-mini-instruct](https://huggingface.co/microsoft/Phi-3.5-mini-instruct) as a base. | |
### Models Merged | |
The following models were included in the merge: | |
* [microsoft/Phi-3-mini-128k-instruct](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct) | |
* [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) | |
### Configuration | |
The following YAML configuration was used to produce this model: | |
```yaml | |
models: | |
- model: "microsoft/Phi-3.5-mini-instruct" | |
parameters: | |
weight: 1.0 | |
- model: "microsoft/Phi-3-mini-4k-instruct" | |
parameters: | |
weight: 0.6 | |
- model: "microsoft/Phi-3-mini-128k-instruct" | |
parameters: | |
weight: 0.3 | |
base_model: "microsoft/Phi-3.5-mini-instruct" | |
merge_method: task_arithmetic | |
dtype: float16 | |
``` | |