camembert-thai-base-upos
Model Description
This is a CamemBERT model pre-trained on Thai texts for POS-tagging and dependency-parsing, derived from camembert-thai-base. Every word is tagged by UPOS (Universal Part-Of-Speech).
How to Use
from transformers import pipeline
nlp=pipeline("token-classification","KoichiYasuoka/camembert-thai-base-upos",aggregation_strategy="simple")
print(nlp("หลายหัวดีกว่าหัวเดียว"))
or
import esupar
nlp=esupar.load("KoichiYasuoka/camembert-thai-base-upos")
print(nlp("หลายหัวดีกว่าหัวเดียว"))
See Also
esupar: Tokenizer POS-tagger and Dependency-parser with BERT/RoBERTa/DeBERTa models
- Downloads last month
- 30