KoichiYasuoka's picture
initial release
c580c74
|
raw
history blame
1.21 kB
metadata
language:
  - th
tags:
  - thai
  - token-classification
  - pos
  - dependency-parsing
base_model: KoichiYasuoka/camembert-thai-base
datasets:
  - universal_dependencies
license: apache-2.0
pipeline_tag: token-classification
widget:
  - text: หลายหัวดีกว่าหัวเดียว

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