Instructions to use mjpsm/coca-cola-contact-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mjpsm/coca-cola-contact-classifier with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mjpsm/coca-cola-contact-classifier", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Coca-Cola Contact Form Relevance Classifier
This repository contains a LoRA-fine-tuned text classification model designed to determine whether messages submitted through Coca-Colaβs contact form are business-relevant or not relevant.
The model is intended to support automated intake routing, helping prioritize legitimate sales, procurement, and partnership inquiries while filtering out consumer feedback, sponsorship requests, and unrelated messages.
π§ Model Overview
- Base model: DistilBERT (
distilbert-base-uncased) - Fine-tuning method: LoRA (Low-Rank Adaptation)
- Task: Binary text classification
- Labels:
relevantβ business-related inquiries (sales, procurement, distribution, vendors)not_relevantβ consumer feedback, sponsorships, complaints, general messages
- Training size: 300 examples (balanced)
- Evaluation: Held-out test set (80/20 split)
π― Intended Use
This model is designed for:
- Contact form triage
- Business inquiry routing
- Intake prioritization workflows
- Manual review reduction
It is not intended to:
- Replace human judgment
- Make contractual or legal decisions
- Classify sentiment or emotions
π Performance Summary
Evaluated on a held-out test set:
| Metric | Score |
|---|---|
| Accuracy | 98.3% |
| Precision | 96.9% |
| Recall | 100% |
| F1 Score | 98.4% |
Confusion Matrix: [28 1] [ 0 31]]
- The model prioritizes high recall, minimizing missed business inquiries.
- Borderline cases may be flagged for manual review using confidence thresholds.
β οΈ Important Notes on Confidence
The model intentionally outputs moderate confidence scores (typically 0.55β0.70) on ambiguous inputs.
This reflects realistic uncertainty and supports safe enterprise deployment.
Recommended usage:
- Confidence β₯ 0.70 β auto-route
- Confidence < 0.70 β manual review
Model tree for mjpsm/coca-cola-contact-classifier
Base model
distilbert/distilbert-base-uncased