Text Classification
Transformers
Safetensors
Russian
bert
intent-classification
russian
aitu
text-embeddings-inference
Instructions to use govnejri/aitu-intent-rubert-base-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use govnejri/aitu-intent-rubert-base-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="govnejri/aitu-intent-rubert-base-cased")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("govnejri/aitu-intent-rubert-base-cased") model = AutoModelForSequenceClassification.from_pretrained("govnejri/aitu-intent-rubert-base-cased") - Notebooks
- Google Colab
- Kaggle
AITU Student Assistant — Intent Classifier (rubert-base-cased)
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).
Results (held-out test, 1,790 messages)
| 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).
Usage
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.
- Downloads last month
- 48
Model tree for govnejri/aitu-intent-rubert-base-cased
Base model
DeepPavlov/rubert-base-cased