Summarization
Transformers
PyTorch
Safetensors
Italian
t5
text2text-generation
text-generation-inference
Run this model with HF Jobs
Run ARTeLab/it5-summarization-mlsum on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ARTeLab/it5-summarization-mlsum. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ARTeLab/it5-summarization-mlsum on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ARTeLab/it5-summarization-mlsum") model = AutoModelForSeq2SeqLM.from_pretrained("ARTeLab/it5-summarization-mlsum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add evaluation results on the samsum config and test split of samsum
#2
by autoevaluator HF Staff - opened
6 unmodified lines789101112136 unmodified lines- rougemodel-index:- name: summarization_mlsumresults: []datasets:- ARTeLab/mlsum-it---6 unmodified lines789101112131415161718192021222324252627282930313233343536373839404142434445466 unmodified lines- rougemodel-index:- name: summarization_mlsumresults:- task:type: summarizationname: Summarizationdataset:name: samsumtype: samsumconfig: samsumsplit: testmetrics:- name: ROUGE-1type: rougevalue: 14.0255verified: true- name: ROUGE-2type: rougevalue: 3.2328verified: true- name: ROUGE-Ltype: rougevalue: 12.2979verified: true- name: ROUGE-LSUMtype: rougevalue: 13.1072verified: true- name: losstype: lossvalue: 2.0128023624420166verified: true- name: gen_lentype: gen_lenvalue: 18.9939verified: truedatasets:- ARTeLab/mlsum-it---
README.md+34-1