Views
No views yet
⚠️ Replace theXvalues below once you finalize the test metrics.
| Model | Accuracy | Macro F1 | Notes |
|---|---|---|---|
| Teacher (BERT Base) | 0.9374 | 0.9362 | ~110M params |
| Student (DistilBERT) | 0.93X | 0.93X | ~67M params, ~40% smaller & faster |
0.3 → more weight on hard labels2 → KL on softened logits10%AdamW
2e-50.01316 / 321from transformers import AutoTokenizer, AutoModelForSequenceClassification
2
3model_id = "saketgarodia1/bert-it-ticket-student"
4
5model = AutoModelForSequenceClassification.from_pretrained(model_id)
6tokenizer = AutoTokenizer.from_pretrained(model_id)
7
8text = "VPN not connecting to corporate WiFi"
9inputs = tokenizer(text, return_tensors="pt")
10
11with torch.no_grad():
12 logits = model(**inputs).logits
13
14pred_class_id = logits.argmax(dim=-1).item()
15print("Predicted class id:", pred_class_id)