Instructions to use Pollawat/mt5-small-thai-qa-qg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pollawat/mt5-small-thai-qa-qg with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Pollawat/mt5-small-thai-qa-qg")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Pollawat/mt5-small-thai-qa-qg") model = AutoModelForSeq2SeqLM.from_pretrained("Pollawat/mt5-small-thai-qa-qg", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K