rootfs/user-satisfaction-dataset
Preview • Updated • 18
How to use llm-semantic-router/feedback-detector with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="llm-semantic-router/feedback-detector") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("llm-semantic-router/feedback-detector")
model = AutoModelForSequenceClassification.from_pretrained("llm-semantic-router/feedback-detector")A ModernBERT-based classifier that detects user satisfaction and dissatisfaction reasons from follow-up messages in conversational AI systems.
Follow-up messages alone contain sufficient signal for classification. No conversation context needed—just pass the user's response directly.
| Label | Description | Example |
|---|---|---|
SAT |
User is satisfied | "Thanks!", "Perfect", "Great!" |
NEED_CLARIFICATION |
User needs more explanation | "What do you mean?", "Can you explain?" |
WRONG_ANSWER |
System provided incorrect information | "No, that's wrong", "That's not right" |
WANT_DIFFERENT |
User wants alternative options | "Show me others", "What else?" |
Apache 2.0
Base model
answerdotai/ModernBERT-base