winvoker/turkish-sentiment-analysis-dataset
Viewer • Updated • 490k • 1.04k • 47
How to use dexter231/turkish-sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="dexter231/turkish-sentiment") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("dexter231/turkish-sentiment")
model = AutoModelForSequenceClassification.from_pretrained("dexter231/turkish-sentiment")This model is a fine-tuned version of dbmdz/bert-base-turkish-cased on an unknown 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 | F1 Macro | F1 Weighted | Precision Macro | Recall Macro |
|---|---|---|---|---|---|---|---|---|
| 0.2356 | 0.0290 | 200 | 0.1424 | 0.9503 | 0.9151 | 0.9497 | 0.9205 | 0.9102 |
| 0.1228 | 0.0581 | 400 | 0.1106 | 0.9580 | 0.9249 | 0.9570 | 0.9389 | 0.9130 |
| 0.12 | 0.0871 | 600 | 0.1209 | 0.9589 | 0.9233 | 0.9570 | 0.9529 | 0.9020 |
| 0.0965 | 0.1162 | 800 | 0.1099 | 0.9628 | 0.9344 | 0.9622 | 0.9464 | 0.9240 |
| 0.1107 | 0.1452 | 1000 | 0.0900 | 0.9676 | 0.9427 | 0.9671 | 0.9519 | 0.9345 |
| 0.0957 | 0.1743 | 1200 | 0.0925 | 0.9662 | 0.9426 | 0.9664 | 0.9385 | 0.9470 |
| 0.0978 | 0.2033 | 1400 | 0.0866 | 0.9686 | 0.9442 | 0.9681 | 0.9537 | 0.9358 |
| 0.0911 | 0.2324 | 1600 | 0.0873 | 0.9685 | 0.9442 | 0.9680 | 0.9525 | 0.9367 |
Base model
dbmdz/bert-base-turkish-cased