Text Classification
Transformers
Safetensors
English
roberta
customer-support
sentiment-analysis
lora
distillation
text-embeddings-inference
Instructions to use Grinding/ticketsense-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Grinding/ticketsense-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Grinding/ticketsense-sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Grinding/ticketsense-sentiment") model = AutoModelForSequenceClassification.from_pretrained("Grinding/ticketsense-sentiment") - Notebooks
- Google Colab
- Kaggle
TicketSense โ Sentiment Classifier
Fine-tuned distilroberta-base (82M params) for sentiment classification on real
customer-support tweets, with labels distilled from Claude Sonnet 4.6.
Part of the TicketSense project: a tiny specialized classifier that approximates frontier-LLM judgement at a fraction of the cost and latency.
Labels
positiveneutralnegative
Eval
- Macro F1 (validation): 0.7634
Training
- Base model:
distilroberta-base - Method: LoRA (PEFT), then merged
- LoRA rank: 16, alpha: 32
- LR: 0.0002, epochs: 4
- Train data: ~1400 real customer-support tweets, Claude-labeled
Use
from transformers import pipeline
clf = pipeline("text-classification", model="Grinding/ticketsense-sentiment")
clf("my card was charged twice and nobody has responded")
Limitations
- Trained on noisy real-world Twitter data โ picks up typos and slang but may also reflect their biases.
- Labels are themselves model-generated (Claude Sonnet 4.6) โ treat F1 vs Claude as agreement, not gold-standard truth.
- Downloads last month
- 19
Model tree for Grinding/ticketsense-sentiment
Base model
distilbert/distilroberta-base