generated_from_trainer

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

pos_thai

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:

Model description

This model is train on thai pos_tag datasets to help with pos tagging in Thai language.

Example

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)

Training hyperparameters

The following hyperparameters were used during training:

Training results

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

Framework versions