PolyAI/banking77
Updated β’ 19.1k β’ 76
How to use DarioFrK/sift-banking77-modernbert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="DarioFrK/sift-banking77-modernbert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("DarioFrK/sift-banking77-modernbert")
model = AutoModelForSequenceClassification.from_pretrained("DarioFrK/sift-banking77-modernbert")Fine-tuned answerdotai/ModernBERT-base on PolyAI/banking77
(77 fine-grained banking intents). Part of Sift, a query-triage project
showing a small fine-tuned model beats a zero-shot open 7B instruct LLM
(Mistral-7B-Instruct, run locally and 4-bit quantised) on cost, latency, and
privacy for narrow, high-volume classification.
| Metric | Score |
|---|---|
| Accuracy | 0.9353 |
| Macro-F1 | 0.9353 |
| Median single-query latency | 22.47 ms (Tesla T4) |
The 77 intents are mapped to six routing teams: Cards, Payments, Accounts, Fraud/Security, Onboarding, General.
from transformers import pipeline
clf = pipeline("text-classification", model="DarioFrK/sift-banking77-modernbert", top_k=5)
clf("My card was swallowed by the ATM")
answerdotai/ModernBERT-basePolyAI/banking77Base model
answerdotai/ModernBERT-base