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:
# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("stanfordnlp/mrt5-small", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_from_model_config": true, | |
| "decoder_start_token_id": 0, | |
| "eos_token_id": 1, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.39.1" | |
| } | |