Views
No views yet

negative, neutral, or positive sentiment toward that aspect.1from transformers import pipeline
2
3classify = pipeline(
4 "text-classification",
5 model="ytu-ce-cosmos/modernbert-tr-absa-polarity",
6)
7classify({"text": "Kargo hızlıydı ama ürün kötüydü.", "text_pair": "ürün"})ytu-ce-cosmos/modernbert-tr-base with mean pooling and a three-label head using translated M-ABSA pairs, 11,470 native Turkish clothing-review rows, and 17,186 usable pairs from teacher-labeled Turkish reviews. We use learning rate 3e-5, batch size 32, 15 epochs, linear warmup and decay, weight decay 0.01, label smoothing 0.1, and five seeds.