Downloads · 30 days
29
12% of all-time downloads
ytu-ce-cosmos/modernbert-tr-massive-intent
modernbert-tr-massive-intent is a text classification model from ytu-ce-cosmos. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
<p align="center" <img src="assets/logo.webp" width="20%" alt="ModernBERT-TR MASSIVE intent" / </p <h1 align="center"ModernBERT-TR MASSIVE Intent</h1
Downloads · 30 days
29
12% of all-time downloads
All-time downloads
233
Public
Parameters
149M
1.3 GB on disk
Likes
2
Public
Click a slice to open those files.
.onnx748 MB · 56%
From the Hugging Face model README
A 150M-parameter Turkish classifier for the 60 intent labels in MASSIVE 1.1.
Our model scores 88.21 +/- 0.16% accuracy and 85.43 +/- 0.14% macro-F1 on the MASSIVE 1.1 tr-TR test set. The released checkpoint scores 88.33% accuracy and 85.69% macro-F1.
The quantized int8 version scores 88.33% accuracy and 85.92% macro-F1.
from transformers import pipeline
classify = pipeline(
"text-classification",
model="ytu-ce-cosmos/modernbert-tr-massive-intent",
)
classify("yarın sabah yedi için alarm kur")
We finetune ytu-ce-cosmos/modernbert-tr-base jointly with a mean-pooled 60-class intent head and a 111-class slot head; this repository contains the exported intent head. The human-localized MASSIVE 1.1 Turkish split has 11,514 training, 2,033 validation, and 2,974 test utterances. We use encoder learning rate 5e-5, head learning rate 1e-4, batch size 64, 15 epochs, linear warmup and decay, weight decay 0.01, intent label smoothing 0.1, and five seeds.
Standalone binaries are available in the encoderfile repo.
Apache-2.0. The MASSIVE dataset is distributed under CC BY 4.0.