File size: 1,212 Bytes
5b12b0e
 
 
 
 
 
 
 
da92c99
5b12b0e
 
 
 
 
 
 
 
 
 
 
 
9309bc0
5b12b0e
 
 
 
 
 
 
 
 
93f7e8e
 
a40ea28
93f7e8e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
language:
- "th"
tags:
- "thai"
- "token-classification"
- "pos"
- "dependency-parsing"
base_model: KoichiYasuoka/roberta-base-thai-spm-upos
datasets:
- "universal_dependencies"
license: "apache-2.0"
pipeline_tag: "token-classification"
widget:
- text: "หลายหัวดีกว่าหัวเดียว"
---

# roberta-base-thai-spm-ud-goeswith

## Model Description

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-spm-upos](https://huggingface.co/KoichiYasuoka/roberta-base-thai-spm-upos).

## How to Use

```py
from transformers import pipeline
nlp=pipeline("universal-dependencies","KoichiYasuoka/roberta-base-thai-spm-ud-goeswith",trust_remote_code=True,aggregation_strategy="simple")
print(nlp("หลายหัวดีกว่าหัวเดียว"))
```

## Reference

Koichi Yasuoka: [Sequence-Labeling RoBERTa Model for Dependency-Parsing in Classical Chinese and Its Application to Vietnamese and Thai](https://doi.org/10.1109/ICBIR57571.2023.10147628), ICBIR 2023: 8th International Conference on Business and Industrial Research (May 2023), pp.169-173.