--- base_model: - meta-llama/Llama-3.1-8B - Alelcv27/llama3-8b-math-dpo - Alelcv27/llama3-8b-code-dpo library_name: transformers tags: - mergekit - merge --- # llama3-8b-dare-linear-v4 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 linear [DARE](https://arxiv.org/abs/2311.03099) 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_linear parameters: normalize: 1.0 slices: - sources: - layer_range: [0, 32] model: Alelcv27/llama3-8b-code-dpo parameters: weight: 0.7 - layer_range: [0, 32] model: Alelcv27/llama3-8b-math-dpo parameters: weight: 1.0 - layer_range: [0, 32] model: meta-llama/Llama-3.1-8B ```