pythainlp/wisesight_sentiment
Viewer • Updated • 26.7k • 761 • 14
How to use phoner45/wangchan-sentiment-thai-text-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="phoner45/wangchan-sentiment-thai-text-model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("phoner45/wangchan-sentiment-thai-text-model")
model = AutoModelForSequenceClassification.from_pretrained("phoner45/wangchan-sentiment-thai-text-model")This model is a fine-tuned version of airesearch/wangchanberta-base-att-spm-uncased on the None 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 | Accuracy |
|---|---|---|---|---|
| 0.6445 | 1.0 | 3822 | 0.6295 | 0.7309 |
| 0.5865 | 2.0 | 7644 | 0.5855 | 0.7430 |
| 0.5285 | 3.0 | 11466 | 0.5754 | 0.7455 |
| 0.5127 | 4.0 | 15288 | 0.5816 | 0.7492 |
| 0.4861 | 5.0 | 19110 | 0.5849 | 0.7535 |