Downloads · 30 days
291
1% of all-time downloads
lunarlist/pos_thai
pos_thai is a token classification model from lunarlist. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
291
1% of all-time downloads
All-time downloads
43.4K
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin368 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of Geotrend/bert-base-th-cased on an unknown dataset. It achieves the following results on the evaluation set:
This model is train on thai pos_tag datasets to help with pos tagging in Thai language.
from transformers import AutoModelForTokenClassification, AutoTokenizer, TokenClassificationPipeline
model = AutoModelForTokenClassification.from_pretrained("lunarlist/pos_thai")
tokenizer = AutoTokenizer.from_pretrained("lunarlist/pos_thai")
pipeline = TokenClassificationPipeline(model=model, tokenizer=tokenizer, grouped_entities=True)
outputs = pipeline("ภาษาไทย ง่าย นิดเดียว")
print(outputs)
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.1124 | 1.0 | 7344 | 0.1048 | 0.9505 | 0.9478 | 0.9492 | 0.9670 |
| 0.0866 | 2.0 | 14688 | 0.0935 | 0.9525 | 0.9540 | 0.9533 | 0.9693 |