54 lines
1.3 KiB
Markdown
54 lines
1.3 KiB
Markdown
|
|
---
|
||
|
|
base_model:
|
||
|
|
- Alelcv27/Llama3.1-8B-Code
|
||
|
|
- meta-llama/Llama-3.1-8B
|
||
|
|
- Alelcv27/Llama3.1-8B-Math-v2
|
||
|
|
library_name: transformers
|
||
|
|
tags:
|
||
|
|
- mergekit
|
||
|
|
- merge
|
||
|
|
|
||
|
|
---
|
||
|
|
# Llama3.1-8B-Breadcrumbs-Math-Code-v3
|
||
|
|
|
||
|
|
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 [Model Breadcrumbs](https://arxiv.org/abs/2312.06795) 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.1-8B-Code](https://huggingface.co/Alelcv27/Llama3.1-8B-Code)
|
||
|
|
* [Alelcv27/Llama3.1-8B-Math-v2](https://huggingface.co/Alelcv27/Llama3.1-8B-Math-v2)
|
||
|
|
|
||
|
|
### Configuration
|
||
|
|
|
||
|
|
The following YAML configuration was used to produce this model:
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
base_model: meta-llama/Llama-3.1-8B
|
||
|
|
dtype: float16
|
||
|
|
merge_method: breadcrumbs
|
||
|
|
modules:
|
||
|
|
default:
|
||
|
|
slices:
|
||
|
|
- sources:
|
||
|
|
- layer_range: [0, 32]
|
||
|
|
model: Alelcv27/Llama3.1-8B-Math-v2
|
||
|
|
parameters:
|
||
|
|
weight: 0.8
|
||
|
|
- layer_range: [0, 32]
|
||
|
|
model: Alelcv27/Llama3.1-8B-Code
|
||
|
|
parameters:
|
||
|
|
weight: 0.8
|
||
|
|
- layer_range: [0, 32]
|
||
|
|
model: meta-llama/Llama-3.1-8B
|
||
|
|
parameters:
|
||
|
|
density: 0.9
|
||
|
|
gamma: 0.01
|
||
|
|
normalize: 1.0
|
||
|
|
```
|