Downloads · 30 days
10
16% of all-time downloads
hkucukali/berturk-tobacco-control
berturk-tobacco-control is a text classification model from hkucukali. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
This model is fine-tuned to identify tobacco-promoting tweets in Turkish.
Downloads · 30 days
10
16% of all-time downloads
All-time downloads
63
Public
Repo size
1.5 GB
Likes
0
Public
Click a slice to open those files.
.bin737 MB · 100%
From the Hugging Face model README
This model is fine-tuned to identify tobacco-promoting tweets in Turkish.
It is based on a BERT model pretrained in Turkish: BERTurk (uncased).
| Metric | Value |
|---|---|
| Accuracy | 81.7% |
| PPV (Precision) | 81.1% |
| Sensitivity (Recall) | 87.8% |
| Specificity | 73.9% |
| F1 Score | 84.3% |
| Pearson’s phi (MCC) | 0.63 |
| Cohen’s kappa | 0.62 |
from simpletransformers.classification import ClassificationModel
model = ClassificationModel(
'bert',
'hkucukali/berturk-tobacco-control',
use_cuda=False,
num_labels=2,
)
prediction, probability = model.predict([tweet_text.lower()])