Text Classification
Transformers
ONNX
Safetensors
English
modernbert
consumer-complaints
cfpb
text-embeddings-inference
Instructions to use hasnainn19/complaintflow-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hasnainn19/complaintflow-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hasnainn19/complaintflow-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hasnainn19/complaintflow-classifier") model = AutoModelForSequenceClassification.from_pretrained("hasnainn19/complaintflow-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download metadata.json from hasnainn19/complaintflow-classifier: direct link, hf CLI and curl.
- Browser
- Download file 6.41 kB
-
https://huggingface.co/hasnainn19/complaintflow-classifier/resolve/main/metadata.json
- Command line
-
hf download hf://hasnainn19/complaintflow-classifier/metadata.json
-
curl -L -o metadata.json https://huggingface.co/hasnainn19/complaintflow-classifier/resolve/main/metadata.json
6.41 kB
| { | |
| "version": "classifier-v1", | |
| "created_at": "2026-11-20T08:56:03+00:00", | |
| "train_rows": 97407, | |
| "val_rows": 11932, | |
| "labels": [ | |
| "Checking or savings account | Closing an account", | |
| "Checking or savings account | Improper use of your report", | |
| "Checking or savings account | Incorrect information on your report", | |
| "Checking or savings account | Managing an account", | |
| "Checking or savings account | Opening an account", | |
| "Checking or savings account | Other", | |
| "Checking or savings account | Problem caused by your funds being low", | |
| "Checking or savings account | Problem with a company's investigation into an existing problem", | |
| "Checking or savings account | Problem with a lender or other company charging your account", | |
| "Credit card | Advertising and marketing, including promotional offers", | |
| "Credit card | Closing your account", | |
| "Credit card | Fees or interest", | |
| "Credit card | Getting a credit card", | |
| "Credit card | Improper use of your report", | |
| "Credit card | Incorrect information on your report", | |
| "Credit card | Other", | |
| "Credit card | Other features, terms, or problems", | |
| "Credit card | Problem when making payments", | |
| "Credit card | Problem with a company's investigation into an existing problem", | |
| "Credit card | Problem with a purchase shown on your statement", | |
| "Credit card | Trouble using your card", | |
| "Credit reporting or other personal consumer reports | Improper use of your report", | |
| "Credit reporting or other personal consumer reports | Incorrect information on your report", | |
| "Credit reporting or other personal consumer reports | Other", | |
| "Credit reporting or other personal consumer reports | Problem with a company's investigation into an existing problem", | |
| "Debt collection | Attempts to collect debt not owed", | |
| "Debt collection | Communication tactics", | |
| "Debt collection | Electronic communications", | |
| "Debt collection | False statements or representation", | |
| "Debt collection | Threatened to contact someone or share information improperly", | |
| "Debt collection | Took or threatened to take negative or legal action", | |
| "Debt collection | Written notification about debt", | |
| "Debt or credit management | Confusing or missing disclosures", | |
| "Debt or credit management | Didn't provide services promised", | |
| "Debt or credit management | Other", | |
| "Debt or credit management | Problem with customer service", | |
| "Money transfer, virtual currency, or money service | Confusing or missing disclosures", | |
| "Money transfer, virtual currency, or money service | Fraud or scam", | |
| "Money transfer, virtual currency, or money service | Managing, opening, or closing your mobile wallet account", | |
| "Money transfer, virtual currency, or money service | Money was not available when promised", | |
| "Money transfer, virtual currency, or money service | Other", | |
| "Money transfer, virtual currency, or money service | Other transaction problem", | |
| "Money transfer, virtual currency, or money service | Problem with customer service", | |
| "Money transfer, virtual currency, or money service | Trouble accessing funds in your mobile or digital wallet", | |
| "Money transfer, virtual currency, or money service | Unauthorized transactions or other transaction problem", | |
| "Money transfer, virtual currency, or money service | Unexpected or other fees", | |
| "Mortgage | Applying for a mortgage or refinancing an existing mortgage", | |
| "Mortgage | Closing on a mortgage", | |
| "Mortgage | Improper use of your report", | |
| "Mortgage | Incorrect information on your report", | |
| "Mortgage | Other", | |
| "Mortgage | Problem with a company's investigation into an existing problem", | |
| "Mortgage | Struggling to pay mortgage", | |
| "Mortgage | Trouble during payment process", | |
| "Payday loan, title loan, personal loan, or advance loan | Charged fees or interest you didn't expect", | |
| "Payday loan, title loan, personal loan, or advance loan | Confusing or missing disclosures", | |
| "Payday loan, title loan, personal loan, or advance loan | Getting the loan", | |
| "Payday loan, title loan, personal loan, or advance loan | Improper use of your report", | |
| "Payday loan, title loan, personal loan, or advance loan | Incorrect information on your report", | |
| "Payday loan, title loan, personal loan, or advance loan | Other", | |
| "Payday loan, title loan, personal loan, or advance loan | Problem when making payments", | |
| "Payday loan, title loan, personal loan, or advance loan | Problem with a company's investigation into an existing problem", | |
| "Payday loan, title loan, personal loan, or advance loan | Problem with additional add-on products or services", | |
| "Payday loan, title loan, personal loan, or advance loan | Problem with customer service", | |
| "Payday loan, title loan, personal loan, or advance loan | Problem with the payoff process at the end of the loan", | |
| "Payday loan, title loan, personal loan, or advance loan | Struggling to pay your loan", | |
| "Prepaid card | Other", | |
| "Prepaid card | Problem with a purchase or transfer", | |
| "Prepaid card | Trouble using the card", | |
| "Prepaid card | Unexpected or other fees", | |
| "Student loan | Dealing with your lender or servicer", | |
| "Student loan | Improper use of your report", | |
| "Student loan | Incorrect information on your report", | |
| "Student loan | Other", | |
| "Student loan | Problem with a company's investigation into an existing problem", | |
| "Student loan | Struggling to repay your loan", | |
| "Vehicle loan or lease | Getting a loan or lease", | |
| "Vehicle loan or lease | Improper use of your report", | |
| "Vehicle loan or lease | Incorrect information on your report", | |
| "Vehicle loan or lease | Managing the loan or lease", | |
| "Vehicle loan or lease | Other", | |
| "Vehicle loan or lease | Problem with a company's investigation into an existing problem", | |
| "Vehicle loan or lease | Problems at the end of the loan or lease", | |
| "Vehicle loan or lease | Repossession", | |
| "Vehicle loan or lease | Struggling to pay your loan" | |
| ], | |
| "settings": { | |
| "model_name": "answerdotai/ModernBERT-base", | |
| "max_length": 512, | |
| "batch_size": 16, | |
| "epochs": 2, | |
| "learning_rate": 3e-05, | |
| "weight_decay": 0.01, | |
| "warmup_share": 0.06, | |
| "seed": 42 | |
| }, | |
| "training_minutes": 67.2, | |
| "torch_version": "2.14.1+cu130", | |
| "transformers_version": "5.23.0" | |
| } | |