Downloads · 30 days
9
12% of all-time downloads
govnejri/aitu-intent-rubert-base-cased
aitu-intent-rubert-base-cased is a text classification model from govnejri. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
Russian intent classifier for an AITU student-assistant chatbot. Maps a student message to one of 45 intents across 8 domains (schedule, assignments, grades, exams, documents, payments, campus, general).
Downloads · 30 days
9
12% of all-time downloads
All-time downloads
76
Public
Parameters
178M
712 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors712 MB · 99%
From the Hugging Face model README
Russian intent classifier for an AITU student-assistant chatbot. Maps a student message to one of 45 intents across 8 domains (schedule, assignments, grades, exams, documents, payments, campus, general).
| metric | value |
|---|---|
| macro-F1 | 0.964 |
| accuracy | 0.963 |
| weighted-F1 | 0.963 |
Fine-tuned from DeepPavlov/rubert-base-cased on 17,898 cleaned messages
(stratified 80/10/10, class-weighted cross-entropy, 6 epochs).
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
m = "govnejri/aitu-intent-rubert-base-cased"
tok = AutoTokenizer.from_pretrained(m)
model = AutoModelForSequenceClassification.from_pretrained(m)
text = "когда дедлайн оплаты за обучение"
enc = tok(text, return_tensors="pt", truncation=True, max_length=96)
probs = torch.softmax(model(**enc).logits, -1)[0]
top = int(probs.argmax())
print(model.config.id2label[top], float(probs[top])) # payment_deadline ~0.95
Educational Practice 2025-2026 project. Trained on synthetic data — validate on real traffic before production.