lst-nectec/lst20
Updated • 151 • 6
How to use thanaphatt1/WangchanBERTa-LST20 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="thanaphatt1/WangchanBERTa-LST20") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("thanaphatt1/WangchanBERTa-LST20")
model = AutoModelForTokenClassification.from_pretrained("thanaphatt1/WangchanBERTa-LST20")This model is a fine-tuned version of pythainlp/thainer-corpus-v2-base-model on the lst20 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.1226 | 1.0 | 1978 | 0.1416 | 0.7414 | 0.7802 | 0.7603 | 0.9518 |
| 0.098 | 2.0 | 3956 | 0.1324 | 0.7602 | 0.7966 | 0.7780 | 0.9545 |
| 0.0895 | 3.0 | 5934 | 0.1293 | 0.7684 | 0.8120 | 0.7896 | 0.9565 |
Base model
pythainlp/thainer-corpus-v2-base-model