base_model: | |
- Alelcv27/llama3-8b-math-dpo | |
- meta-llama/Llama-3.1-8B | |
- Alelcv27/llama3-8b-code-dpo | |
library_name: transformers | |
tags: | |
- mergekit | |
- merge | |
# llama3-8b-dare-ties-v2 | |
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 [DARE](https://arxiv.org/abs/2311.03099) [TIES](https://arxiv.org/abs/2306.01708) merge method using [meta-llama/Llama-3.1-8B](https://huggingface.co/meta-llama/Llama-3.1-8B) as a base. | |
### Models Merged | |
The following models were included in the merge: | |
* [Alelcv27/llama3-8b-math-dpo](https://huggingface.co/Alelcv27/llama3-8b-math-dpo) | |
* [Alelcv27/llama3-8b-code-dpo](https://huggingface.co/Alelcv27/llama3-8b-code-dpo) | |
### Configuration | |
The following YAML configuration was used to produce this model: | |
```yaml | |
base_model: meta-llama/Llama-3.1-8B | |
dtype: float16 | |
merge_method: dare_ties | |
parameters: | |
normalize: 1.0 | |
slices: | |
- sources: | |
- layer_range: [0, 32] | |
model: Alelcv27/llama3-8b-math-dpo | |
parameters: | |
density: 0.6 | |
weight: 1.0 | |
- layer_range: [0, 32] | |
model: Alelcv27/llama3-8b-code-dpo | |
parameters: | |
density: 0.3 | |
weight: 0.4 | |
- layer_range: [0, 32] | |
model: meta-llama/Llama-3.1-8B | |
``` | |