Instructions to use airesearch/wangchanberta-base-wiki-20210520-spm-finetune-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use airesearch/wangchanberta-base-wiki-20210520-spm-finetune-qa 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="airesearch/wangchanberta-base-wiki-20210520-spm-finetune-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("airesearch/wangchanberta-base-wiki-20210520-spm-finetune-qa") model = AutoModelForQuestionAnswering.from_pretrained("airesearch/wangchanberta-base-wiki-20210520-spm-finetune-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from airesearch/wangchanberta-base-wiki-20210520-spm-finetune-qa: direct link, hf CLI and curl.
- Browser
- Download file 416 MB
-
https://huggingface.co/airesearch/wangchanberta-base-wiki-20210520-spm-finetune-qa/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://airesearch/wangchanberta-base-wiki-20210520-spm-finetune-qa/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/airesearch/wangchanberta-base-wiki-20210520-spm-finetune-qa/resolve/main/pytorch_model.bin
416 MB
- Xet hash:
- 2bcff5caff03032fb1950a5bc2719f95fb95c2ea8a65d9c4ec0bd95fe2060fcf
- Size of remote file:
- 416 MB
- SHA256:
- 09f08c02c24bc62b8508bf7f67b82b1267ba1105eb63870369fba0da2b30a9f5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.