Instructions to use Pollawat/mt5-small-thai-qg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pollawat/mt5-small-thai-qg with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Pollawat/mt5-small-thai-qg") model = AutoModelForSeq2SeqLM.from_pretrained("Pollawat/mt5-small-thai-qg", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#2 opened over 3 years ago
by
SFconvertbot
Upload README.md with huggingface_hub
#1 opened about 4 years ago
by
lbourdois