50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
|
|
---
|
||
|
|
base_model:
|
||
|
|
- meta-llama/Llama-2-7b-hf
|
||
|
|
- meta-llama/CodeLlama-7b-Instruct-hf
|
||
|
|
- meta-llama/CodeLlama-7b-Python-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 [DARE](https://arxiv.org/abs/2311.03099) [TIES](https://arxiv.org/abs/2306.01708) 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:
|
||
|
|
* [meta-llama/CodeLlama-7b-Instruct-hf](https://huggingface.co/meta-llama/CodeLlama-7b-Instruct-hf)
|
||
|
|
* [meta-llama/CodeLlama-7b-Python-hf](https://huggingface.co/meta-llama/CodeLlama-7b-Python-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-Python-hf
|
||
|
|
parameters:
|
||
|
|
density: 0.55
|
||
|
|
weight: 0.5
|
||
|
|
- model: meta-llama/CodeLlama-7b-Instruct-hf
|
||
|
|
parameters:
|
||
|
|
density: 0.65
|
||
|
|
weight: 1.0
|
||
|
|
merge_method: dare_ties
|
||
|
|
base_model: meta-llama/Llama-2-7b-hf
|
||
|
|
parameters:
|
||
|
|
int8_mask: true
|
||
|
|
dtype: bfloat16
|
||
|
|
|
||
|
|
```
|