Instructions to use clicknext/phayathaibert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use clicknext/phayathaibert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="clicknext/phayathaibert")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("clicknext/phayathaibert") model = AutoModelForMaskedLM.from_pretrained("clicknext/phayathaibert") - Inference
- Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("clicknext/phayathaibert")
model = AutoModelForMaskedLM.from_pretrained("clicknext/phayathaibert")Quick Links
PhayaThaiBERT base model
Demo on Google Colab
- Downloads last month
- 2,889
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="clicknext/phayathaibert")