Summarization
Transformers
PyTorch
Safetensors
Italian
t5
text2text-generation
text-generation-inference
Instructions to use ARTeLab/it5-summarization-mlsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ARTeLab/it5-summarization-mlsum with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="ARTeLab/it5-summarization-mlsum")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ARTeLab/it5-summarization-mlsum") model = AutoModelForSeq2SeqLM.from_pretrained("ARTeLab/it5-summarization-mlsum") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -47,4 +47,24 @@ The following hyperparameters were used during training:
|
|
| 47 |
- Transformers 4.12.0.dev0
|
| 48 |
- Pytorch 1.9.1+cu102
|
| 49 |
- Datasets 1.12.1
|
| 50 |
-
- Tokenizers 0.10.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
- Transformers 4.12.0.dev0
|
| 48 |
- Pytorch 1.9.1+cu102
|
| 49 |
- Datasets 1.12.1
|
| 50 |
+
- Tokenizers 0.10.3
|
| 51 |
+
|
| 52 |
+
# Citation
|
| 53 |
+
|
| 54 |
+
More details and results in [published work](https://www.mdpi.com/2078-2489/13/5/228)
|
| 55 |
+
|
| 56 |
+
```
|
| 57 |
+
@Article{info13050228,
|
| 58 |
+
AUTHOR = {Landro, Nicola and Gallo, Ignazio and La Grassa, Riccardo and Federici, Edoardo},
|
| 59 |
+
TITLE = {Two New Datasets for Italian-Language Abstractive Text Summarization},
|
| 60 |
+
JOURNAL = {Information},
|
| 61 |
+
VOLUME = {13},
|
| 62 |
+
YEAR = {2022},
|
| 63 |
+
NUMBER = {5},
|
| 64 |
+
ARTICLE-NUMBER = {228},
|
| 65 |
+
URL = {https://www.mdpi.com/2078-2489/13/5/228},
|
| 66 |
+
ISSN = {2078-2489},
|
| 67 |
+
ABSTRACT = {Text summarization aims to produce a short summary containing relevant parts from a given text. Due to the lack of data for abstractive summarization on low-resource languages such as Italian, we propose two new original datasets collected from two Italian news websites with multi-sentence summaries and corresponding articles, and from a dataset obtained by machine translation of a Spanish summarization dataset. These two datasets are currently the only two available in Italian for this task. To evaluate the quality of these two datasets, we used them to train a T5-base model and an mBART model, obtaining good results with both. To better evaluate the results obtained, we also compared the same models trained on automatically translated datasets, and the resulting summaries in the same training language, with the automatically translated summaries, which demonstrated the superiority of the models obtained from the proposed datasets.},
|
| 68 |
+
DOI = {10.3390/info13050228}
|
| 69 |
+
}
|
| 70 |
+
```
|