Datasets:
utterance
stringlengths 2
189
| label
int64 0
57
|
---|---|
wake me up at nine am on friday | 2 |
set an alarm for two hours from now | 2 |
olly quiet | 4 |
stop | 4 |
olly pause for ten seconds | 4 |
pause for ten seconds | 4 |
make the lighting bit more warm here | 21 |
please set the lighting suitable for reading | 21 |
time to sleep | 23 |
time to sleep olly | 23 |
turn off the light in the bathroom | 23 |
olly dim the lights in the hall | 22 |
turn the lights off in the bedroom | 23 |
set lights to twenty percent | 21 |
olly set lights to twenty percent | 21 |
dim the lights in the kitchen olly | 22 |
dim the lights in the kitchen | 22 |
olly clean the flat | 19 |
vacuum the house | 19 |
vacuum the house olly | 19 |
hoover the carpets around | 19 |
check when the show starts | 6 |
i want to listen arijit singh song once again | 38 |
i want to play that music one again | 38 |
check my car is ready | 18 |
check my laptop is working | 18 |
is the brightness of my screen running low | 18 |
i need to have location services on can you check | 18 |
check the status of my power usage | 18 |
i am not tired i am actually happy | 18 |
olly i am not tired i am actually happy | 18 |
what's up | 16 |
tell me the time in moscow | 11 |
tell me the time in g. m. t. plus five | 10 |
olly list most rated delivery options for chinese food | 52 |
most rated delivery options for chinese food | 52 |
olly most rated delivery options for chinese food | 52 |
i want some curry to go any recommendations | 52 |
i want some curry to go any recommendations olly | 52 |
find my thai takeaways around grassmarket | 52 |
stop seven am alarm | 1 |
please list active alarms | 0 |
what's happening in football today | 35 |
please play yesterday from beatles | 38 |
i like rock music | 32 |
my favorite music band is queen | 32 |
start playing music from favorites | 38 |
please play my best music | 38 |
who's current music's author | 33 |
what's that the album is current music from | 33 |
olly i'm really enjoying this song | 32 |
the song you are playing is amazing | 32 |
this is one of the best songs for me | 32 |
make lights brightener | 25 |
please raise the lights to max | 25 |
hey start vacuum cleaner robot | 19 |
turn cleaner robot on | 19 |
please order some sushi for dinner | 51 |
hey i'd like you to order burger | 51 |
can i order takeaway dinner from byron's | 51 |
does byron's supports takeaways | 52 |
set an alarm for twelve | 2 |
set an alarm forty minutes from now | 2 |
set alarm for eight every weekday | 2 |
is it raining | 57 |
is it going to rain | 57 |
is it currently snowing | 57 |
what's this weeks weather | 57 |
tell me b. b. c. news | 35 |
what's the news on b. b. c. news | 35 |
what is the b. b. c.'s latest news | 35 |
play a song i like | 38 |
play daft punk | 38 |
put on some coldplay | 38 |
shuffle this playlist | 34 |
what's playing | 33 |
what music is this | 33 |
tell me the artist of this song | 33 |
make me laugh | 17 |
olly make me laugh | 17 |
tell me a good joke | 17 |
tell me a joke | 17 |
alexa tell me a joke | 17 |
cheer me up | 17 |
tell me about today | 18 |
order a pizza | 51 |
order me a byron from deliveroo | 51 |
when is my order arriving | 52 |
how long until my takeaway | 52 |
domino's delivery status | 52 |
what's playing | 33 |
tell me the name of the song | 33 |
play my jazz playlist | 38 |
start my jazz playlist | 38 |
play my favorite playlist | 38 |
that's a good song | 32 |
i don't like it | 31 |
i like it | 32 |
i like jazz | 32 |
can you play some jazz | 38 |
End of preview. Expand
in Data Studio
massive
This is a text classification dataset. It is intended for machine learning research and experimentation.
This dataset is obtained via formatting another publicly available data to be compatible with our AutoIntent Library.
Usage
It is intended to be used with our AutoIntent Library:
from autointent import Dataset
massive = Dataset.from_hub("AutoIntent/massive")
Source
This dataset is taken from mteb/amazon_massive_intent
and formatted with our AutoIntent Library:
from datasets import Dataset as HFDataset
from datasets import load_dataset
from autointent import Dataset
from autointent.schemas import Intent, Sample
def extract_intents_info(split: HFDataset) -> tuple[list[Intent], dict[str, int]]:
"""Extract metadata."""
intent_names = sorted(split.unique("label"))
intent_names.remove("cooking_query")
intent_names.remove("audio_volume_other")
n_classes = len(intent_names)
name_to_id = dict(zip(intent_names, range(n_classes), strict=False))
intents_data = [Intent(id=i, name=intent_names[i]) for i in range(n_classes)]
return intents_data, name_to_id
def convert_massive(split: HFDataset, name_to_id: dict[str, int]) -> list[Sample]:
"""Extract utterances and labels."""
return [Sample(utterance=s["text"], label=name_to_id[s["label"]]) for s in split if s["label"] in name_to_id]
if __name__ == "__main__":
massive = load_dataset("mteb/amazon_massive_intent", "en")
intents, name_to_id = extract_intents_info(massive["train"])
train_samples = convert_massive(massive["train"], name_to_id)
test_samples = convert_massive(massive["test"], name_to_id)
validation_samples = convert_massive(massive["validation"], name_to_id)
dataset = Dataset.from_dict(
{"intents": intents, "train": train_samples, "test": test_samples, "validation": validation_samples}
)
- Downloads last month
- 42