File size: 920 Bytes
8e7693f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
license: apache-2.0
tags:
- merge
- mergekit
- meta-llama/Meta-Llama-3-8B
- meta-llama/Meta-Llama-3-8B-Instruct
---

# llama-3-base-instruct-slerp

llama-3-base-instruct-slerp is a merge of the following models using [mergekit](https://github.com/cg123/mergekit):
* [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

```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-Instruct
  parameters:
    t:
      - filter: self_attn
        value: [0, 0.5, 0.3, 0.7, 1]
      - filter: mlp
        value: [1, 0.5, 0.7, 0.3, 0]
      - value: 0.5
  dtype: bfloat16

```