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 # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="Pollawat/mt5-small-thai-qa-qg")# pip install -U transformers accelerate # 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
Download pytorch_model.bin from Pollawat/mt5-small-thai-qa-qg: direct link, hf CLI and curl.
- Browser
- Download file 1.2 GB
-
https://huggingface.co/Pollawat/mt5-small-thai-qa-qg/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Pollawat/mt5-small-thai-qa-qg/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Pollawat/mt5-small-thai-qa-qg/resolve/main/pytorch_model.bin
1.2 GB
- Xet hash:
- 55f5ab7b87308f1605335e1f573b6a3f88651a8c890ae12f3f39ba2dff6d79a5
- Size of remote file:
- 1.2 GB
- SHA256:
- bce67a5d26a775c3c52f1a35eec386ddc0e829d88d0aeca88b77597016f8da9f
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.