base_model: | |
- TsinghuaC3I/Llama-3-8B-UltraMedical | |
- meta-llama/Meta-Llama-3-8B-Instruct | |
library_name: transformers | |
tags: | |
- mergekit | |
- merge | |
# merged_model | |
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 SLERP merge method. | |
### Models Merged | |
The following models were included in the merge: | |
* [TsinghuaC3I/Llama-3-8B-UltraMedical](https://huggingface.co/TsinghuaC3I/Llama-3-8B-UltraMedical) | |
* [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) | |
### Configuration | |
The following YAML configuration was used to produce this model: | |
```yaml | |
models: | |
- model: meta-llama/Meta-Llama-3-8B-Instruct | |
- model: TsinghuaC3I/Llama-3-8B-UltraMedical | |
merge_method: slerp | |
base_model: meta-llama/Meta-Llama-3-8B-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 # fallback for rest of tensors | |
dtype: float16 | |
``` | |