Downloads · 30 days
8
14% of all-time downloads
uisikdag/turkish-sentiment-modernbert
turkish-sentiment-modernbert is a text classification model from uisikdag. Use it when you need a label for a piece of text. It is set up for transformers.
Downloads · 30 days
8
14% of all-time downloads
All-time downloads
59
Public
Parameters
150M
598 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors598 MB · 99%
From the Hugging Face model README
from transformers import pipeline
# Load model
classifier = pipeline("sentiment-analysis", model="uisikdag/turkish-sentiment-modernbert")
# Predict
texts = [
"Bu ürün gerçekten harika!",
"Kalitesiz bir ürün, paramı çöpe attım.",
"Fiyatına göre normal, idare eder."
]
for text in texts:
result = classifier(text)[0]
print(f"{text}")
print(f" → {result['label']} ({result['score']:.4f})\n")