File size: 845 Bytes
0409a9e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
37
---
license: apache-2.0
tags:
- merge
- mergekit
- lazymergekit
- ise-uiuc/Magicoder-CL-7B
- meta-llama/Llama-2-7b-chat-hf
---

# LlamaMix-7B-slerp

LlamaMix-7B-slerp is a merge of the following models using [mergekit](https://github.com/cg123/mergekit):
* [ise-uiuc/Magicoder-CL-7B](https://huggingface.co/ise-uiuc/Magicoder-CL-7B)
* [meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf)

## 🧩 Configuration

```yaml
slices:
  - sources:
      - model: ise-uiuc/Magicoder-CL-7B
        layer_range: [0, 16]
      - model: meta-llama/Llama-2-7b-chat-hf
        layer_range: [0, 16]
merge_method: slerp
base_model: meta-llama/Llama-2-7b-chat-hf
parameters:
  t:
    - filter: self_attn
      value: [0, 0.2, 0.3, 0.5, 1]
    - filter: mlp
      value: [1, 0.1, 0.2, 0.3, 0]
    - value: 0.5
dtype: bfloat16

```