|
---
|
|
language:
|
|
- en
|
|
base_model:
|
|
- meta-llama/Meta-Llama-3-8B
|
|
- meta-llama/Meta-Llama-3-8B-Instruct
|
|
library_name: transformers
|
|
tags:
|
|
- meta
|
|
- llama-3
|
|
- pytorch
|
|
- mergekit
|
|
- merge
|
|
license: llama3
|
|
license_link: LICENSE
|
|
pipeline_tag: text-generation
|
|
---
|
|
# Llama-3-Instruct-demi-merge-8B
|
|
|
|
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
|
|
|
This merge aimed to be a compromise between the base and instruct models, to enable future merging and/or fine-tuning by thawing out the instruct model while keeping some of its strengths.
|
|
|
|
Built with Meta Llama 3.
|
|
|
|
## Merge Details
|
|
### Merge Method
|
|
|
|
This model was merged using the SLERP merge method.
|
|
|
|
### Models Merged
|
|
|
|
The following models were included in the merge:
|
|
* [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B)
|
|
* [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct)
|
|
|
|
### Configuration
|
|
|
|
The following YAML configuration was used to produce this model:
|
|
|
|
```yaml
|
|
slices:
|
|
- sources:
|
|
- model: meta-llama/Meta-Llama-3-8B
|
|
layer_range: [0,32]
|
|
- model: meta-llama/Meta-Llama-3-8B-Instruct
|
|
layer_range: [0,32]
|
|
merge_method: slerp
|
|
base_model: meta-llama/Meta-Llama-3-8B
|
|
parameters:
|
|
t:
|
|
- value: 0.5
|
|
dtype: bfloat16
|
|
|
|
```
|
|
|