File size: 2,029 Bytes
e6a3971
 
 
 
 
 
 
 
 
11b5dec
 
 
e6a3971
1e83c67
e6a3971
 
 
1e83c67
 
 
 
 
 
 
 
 
 
 
 
e6a3971
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
base_model:
- swap-uniba/LLaMAntino-3-ANITA-8B-Inst-DPO-ITA
- DeepMount00/Llama-3-8b-Ita
- meta-llama/Meta-Llama-3-8B
library_name: transformers
tags:
- mergekit
- merge
license: llama3
language:
- it
---
# Llama-3-8b-ita-ties

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.6621               | 0.5535        | 0.5749              | 0.5968  |

## Merge Details
### Merge Method

This model was merged using the [TIES](https://arxiv.org/abs/2306.01708) merge method using [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) as a base.

### 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

models:
  - model: meta-llama/Meta-Llama-3-8B
    # no parameters necessary for base model
  - model: swap-uniba/LLaMAntino-3-ANITA-8B-Inst-DPO-ITA
    parameters:
      density: 0.5
      weight: 0.6
  - model: DeepMount00/Llama-3-8b-Ita
    parameters:
      density: 0.5
      weight: 0.3
merge_method: ties
base_model: meta-llama/Meta-Llama-3-8B
parameters:
  normalize: true
dtype: bfloat16

```