|
Download README.md from Solayman-Sameh/consumer-complaint-classifier: direct link, hf CLI and curl.
- Browser
- Download file 1.7 kB
-
https://huggingface.co/Solayman-Sameh/consumer-complaint-classifier/resolve/main/README.md
- Command line
-
hf download hf://Solayman-Sameh/consumer-complaint-classifier/README.md
-
curl -L -o README.md https://huggingface.co/Solayman-Sameh/consumer-complaint-classifier/resolve/main/README.md
1.7 kB
metadata
language:
- en
license: mit
tags:
- text-classification
- distilbert
- pytorch
- financial-services
- complaint-classification
metrics:
- accuracy
- f1
datasets:
- selener/consumer-complaint-database
pipeline_tag: text-classification
widget:
- text: I have noticed unauthorized charges on my credit card that I never made.
- text: >-
Equifax has incorrect delinquency marks on my credit report that do not
belong to me.
- text: >-
Debt collectors keep calling my workplace harassing me about a debt that
was discharged.
- text: >-
My mortgage servicer misapplied my monthly escrow payment and charged
illegal late fees.
- text: >-
The bank locked my checking account and I cannot access my direct deposit
salary.
💳 Consumer Complaint Classification — DistilBERT
This is the fine-tuned DistilBERT model for automated multi-class classification of consumer financial complaints across five resolution categories:
credit_card(Credit card or prepaid card)credit_reporting(Credit reporting, credit repair services, or other personal consumer reports)debt_collection(Debt collection)mortgages_and_loans(Mortgage, payday loan, title loan, or personal loan)retail_banking(Checking or savings account, money transfers, or virtual currency)
Performance
- Test Accuracy: 85.43%
- Test Macro F1: 0.8467
- Test Loss: 0.4215
- CPU Median Latency: ~28 ms
Repository
Complete code, Gradio web app, training reproduction, and evaluation notebooks are available at: GitHub: Solayman-Sameh/consumer-complaint-classification