base_model: | |
- meta-llama/Llama-2-7b-hf | |
- mrm8488/llama-2-coder-7b | |
- meta-llama/CodeLlama-7b-Instruct-hf | |
library_name: transformers | |
tags: | |
- mergekit | |
- merge | |
# merge | |
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-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) as a base. | |
### Models Merged | |
The following models were included in the merge: | |
* [mrm8488/llama-2-coder-7b](https://huggingface.co/mrm8488/llama-2-coder-7b) | |
* [meta-llama/CodeLlama-7b-Instruct-hf](https://huggingface.co/meta-llama/CodeLlama-7b-Instruct-hf) | |
### Configuration | |
The following YAML configuration was used to produce this model: | |
```yaml | |
models: | |
- model: meta-llama/Llama-2-7b-hf | |
- model: meta-llama/CodeLlama-7b-Instruct-hf | |
parameters: | |
density: 0.65 | |
weight: 1.0 | |
- model: mrm8488/llama-2-coder-7b | |
parameters: | |
density: 0.35 | |
weight: 0.5 | |
merge_method: dare_linear | |
base_model: meta-llama/Llama-2-7b-hf | |
parameters: | |
int8_mask: true | |
dtype: bfloat16 | |
``` | |