Turkish Sentiment Analysis ๐๐๐ ๐น๐ท
Collection
6 items
โข
Updated
This model is a fine-tuned version of mBERT on the TRSAv1 dataset, a labeled collection of Turkish e-commerce reviews categorized into positive, neutral, and negative sentiments. For more details about the dataset, methodology, and experiments, you can refer to the corresponding research paper.
You can use the model directly with ๐ค Transformers:
from transformers import pipeline
classifier = pipeline("text-classification", model="incidelen/bert-base-multilingual-turkish-sentiment-analysis-cased")
result = classifier("รrรผn รงok kaliteli, paketleme harikaydฤฑ. Kesinlikle tavsiye ederim!")
print(result)
If you use this model in your research or application, please cite the following paper:
@article{incidelen15sentiment,
title={Sentiment Analysis in Turkish Using Language Models: A Comparative Study},
author={{\.I}ncidelen, Mert and Aydo{\u{g}}an, Murat},
journal={European Journal of Technique (EJT)},
volume={15},
number={1},
pages={68--74},
publisher={Hibetullah KILI{\c{C}}}
}
The TRSAv1 dataset includes 150,000 Turkish product reviews from e-commerce platforms. It is balanced across three sentiment classes:
Sentiment | Count |
---|---|
Negative | 50,000 |
Neutral | 50,000 |
Positive | 50,000 |
TOTAL | 150,000 |
Accuracy (%) | Precision (%) | Recall (%) | F1 Score (%) |
---|---|---|---|
81.86 | 82.00 | 81.86 | 81.89 |
Sentiment | Precision (%) | Recall (%) | F1 Score (%) |
---|---|---|---|
Negative | 87.79 | 82.36 | 84.99 |
Neutral | 74.20 | 75.69 | 74.94 |
Positive | 84.03 | 87.54 | 85.75 |
Special thanks to maydogan for their contributions and support.
Base model
google-bert/bert-base-multilingual-cased