Instructions to use nbroad/mt5-small-qgen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nbroad/mt5-small-qgen with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("nbroad/mt5-small-qgen") model = AutoModelForSeq2SeqLM.from_pretrained("nbroad/mt5-small-qgen") - Notebooks
- Google Colab
- Kaggle
i am trying to finetune the mt5-base model using the flax question-answering script
#4 opened over 2 years ago
by
preethiprabha2023