File size: 1,933 Bytes
f87fd4a
 
 
 
 
 
 
 
ef6ab66
 
 
f87fd4a
e5e5316
f87fd4a
 
 
e5e5316
 
 
 
 
 
 
 
 
 
 
 
f87fd4a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ef6ab66
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
base_model:
- swap-uniba/LLaMAntino-3-ANITA-8B-Inst-DPO-ITA
- DeepMount00/Llama-3-8b-Ita
library_name: transformers
tags:
- mergekit
- merge
license: llama3
language:
- it
---
# Llama-3-8b-ita-slerp

This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).

I tried to merge two of the best Italian LLMs using Mergekit. The results are acceptable, but I could not improve on the best existing model.

## Evaluation

For a detailed comparison of model performance, check out the [Leaderboard for Italian Language Models](https://huggingface.co/spaces/FinancialSupport/open_ita_llm_leaderboard).

Here's a breakdown of the performance metrics:

| Metric                      | hellaswag_it acc_norm | arc_it acc_norm | m_mmlu_it 5-shot acc | Average |
|:----------------------------|:----------------------|:----------------|:---------------------|:--------|
| **Accuracy Normalized**     | 0.6879               | 0.5714        | 0.5732              | 0.6109  |

## Merge Details
### Merge Method

This model was merged using the SLERP merge method.

### Models Merged

The following models were included in the merge:
* [swap-uniba/LLaMAntino-3-ANITA-8B-Inst-DPO-ITA](https://huggingface.co/swap-uniba/LLaMAntino-3-ANITA-8B-Inst-DPO-ITA)
* [DeepMount00/Llama-3-8b-Ita](https://huggingface.co/DeepMount00/Llama-3-8b-Ita)

### Configuration

The following YAML configuration was used to produce this model:

```yaml

slices:
- sources:
  - model: swap-uniba/LLaMAntino-3-ANITA-8B-Inst-DPO-ITA
    layer_range:
    - 0
    - 32
  - model: DeepMount00/Llama-3-8b-Ita
    layer_range:
    - 0
    - 32
merge_method: slerp
base_model: swap-uniba/LLaMAntino-3-ANITA-8B-Inst-DPO-ITA
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

```