A 150M-parameter Turkish token classifier that extracts opinion targets with
O
,
B-ASP
, and
I-ASP
labels.
Results
Our model scores 64.09 +/- 0.30% exact entity-span F1 on the
ABSA-TR
test set. The released checkpoint scores 69.46% on the translated M-ABSA Turkish test set.
The quantized int8 version scores 61.30% on ABSA-TR test set.
Usage
from transformers import pipeline
extract = pipeline(
"token-classification",
model="ytu-ce-cosmos/modernbert-tr-absa-extraction",
aggregation_strategy="first",
)
extract("Kargo hızlıydı ama ürün kötüydü.")
You can call the tokenizer with
is_split_into_words=True
to allow the tokenizer to split the sentence into words, and keep the first WordPiece label for each word.
Training
We finetune
ytu-ce-cosmos/modernbert-tr-base
using about 8.7k translated M-ABSA records and 11,993 teacher-labeled data points. We use learning rate
4e-5
, batch size 32, 15 epochs, linear warmup and decay, no weight decay, and first-subword alignment.
modernbert-tr-absa-extraction huggingface.co is an AI model on huggingface.co that provides modernbert-tr-absa-extraction's model effect (), which can be used instantly with this ytu-ce-cosmos modernbert-tr-absa-extraction model. huggingface.co supports a free trial of the modernbert-tr-absa-extraction model, and also provides paid use of the modernbert-tr-absa-extraction. Support call modernbert-tr-absa-extraction model through api, including Node.js, Python, http.
modernbert-tr-absa-extraction huggingface.co is an online trial and call api platform, which integrates modernbert-tr-absa-extraction's modeling effects, including api services, and provides a free online trial of modernbert-tr-absa-extraction, you can try modernbert-tr-absa-extraction online for free by clicking the link below.
ytu-ce-cosmos modernbert-tr-absa-extraction online free url in huggingface.co:
modernbert-tr-absa-extraction is an open source model from GitHub that offers a free installation service, and any user can find modernbert-tr-absa-extraction on GitHub to install. At the same time, huggingface.co provides the effect of modernbert-tr-absa-extraction install, users can directly use modernbert-tr-absa-extraction installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
modernbert-tr-absa-extraction install url in huggingface.co: