Instructions to use stanfordnlp/mrt5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stanfordnlp/mrt5-small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("stanfordnlp/mrt5-small", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature0beda2d
-
Update README.md
Verified signaturec481690 -
Update README.md
Verified signature57c4322 -
Update README.md
Verified signature70b9781 -
Update README.md
Verified signaturea8660d7 -
Update README.md
Verified signaturee598159 -
Update README.md
Verified signaturecc3f3f6 -
Update README.md
Verified signature0869b35 -
Upload MrT5.png
Verified signaturea084da2
-
Update modeling_mrt5.py
Verified signature09f3e2b -
Upload configuration_mrt5.py with huggingface_hub
Verified signature6e3412e -
Upload modeling_mrt5.py with huggingface_hub
Verified signature2493bc0 -
Upload modeling_t5.py with huggingface_hub
Verified signaturec85fcd4 -
Upload MrT5ForConditionalGeneration
Verified signatureb33d54d -
initial commit
Verified signature48e6181