File size: 1,186 Bytes
9d5ce95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
38
39
40
41
42
43
44
45
46
47
48
---
base_model:
- Salesforce/Llama-xLAM-2-8b-fc-r
- meta-llama/Llama-3.1-8B-Instruct
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 [SLERP](https://en.wikipedia.org/wiki/Slerp) merge method.

### Models Merged

The following models were included in the merge:
* [Salesforce/Llama-xLAM-2-8b-fc-r](https://huggingface.co/Salesforce/Llama-xLAM-2-8b-fc-r)
* [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
merge_method: slerp
base_model: meta-llama/Llama-3.1-8B-Instruct
dtype: bfloat16

models:
  - model: meta-llama/Llama-3.1-8B-Instruct
  - model: Salesforce/Llama-xLAM-2-8b-fc-r

# interpolation factors: 0→pure base_model, 1→pure second model
parameters:
  t:
    - filter: self_attn
      value: 0.7    # favor xLAM‑2 in attention
    - filter: mlp
      value: 0.3    # favor Instruct in MLP
    - value: 0.5    # all other layers at 50/50
```