SantmanKT/hr-intent-dataset
Viewer • Updated • 132 • 7
| Metric | Value |
|---|---|
| Accuracy | 88.89% |
| Precision | 100% |
| Recall | 88.89% |
| Loss | 1.4586 |
text = "Share offer with Santhosh [context: {domain: HR, topic: onboarding, subject: offer letter}]" inputs = tokenizer(text, return_tensors='pt', truncation=True, padding=True) with torch.no_grad(): logits = model(**inputs).logits pred_id = logits.argmax(dim=1).item()
For best results, ensure your production inference pipeline preprocesses and tokenizes input exactly as done for the training data.
In summary:
You’ve followed the right steps for distilbert-based intent classification and your documentation—combined with this detailed evaluation/usage section—will be clear and informative for anyone using your model!
Base model
distilbert/distilbert-base-uncased