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 files17 unmodified lines181920212223242526272817 unmodified linesIt achieves the following results:- Loss: 2.0190- Rouge1: 19.2854- Rouge2: 6.0392- Rougel: 16.4987- Rougelsum: 16.616- Gen Len: 32.7635## Usage```python17 unmodified lines181920212223242526272817 unmodified linesIt achieves the following results:- Loss: 2.0190- Rouge1: 19.3739- Rouge2: 5.9753- Rougel: 16.691- Rougelsum: 16.7862- Gen Len: 32.5268## Usage```python
README.md+5-5