Views
No views yet
distilbert-base-uncased on ~43k labeled utterances plus ~2k
synthetic counter-examples.1from transformers import DistilBertTokenizerFast, DistilBertForSequenceClassification
2import torch
3
4model_id = "a1hmad23/mva-call-classifier-v5-1"
5tokenizer = DistilBertTokenizerFast.from_pretrained(model_id)
6model = DistilBertForSequenceClassification.from_pretrained(model_id)
7model.eval()
8
9text = "yes i was in an accident last month"
10inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=128)
11with torch.no_grad():
12 logits = model(**inputs).logits
13pred_id = logits.argmax(-1).item()
14print(model.config.id2label[pred_id])label2id.json and embedded in config.json.
Label semantics, precedence rules, and confusable-neighbor decision rules are
documented internally and are not redistributed with this model.N (residual / filler) has lower recall (~0.40) by design —
it absorbs ambiguous content that doesn't fit the other 38 categories.