|
--- |
|
language: |
|
- "th" |
|
tags: |
|
- "thai" |
|
- "pos" |
|
- "dependency-parsing" |
|
base_model: goldfish-models/tha_thai_1000mb |
|
datasets: |
|
- "universal_dependencies" |
|
license: "apache-2.0" |
|
pipeline_tag: "token-classification" |
|
widget: |
|
- text: "หลายหัวดีกว่าหัวเดียว" |
|
--- |
|
|
|
# goldfish-gpt2-thai-ud-causal |
|
|
|
## Model Description |
|
|
|
This is a GPT-2 model pre-trained for POS-tagging and dependency-parsing, derived from [tha_thai_1000mb](https://huggingface.co/goldfish-models/tha_thai_1000mb) refined for [Thai Universal Dependency Treebank](https://github.com/nlp-chula/TUD). |
|
|
|
## How to Use |
|
|
|
```py |
|
from transformers import pipeline |
|
nlp=pipeline("universal-dependencies","KoichiYasuoka/goldfish-gpt2-thai-ud-causal",trust_remote_code=True) |
|
print(nlp("หลายหัวดีกว่าหัวเดียว")) |
|
``` |
|
|
|
|