Instructions to use monsoon-nlp/bert-base-thai with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use monsoon-nlp/bert-base-thai with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="monsoon-nlp/bert-base-thai")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("monsoon-nlp/bert-base-thai") model = AutoModel.from_pretrained("monsoon-nlp/bert-base-thai", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (e1209c8eece524d383d137208445d75fcba6314d) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>bab9ecc
-
Usable example code
9b5ca3c
-
upload flax model
8ce6519 -
allow flax
56968e0
-
explain pre-tokenization
65a4e18 -
vocab adjust
8ff78b2
-
add sentence spacer
7a8f3a6 -
test space-start
4e3af89 -
test line shift
23cb0bc -
test line shift
56b31bf
-
tag language
2626c53 -
Thai post-sentence-segment model from github.com/ThAIKeras
296a0a9 -
initial commit
7528dad