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, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload modeling_t5.py with huggingface_hub
Browse files- modeling_t5.py +0 -0
modeling_t5.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|