File size: 1,873 Bytes
7373a3a
 
 
 
 
 
 
 
 
 
 
7dcfd93
 
 
 
337c528
 
 
 
1a0a690
 
337c528
1a0a690
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a0514a5
 
 
 
 
 
 
c297289
a0514a5
 
 
 
 
 
 
 
 
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
---
language:
- hu
pipeline_tag: summarization
inference:
  parameters:
    num_beams: 5
    length_penalty: 2
    max_length: 128
    encoder_no_repeat_ngram_size: 4
    no_repeat_ngram_size: 3
datasets:
- SZTAKI-HLT/HunSum-1
metrics:
- rouge
---

# Model Card for mT5-small-HunSum-1

The mT5-small-HunSum-1 is a Hungarian abstractive summarization model, which was trained on the [SZTAKI-HLT/HunSum-1 dataset](https://huggingface.co/datasets/SZTAKI-HLT/HunSum-1).
The model is based on [google/mt5-small]([google/mt5-small](https://huggingface.co/google/mt5-small)).

## Intended uses & limitations

- **Model type:** Text Summarization
- **Language(s) (NLP):** Hungarian
- **Resource(s) for more information:**
  - [GitHub Repo](https://github.com/dorinapetra/summarization)
 
## Parameters

- **Batch Size:** 16
- **Learning Rate:** 5e-5
- **Weight Decay:** 0.01
- **Warmup Steps:** 3000
- **Epochs:** 10
- **no_repeat_ngram_size:** 3
- **num_beams:** 5
- **early_stopping:** False
- **encoder_no_repeat_ngram_size:** 4

## Results

| Metric        | Value                                       |
| :------------ | :------------------------------------------ |
| ROUGE-1       | 36.49                                       |
| ROUGE-2       | 9.50                                        |
| ROUGE-L       | 23.48                                       |


## Citation

If you use our model, please cite the following paper:
```
@inproceedings {HunSum-1,
    title = {{HunSum-1: an Abstractive Summarization Dataset for Hungarian}},
	booktitle = {XIX. Magyar Számítógépes Nyelvészeti Konferencia (MSZNY 2023)},
	year = {2023},
	publisher = {Szegedi Tudományegyetem, Informatikai Intézet},
	address = {Szeged, Magyarország},
	author = {Barta, Botond and Lakatos, Dorina and Nagy, Attila and Nyist, Mil{\'{a}}n Konor and {\'{A}}cs, Judit},
	pages = {231--243}
}
```