base_model: | |
- meta-llama/Meta-Llama-3-8B-Instruct | |
- alfredplpl/Llama-3-8B-Instruct-Ja | |
library_name: transformers | |
tags: | |
- mergekit | |
- merge | |
# merged_model_output | |
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](https://en.wikipedia.org/wiki/Slerp) merge method. | |
### Models Merged | |
The following models were included in the merge: | |
* [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) | |
* [alfredplpl/Llama-3-8B-Instruct-Ja](https://huggingface.co/alfredplpl/Llama-3-8B-Instruct-Ja) | |
### Configuration | |
The following YAML configuration was used to produce this model: | |
```yaml | |
base_model: meta-llama/Meta-Llama-3-8B-Instruct # ベースモデルの指定 | |
slices: | |
- sources: | |
- model: meta-llama/Meta-Llama-3-8B-Instruct | |
layer_range: [0, 23] | |
- model: alfredplpl/Llama-3-8B-Instruct-Ja | |
layer_range: [0, 23] | |
target_layer_range: [0, 23] | |
merge_method: slerp | |
parameters: | |
t: | |
- filter: self_attn | |
value: [0.5] # SLERP の補間係数 | |
- filter: mlp | |
value: [0.5] | |
- value: 0.5 | |
dtype: float32 | |
``` | |