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")# pip install -U transformers accelerate # 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
Download pytorch_model.bin from LeoCordoba/mt5-small-mlsum: direct link, hf CLI and curl.
- Browser
- Download file 1.2 GB
-
https://huggingface.co/LeoCordoba/mt5-small-mlsum/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://LeoCordoba/mt5-small-mlsum/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/LeoCordoba/mt5-small-mlsum/resolve/main/pytorch_model.bin
1.2 GB
- Xet hash:
- 550059230b0c88c82394359b718bd6b4fd4b68a2c3a7ac824f20dde065af932d
- Size of remote file:
- 1.2 GB
- SHA256:
- 4685a5d2dd964b1d4b17aa216f5c93a518328e5a4040b8a1a52eb3cd105addc9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.