This is a RoBERTa model pre-trained on Thai Wikipedia texts for POS-tagging and dependency-parsing (using
goeswith for subwords), derived from
roberta-base-thai-syllable-upos.
1from transformers import pipeline
2nlp=pipeline("universal-dependencies","KoichiYasuoka/roberta-base-thai-syllable-ud-goeswith",trust_remote_code=True,aggregation_strategy="simple")
3print(nlp("หลายหัวดีกว่าหัวเดียว"))
Koichi Yasuoka:
Sequence-Labeling RoBERTa Model for Dependency-Parsing in Classical Chinese and Its Application to Vietnamese and Thai, ICBIR 2023: 8th International Conference on Business and Industrial Research (May 2023), pp.169-173.