Summarization
Transformers
PyTorch
JAX
Safetensors
Spanish
mt5
text2text-generation
sagemaker
spanish
Eval Results (legacy)
Instructions to use LeoCordoba/mt5-small-mlsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LeoCordoba/mt5-small-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="LeoCordoba/mt5-small-mlsum")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("LeoCordoba/mt5-small-mlsum") model = AutoModelForSeq2SeqLM.from_pretrained("LeoCordoba/mt5-small-mlsum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f6b9b76cea35e4dd5f2d8383a734b38f6888c5f880ed03474aff7649de42a09a
- Size of remote file:
- 1.2 GB
- SHA256:
- 22ca03b9859c22d15ca34cb02e8ad4fd970d62c34718a73abaffaa0bf125c7cd
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.