llm-semantic-router/feedback-detector
Text Classification
•
0.1B
•
Updated
•
98
•
1
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'source'})
This happened while the json dataset builder was generating data using
hf://datasets/rootfs/user-satisfaction-dataset/adversarial_test.jsonl (at revision 3bb9e3d1dc0f27a7b99dfb79d36991a4abbc9114)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
text: string
label_name: string
source: string
to
{'text': Value('string'), 'label_name': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1339, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 972, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'source'})
This happened while the json dataset builder was generating data using
hf://datasets/rootfs/user-satisfaction-dataset/adversarial_test.jsonl (at revision 3bb9e3d1dc0f27a7b99dfb79d36991a4abbc9114)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
text
string | label_name
string |
|---|---|
What do you want to know about the treatment of obesity?
|
NEED_CLARIFICATION
|
Anything else available? I'd like to change pick up location to San Diego, for next
|
WANT_DIFFERENT
|
not yet, what time is show
|
WANT_DIFFERENT
|
No, actually I need the appointment at 3 o"clock in the afternoon and on Sunday this week.
|
WRONG_ANSWER
|
you have any that have two bathrooms?
|
WANT_DIFFERENT
|
What would you like to know about a farewell to arms?
|
NEED_CLARIFICATION
|
Nope I like Adventure movies.
|
WANT_DIFFERENT
|
What about Mascara by Niykee Heaton from the album Starting Over? [USER What other songs are there?
|
WANT_DIFFERENT
|
No thank you, that'll be
|
WRONG_ANSWER
|
No, maybe on. Find me a bus there from san diego
|
WANT_DIFFERENT
|
No, please change that to 11:45.
|
WRONG_ANSWER
|
any alternative attractions?
|
WANT_DIFFERENT
|
[USER QUERY] Find me an restaurant that is tagged as affordable priced.Tacos would be perfect if the
|
WANT_DIFFERENT
|
What else did you find? I need two rooms at a place that allows pets please.
|
WANT_DIFFERENT
|
Nope. I am good now.
|
WRONG_ANSWER
|
What would you like to know about ranibizumab?
|
NEED_CLARIFICATION
|
What would you like to know about yugoslavia?
|
NEED_CLARIFICATION
|
No, I'm not getting tickets yet. I don't need anything else.
|
WANT_DIFFERENT
|
any thats it
|
WRONG_ANSWER
|
What do you want to do with gif images?
|
NEED_CLARIFICATION
|
Then I desire you to find someone else.
|
WANT_DIFFERENT
|
Do you have dates for any another games?
|
WANT_DIFFERENT
|
What do you want to know about st.
|
NEED_CLARIFICATION
|
No, do not have live music there and their number is 510-601-9888.
|
WANT_DIFFERENT
|
Nope I want it for the 12th of March.
|
WRONG_ANSWER
|
No, not yet. I first want to find a house to stay at while I am visiting.
|
WANT_DIFFERENT
|
What would you like to know about national urban league?
|
NEED_CLARIFICATION
|
Not terrible but can you find any other events?
|
WANT_DIFFERENT
|
Can you suggest any other restaurants? I would like a place that serves alcohol.
|
WANT_DIFFERENT
|
What do you want to do with exercise equipment?
|
NEED_CLARIFICATION
|
Not at all. I am coming back on 6th of March.
|
WRONG_ANSWER
|
Negative not right now but can you organize me a cab?
|
WANT_DIFFERENT
|
Nope it is for two.
|
WRONG_ANSWER
|
How about a General Practitioner in Santa Clara?
|
WANT_DIFFERENT
|
today? that will be all. Thanks again!
|
WRONG_ANSWER
|
What do you want to do with incognito mode?
|
NEED_CLARIFICATION
|
What do you want to do with excel dropdown list?
|
NEED_CLARIFICATION
|
two then
|
WANT_DIFFERENT
|
What would you like to know about capitol records?
|
NEED_CLARIFICATION
|
Call the alarm Cooking and make it for a quarter past 4 in the evening.
|
WRONG_ANSWER
|
What do you want to do with real estate taxes?
|
NEED_CLARIFICATION
|
Nope, I wish to book the appointment on 5th of this month at
|
WRONG_ANSWER
|
It's actually for three people at half past 5 in the evening.
|
WRONG_ANSWER
|
Could you propose restaurant?
|
WANT_DIFFERENT
|
No, that is the help I thank you!
|
WRONG_ANSWER
|
I'm not sure but it would help if you explained that better
|
NEED_CLARIFICATION
|
Can you help me find something else from perhaps one years ago?
|
WANT_DIFFERENT
|
In my opinion, can you explain the method more clearly?
|
NEED_CLARIFICATION
|
that's cool. are there any others?
|
WANT_DIFFERENT
|
What would you like to know about truman state university?
|
NEED_CLARIFICATION
|
Can you play it good, the kitchen speaker instead?
|
WRONG_ANSWER
|
Wrong destination. It should be Berlin.
|
WRONG_ANSWER
|
I guess what's the difference between X and Y I believe?
|
NEED_CLARIFICATION
|
and thanks for the help.
|
WRONG_ANSWER
|
You know what? I'm in the mood for Rock. What going on in Vancouver?
|
WANT_DIFFERENT
|
What do you want to do with a car lease?
|
NEED_CLARIFICATION
|
Ok, Kindly Find another apartments for me
|
WANT_DIFFERENT
|
How about by Maren Morris from the album Hero?
|
WANT_DIFFERENT
|
Actually let's get two tickets.
|
WRONG_ANSWER
|
What would you like to know about flumazenil?
|
NEED_CLARIFICATION
|
yo huh?
|
NEED_CLARIFICATION
|
Do you have some another alternative trains?
|
WANT_DIFFERENT
|
What would you like to know about cargo ship?
|
NEED_CLARIFICATION
|
dude ???
|
NEED_CLARIFICATION
|
That sounds ok, but I would prefer American Football games please.
|
WANT_DIFFERENT
|
well, i missed that.
|
NEED_CLARIFICATION
|
Can you find me a Compact car?
|
WANT_DIFFERENT
|
well, sorry, what was that?
|
NEED_CLARIFICATION
|
No I want to change that 5th of March at 12:15 pm.
|
WRONG_ANSWER
|
No, that's all I needed. Thanks!
|
WRONG_ANSWER
|
What would you like to know about new era cap company?
|
NEED_CLARIFICATION
|
Possibly the solution doesn't seem accurate
|
WRONG_ANSWER
|
What do you want to do with end tables?
|
NEED_CLARIFICATION
|
No, not at he moment. Thanks!
|
WRONG_ANSWER
|
No, that will be all. else
|
WRONG_ANSWER
|
What do you want to know about challenging behaviour?
|
NEED_CLARIFICATION
|
No, at quarter past 10 in the morning.
|
WRONG_ANSWER
|
What do you want to know about capstone family medicine?
|
NEED_CLARIFICATION
|
Do you have any other cars? Am looking for a medium-sized car and can pick the half past 10 the
|
WANT_DIFFERENT
|
find fantasy movies and regular show
|
WANT_DIFFERENT
|
no , thanks for now.
|
WRONG_ANSWER
|
Ive changed my mind, Play it on my bedroom speaker.
|
WRONG_ANSWER
|
Is How about a Psychiatrist in Vacaville?
|
WANT_DIFFERENT
|
No, but thank you again.
|
WRONG_ANSWER
|
Also I need to check the weather on 12th of Need your help to do so.
|
WANT_DIFFERENT
|
Yes, for now.
|
WRONG_ANSWER
|
What would you like to know about salem state university?
|
NEED_CLARIFICATION
|
that's all thanks
|
WRONG_ANSWER
|
What would that look like in practice?
|
NEED_CLARIFICATION
|
What would you like to know about bees?
|
NEED_CLARIFICATION
|
Actually make that four tickets
|
WRONG_ANSWER
|
Can tell me other available I like to leave on the 14th.
|
WANT_DIFFERENT
|
What would you like to know about tang dynasty?
|
NEED_CLARIFICATION
|
No, now right now. I want to see it at CineLux Tennant Station on the 4th of this month.
|
WANT_DIFFERENT
|
but I want to see some other options. I am interested in finding Historical Landmark.
|
WANT_DIFFERENT
|
No not right now, thanks for everything
|
WANT_DIFFERENT
|
QUERY] Thank you very much. [SYSTEM RESPONSE] What else can I do you? [USER Nothing else, thank you.
|
WRONG_ANSWER
|
No, could you get me a cab ride for 1 to 3553 Whipple Road instead?
|
WANT_DIFFERENT
|
No,I don't want now.
|
WANT_DIFFERENT
|
Are there any other flights? Because I like to fly with Delta Airlines.
|
WANT_DIFFERENT
|
A dataset for training classifiers to detect user satisfaction and dissatisfaction reasons from follow-up messages in conversational AI systems.
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.
| Label | Description | Count (Train) |
|---|---|---|
SAT |
User is satisfied | ~3,350 |
NEED_CLARIFICATION |
User needs more explanation | ~3,350 |
WRONG_ANSWER |
System provided incorrect information | ~3,350 |
WANT_DIFFERENT |
User wants alternative options | ~3,350 |
train.jsonl # 13,422 training examples
val.jsonl # 1,494 validation examples
adversarial_test.jsonl # 103 adversarial test examples
Each line is a JSON object:
{"text": "What do you mean by that?", "label_name": "NEED_CLARIFICATION"}
{"text": "Thanks, that's perfect!", "label_name": "SAT"}
{"text": "No, that's incorrect", "label_name": "WRONG_ANSWER"}
{"text": "Show me other options", "label_name": "WANT_DIFFERENT"}
from datasets import load_dataset
dataset = load_dataset("rootfs/user-satisfaction-dataset")
# Access splits
train = dataset["train"]
val = dataset["validation"]
test = dataset["test"]
# Example
print(train[0])
# {'text': 'What do you mean?', 'label_name': 'NEED_CLARIFICATION'}
Derived from public conversational AI datasets:
Pre-trained classifier: rootfs/dissat-4class
@dataset{user_satisfaction_2024,
title={User Satisfaction Classification Dataset},
author={Semantic Router Project},
year={2024},
url={https://huggingface.co/datasets/rootfs/user-satisfaction-dataset}
}
Apache 2.0