Huamin commited on
Commit
3bb9e3d
·
verified ·
1 Parent(s): e6e28e0

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - text-classification
7
+ tags:
8
+ - conversational-ai
9
+ - user-satisfaction
10
+ - dissatisfaction
11
+ - feedback-classification
12
+ size_categories:
13
+ - 10K<n<100K
14
+ ---
15
+
16
+ # User Satisfaction Classification Dataset
17
+
18
+ A dataset for training classifiers to detect user satisfaction and dissatisfaction reasons from follow-up messages in conversational AI systems.
19
+
20
+ ## Dataset Description
21
+
22
+ This dataset contains user follow-up messages labeled with satisfaction status and dissatisfaction reasons. The key insight is that **follow-up messages alone contain sufficient signal** for classification—no conversation context is needed.
23
+
24
+ ## Labels
25
+
26
+ | Label | Description | Count (Train) |
27
+ |-------|-------------|---------------|
28
+ | `SAT` | User is satisfied | ~3,350 |
29
+ | `NEED_CLARIFICATION` | User needs more explanation | ~3,350 |
30
+ | `WRONG_ANSWER` | System provided incorrect information | ~3,350 |
31
+ | `WANT_DIFFERENT` | User wants alternative options | ~3,350 |
32
+
33
+ ## Dataset Structure
34
+
35
+ ```
36
+ train.jsonl # 13,422 training examples
37
+ val.jsonl # 1,494 validation examples
38
+ adversarial_test.jsonl # 103 adversarial test examples
39
+ ```
40
+
41
+ ### Data Format
42
+
43
+ Each line is a JSON object:
44
+ ```json
45
+ {"text": "What do you mean by that?", "label_name": "NEED_CLARIFICATION"}
46
+ {"text": "Thanks, that's perfect!", "label_name": "SAT"}
47
+ {"text": "No, that's incorrect", "label_name": "WRONG_ANSWER"}
48
+ {"text": "Show me other options", "label_name": "WANT_DIFFERENT"}
49
+ ```
50
+
51
+ ## Usage
52
+
53
+ ```python
54
+ from datasets import load_dataset
55
+
56
+ dataset = load_dataset("rootfs/user-satisfaction-dataset")
57
+
58
+ # Access splits
59
+ train = dataset["train"]
60
+ val = dataset["validation"]
61
+ test = dataset["test"]
62
+
63
+ # Example
64
+ print(train[0])
65
+ # {'text': 'What do you mean?', 'label_name': 'NEED_CLARIFICATION'}
66
+ ```
67
+
68
+ ## Data Quality
69
+
70
+ - **Balanced classes**: Equal representation across all 4 labels
71
+ - **Normalized text**: 15-100 characters, no format shortcuts
72
+ - **100% unique**: No duplicate examples
73
+ - **Adversarial test set**: Manually curated challenging examples
74
+
75
+ ## Source
76
+
77
+ Derived from public conversational AI datasets:
78
+ - MIMICS (Microsoft)
79
+ - SGD (Google)
80
+ - INSCIT
81
+
82
+ ## Associated Model
83
+
84
+ Pre-trained classifier: [rootfs/dissat-4class](https://huggingface.co/rootfs/dissat-4class)
85
+
86
+ ## Citation
87
+
88
+ ```bibtex
89
+ @dataset{user_satisfaction_2024,
90
+ title={User Satisfaction Classification Dataset},
91
+ author={Semantic Router Project},
92
+ year={2024},
93
+ url={https://huggingface.co/datasets/rootfs/user-satisfaction-dataset}
94
+ }
95
+ ```
96
+
97
+ ## License
98
+
99
+ Apache 2.0
100
+
adversarial_test.jsonl ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"text": "If you don't mind, could you explain again?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_edge_case"}
2
+ {"text": "Hmm, can you explain?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_edge_case"}
3
+ {"text": "Let me try asking again", "label_name": "NEED_CLARIFICATION", "source": "adversarial_edge_case"}
4
+ {"text": "How does that work in practice?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_edge_case"}
5
+ {"text": "What do you mean exactly?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_edge_case"}
6
+ {"text": "What are the steps involved?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_edge_case"}
7
+ {"text": "can you explain", "label_name": "NEED_CLARIFICATION", "source": "adversarial_edge_case"}
8
+ {"text": "sorry didn't understand", "label_name": "NEED_CLARIFICATION", "source": "adversarial_edge_case"}
9
+ {"text": "wait I'm confused", "label_name": "NEED_CLARIFICATION", "source": "adversarial_edge_case"}
10
+ {"text": "what does that mean", "label_name": "NEED_CLARIFICATION", "source": "adversarial_edge_case"}
11
+ {"text": "That doesn't seem right to me", "label_name": "WRONG_ANSWER", "source": "adversarial_edge_case"}
12
+ {"text": "I hate to say this, but that's wrong", "label_name": "WRONG_ANSWER", "source": "adversarial_edge_case"}
13
+ {"text": "Are you sure about that?", "label_name": "WRONG_ANSWER", "source": "adversarial_edge_case"}
14
+ {"text": "I don't think that's correct", "label_name": "WRONG_ANSWER", "source": "adversarial_edge_case"}
15
+ {"text": "no that's not what i said", "label_name": "WRONG_ANSWER", "source": "adversarial_edge_case"}
16
+ {"text": "you got it wrong", "label_name": "WRONG_ANSWER", "source": "adversarial_edge_case"}
17
+ {"text": "that's incorrect", "label_name": "WRONG_ANSWER", "source": "adversarial_edge_case"}
18
+ {"text": "wrong answer", "label_name": "WRONG_ANSWER", "source": "adversarial_edge_case"}
19
+ {"text": "nope that's wrong", "label_name": "WRONG_ANSWER", "source": "adversarial_edge_case"}
20
+ {"text": "i said 5 not 3", "label_name": "WRONG_ANSWER", "source": "adversarial_edge_case"}
21
+ {"text": "What else is there?", "label_name": "WANT_DIFFERENT", "source": "adversarial_edge_case"}
22
+ {"text": "I'd prefer alternatives", "label_name": "WANT_DIFFERENT", "source": "adversarial_edge_case"}
23
+ {"text": "show me something else", "label_name": "WANT_DIFFERENT", "source": "adversarial_edge_case"}
24
+ {"text": "any other options", "label_name": "WANT_DIFFERENT", "source": "adversarial_edge_case"}
25
+ {"text": "not this one", "label_name": "WANT_DIFFERENT", "source": "adversarial_edge_case"}
26
+ {"text": "try again please", "label_name": "WANT_DIFFERENT", "source": "adversarial_edge_case"}
27
+ {"text": "give me another", "label_name": "WANT_DIFFERENT", "source": "adversarial_edge_case"}
28
+ {"text": "something different", "label_name": "WANT_DIFFERENT", "source": "adversarial_edge_case"}
29
+ {"text": "other choices?", "label_name": "WANT_DIFFERENT", "source": "adversarial_edge_case"}
30
+ {"text": "next option", "label_name": "WANT_DIFFERENT", "source": "adversarial_edge_case"}
31
+ {"text": "Hmm, what do you mean?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
32
+ {"text": "Um, that's not right", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
33
+ {"text": "Well, show me others", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
34
+ {"text": "So, can you explain?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
35
+ {"text": "Actually, that's wrong", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
36
+ {"text": "Ok but what else?", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
37
+ {"text": "Can you explain it differently?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_ambiguous"}
38
+ {"text": "I need a different explanation", "label_name": "WANT_DIFFERENT", "source": "adversarial_ambiguous"}
39
+ {"text": "That's not what I was looking for", "label_name": "WANT_DIFFERENT", "source": "adversarial_ambiguous"}
40
+ {"text": "I don't think you understood me", "label_name": "NEED_CLARIFICATION", "source": "adversarial_ambiguous"}
41
+ {"text": "wdym", "label_name": "NEED_CLARIFICATION", "source": "adversarial_typo"}
42
+ {"text": "thats worng", "label_name": "WRONG_ANSWER", "source": "adversarial_typo"}
43
+ {"text": "othr options?", "label_name": "WANT_DIFFERENT", "source": "adversarial_typo"}
44
+ {"text": "Can you be more specific?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
45
+ {"text": "Can you explain it in simpler terms?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
46
+ {"text": "What's the timeline?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
47
+ {"text": "Where can I find more information?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
48
+ {"text": "What?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
49
+ {"text": "How do I actually do that?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
50
+ {"text": "This doesn't make sense to me.", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
51
+ {"text": "Just to clarify.", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
52
+ {"text": "Why?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
53
+ {"text": "Wait, I'm not following.", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
54
+ {"text": "Like what?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
55
+ {"text": "How?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
56
+ {"text": "Please explain.", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
57
+ {"text": "Explain please.", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
58
+ {"text": "One more time?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
59
+ {"text": "This is confusing.", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
60
+ {"text": "Sorry, what was that?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
61
+ {"text": "How does this apply to my situation?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
62
+ {"text": "Can you explain that further?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
63
+ {"text": "Which option would work better?", "label_name": "NEED_CLARIFICATION", "source": "adversarial_variation"}
64
+ {"text": "That's a mistake.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
65
+ {"text": "That's not what I meant.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
66
+ {"text": "That's not what I asked for.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
67
+ {"text": "I think there might be a mistake.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
68
+ {"text": "I need small, not large.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
69
+ {"text": "That's wrong actually.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
70
+ {"text": "Wrong. I asked for something else.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
71
+ {"text": "That doesn't seem right to me.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
72
+ {"text": "Almost but not correct.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
73
+ {"text": "Let me correct that.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
74
+ {"text": "Nope, that's not what I said.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
75
+ {"text": "It's downtown, not uptown.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
76
+ {"text": "The date should be different.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
77
+ {"text": "No, I said two, not three.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
78
+ {"text": "Please fix that.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
79
+ {"text": "I need to correct you.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
80
+ {"text": "The time was 9 AM, not 10.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
81
+ {"text": "That's incorrect.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
82
+ {"text": "That's still wrong.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
83
+ {"text": "I wanted chicken, not beef.", "label_name": "WRONG_ANSWER", "source": "adversarial_variation"}
84
+ {"text": "Not that one. Others?", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
85
+ {"text": "Can you suggest something else?", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
86
+ {"text": "I need something different.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
87
+ {"text": "Regenerate that.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
88
+ {"text": "That's not good enough.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
89
+ {"text": "Show me more choices.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
90
+ {"text": "Expand on that.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
91
+ {"text": "Can you simplify this?", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
92
+ {"text": "Other options?", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
93
+ {"text": "I'd prefer something else.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
94
+ {"text": "Can you make it casual?", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
95
+ {"text": "Not this.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
96
+ {"text": "Give me bullet points.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
97
+ {"text": "Can you make it shorter?", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
98
+ {"text": "Show me other options.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
99
+ {"text": "What are my other choices?", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
100
+ {"text": "Actually, I want something different.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
101
+ {"text": "Make it more formal.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
102
+ {"text": "Can you rewrite this?", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
103
+ {"text": "Try again.", "label_name": "WANT_DIFFERENT", "source": "adversarial_variation"}
explainer_train_balanced.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
explainer_val_balanced.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
val.jsonl ADDED
The diff for this file is too large to render. See raw diff