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
Update README.md
Browse files11 unmodified lines121314151617181920212223241 unmodified line262728293031323334353637383940414243446 unmodified lines5152535455565758596061626311 unmodified lines- ARTeLab/mlsum-it---<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. --># summarization_mlsumThis model is a fine-tuned version of [gsarti/it5-base](https://huggingface.co/gsarti/it5-base) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 2.0190- Rouge1: 19.2854- Rouge2: 6.03921 unmodified line- Rougelsum: 16.616- Gen Len: 32.7635## Model descriptionMore information needed## Intended uses & limitationsMore information needed## Training and evaluation dataMore information needed## Training procedure### Training hyperparameters6 unmodified lines- lr_scheduler_type: linear- num_epochs: 4.0### Training results### Framework versions- Transformers 4.12.0.dev0- Pytorch 1.9.1+cu102- Datasets 1.12.1- Tokenizers 0.10.311 unmodified lines12131415161718192021221 unmodified line2425262728293031323334356 unmodified lines42434445464748495011 unmodified lines- ARTeLab/mlsum-it---# summarization_mlsumThis model is a fine-tuned version of [gsarti/it5-base](https://huggingface.co/gsarti/it5-base) on MLSum-it for Abstractive Summarization.It achieves the following results:- Loss: 2.0190- Rouge1: 19.2854- Rouge2: 6.03921 unmodified line- Rougelsum: 16.616- Gen Len: 32.7635## Usage```pythonfrom transformers import T5Tokenizer, T5ForConditionalGenerationtokenizer = T5Tokenizer.from_pretrained("ARTeLab/it5-summarization-mlsum")model = T5ForConditionalGeneration.from_pretrained("ARTeLab/it5-summarization-mlsum")```### Training hyperparameters6 unmodified lines- lr_scheduler_type: linear- num_epochs: 4.0### Framework versions- Transformers 4.12.0.dev0- Pytorch 1.9.1+cu102- Datasets 1.12.1- Tokenizers 0.10.3
README.md+10-23