Datasets:
language stringclasses 4
values | partition stringclasses 3
values | intent stringclasses 34
values | utt stringlengths 2 365 | annot stringlengths 2 365 ⌀ |
|---|---|---|---|---|
en | train | alarm_set | wake me up at nine am on friday | wake me up at [time : nine am] on [date : friday] |
en | train | alarm_set | set an alarm for two hours from now | set an alarm for [time : two hours from now] |
en | train | calendar_query | check when the show starts | check when the show starts |
en | train | general_quirky | check my car is ready | check my car is ready |
en | train | general_quirky | check my laptop is working | check my laptop is working |
en | train | general_quirky | is the brightness of my screen running low | is the brightness of my screen running low |
en | train | general_quirky | i need to have location services on can you check | i need to have location services on can you check |
en | train | general_quirky | check the status of my power usage | check the status of my power usage |
en | train | general_quirky | i am not tired i am actually happy | i am not tired i am actually happy |
en | train | general_quirky | olly i am not tired i am actually happy | olly i am not tired i am actually happy |
en | train | general_greet | what's up | what's up |
en | train | datetime_query | tell me the time in moscow | tell me the time in [place_name : moscow] |
en | train | datetime_convert | tell me the time in g. m. t. plus five | tell me the time in [time_zone : g. m. t. plus five] |
en | train | takeaway_query | olly list most rated delivery options for chinese food | olly list most rated [order_type : delivery] options for [food_type : chinese] food |
en | train | takeaway_query | most rated delivery options for chinese food | most rated [order_type : delivery] options for [food_type : chinese] food |
en | train | takeaway_query | olly most rated delivery options for chinese food | olly most rated [order_type : delivery] options for [food_type : chinese] food |
en | train | takeaway_query | i want some curry to go any recommendations | i want some [food_type : curry] to go any recommendations |
en | train | takeaway_query | i want some curry to go any recommendations olly | i want some [food_type : curry] to go any recommendations olly |
en | train | takeaway_query | find my thai takeaways around grassmarket | find my [food_type : thai] [order_type : takeaways] around [place_name : grassmarket] |
en | train | alarm_remove | stop seven am alarm | stop [time : seven am] alarm |
en | train | alarm_query | please list active alarms | please list active alarms |
en | train | news_query | what's happening in football today | what's happening in [news_topic : football] [date : today] |
en | train | takeaway_order | please order some sushi for dinner | please order some [food_type : sushi] for [meal_type : dinner] |
en | train | takeaway_order | hey i'd like you to order burger | hey i'd like you to order [food_type : burger] |
en | train | takeaway_order | can i order takeaway dinner from byron's | can i order [order_type : takeaway] [meal_type : dinner] from [business_name : byron's] |
en | train | takeaway_query | does byron's supports takeaways | does [business_name : byron's] supports [order_type : takeaways] |
en | train | alarm_set | set an alarm for twelve | set an alarm for [time : twelve] |
en | train | alarm_set | set an alarm forty minutes from now | set an alarm [time : forty minutes from now] |
en | train | alarm_set | set alarm for eight every weekday | set alarm for [time : eight] [general_frequency : every weekday] |
en | train | weather_query | is it raining | is it [weather_descriptor : raining] |
en | train | weather_query | is it going to rain | is it going to [weather_descriptor : rain] |
en | train | weather_query | is it currently snowing | is it currently [weather_descriptor : snowing] |
en | train | weather_query | what's this weeks weather | what's [date : this weeks] weather |
en | train | news_query | tell me b. b. c. news | tell me [media_type : b. b. c.] news |
en | train | news_query | what's the news on b. b. c. news | what's the news on [media_type : b. b. c.] news |
en | train | news_query | what is the b. b. c.'s latest news | what is the [media_type : b. b. c.'s] latest news |
en | train | general_joke | make me laugh | make me laugh |
en | train | general_joke | olly make me laugh | olly make me laugh |
en | train | general_joke | tell me a good joke | tell me a [joke_type : good] joke |
en | train | general_joke | tell me a joke | tell me a joke |
en | train | general_joke | alexa tell me a joke | alexa tell me a joke |
en | train | general_joke | cheer me up | cheer me up |
en | train | general_quirky | tell me about today | tell me about [date : today] |
en | train | takeaway_order | order a pizza | order a [food_type : pizza] |
en | train | takeaway_order | order me a byron from deliveroo | order me a [food_type : byron] from [business_name : deliveroo] |
en | train | takeaway_query | when is my order arriving | when is my order arriving |
en | train | takeaway_query | how long until my takeaway | how long until my [order_type : takeaway] |
en | train | takeaway_query | domino's delivery status | [business_name : domino's] [order_type : delivery] status |
en | train | general_greet | how are you | how are you |
en | train | alarm_set | set alarm at ten am | set alarm at [time : ten am] |
en | train | news_query | tell me the latest technology news | tell me the latest [news_topic : technology] news |
en | train | news_query | tell me latest technology news | tell me latest [news_topic : technology] news |
en | train | weather_query | tell me the weather | tell me the weather |
en | train | weather_query | what is the weather now | what is the weather now |
en | train | weather_query | is it raining now | is it [weather_descriptor : raining] now |
en | train | general_joke | tell me some joke | tell me some joke |
en | train | general_joke | do you know any joke | do you know any joke |
en | train | datetime_query | what is the time | what is the time |
en | train | datetime_query | tell me the time | tell me the time |
en | train | takeaway_query | does dominoes do takeaway | does [food_type : dominoes] do [order_type : takeaway] |
en | train | takeaway_query | does my favorite pizza place available for takeaway | does my favorite [food_type : pizza] place available for [order_type : takeaway] |
en | train | takeaway_order | can i order takeaway from spanish place | can i order [order_type : takeaway] from [food_type : spanish] place |
en | train | alarm_remove | remove the alarm | remove the alarm |
en | train | alarm_query | show me the alarms i set | show me the alarms i set |
en | train | alarm_query | do i have any alarms | do i have any alarms |
en | train | alarm_query | show alarms | show alarms |
en | train | weather_query | how's the weather like in beijing | how's the weather like in [place_name : beijing] |
en | train | weather_query | tell me the weather in shanghai | tell me the weather in [place_name : shanghai] |
en | train | datetime_query | what's date today | what's date [date : today] |
en | train | datetime_query | what day is today | what day is [date : today] |
en | train | datetime_query | tell me a date | tell me a date |
en | train | weather_query | is it raining outside olly | is it [weather_descriptor : raining] outside olly |
en | train | takeaway_order | could you please help me to order some sushi from deliveroo | could you please help me to order some [food_type : sushi] from [business_name : deliveroo] |
en | train | alarm_set | set an alarm for four in the afternoon | set an alarm for [time : four] in the [timeofday : afternoon] |
en | train | alarm_set | olly alert me at three p. m. to go to the concert | olly alert me at [time : three p. m.] to go to the [event_name : concert] |
en | train | alarm_set | alert me at three p. m. to go to the concert | alert me at [time : three p. m.] to go to the [event_name : concert] |
en | train | alarm_query | do i have an alarm set for morning flight | do i have an alarm set for [timeofday : morning] [event_name : flight] |
en | train | alarm_query | are there any alarms | are there any alarms |
en | train | weather_query | is it raining in barcelona | is it [weather_descriptor : raining] in [place_name : barcelona] |
en | train | weather_query | will it rain today | will it [weather_descriptor : rain] [date : today] |
en | train | weather_query | what's going on outside | what's going on outside |
en | train | news_query | what's going on in the world | what's going on in the [place_name : world] |
en | train | news_query | what's happening in cambridge | what's happening in [place_name : cambridge] |
en | train | news_query | show me some news from b. b. c. | show me some news from [media_type : b. b. c.] |
en | train | news_query | olly show me some news from b. b. c. | olly show me some news from [media_type : b. b. c.] |
en | train | news_query | play c. n. n. news | play [media_type : c. n. n.] news |
en | train | news_query | olly hackernews | olly [media_type : hackernews] |
en | train | datetime_query | what's the time | what's the time |
en | train | weather_query | what is the weather in paris | what is the weather in [place_name : paris] |
en | train | weather_query | what is the weather like in toronto | what is the weather like in [place_name : toronto] |
en | train | news_query | what is the current state of brexit negotiations | what is the current state of [news_topic : brexit negotiations] |
en | train | news_query | who is going to win the next elections in the france | who is going to win the next [news_topic : elections] in the [place_name : france] |
en | train | weather_query | do you expect sun on sunday | do you expect [weather_descriptor : sun] on [date : sunday] |
en | train | weather_query | is it going to rain in the evening | is it going to [weather_descriptor : rain] in the [timeofday : evening] |
en | train | weather_query | is it going to be windy tomorrow | is it going to be [weather_descriptor : windy] [date : tomorrow] |
en | train | datetime_query | what time is it in moscow now | what time is it in [place_name : moscow] now |
en | train | news_query | what is happening in the world | what is happening in the [place_name : world] |
en | train | news_query | tell me the news | tell me the news |
en | train | weather_query | what is the forecast for today | what is the forecast for [date : today] |
en | train | weather_query | what is the weather like | what is the weather like |
Ferman NLU: intent and slot data for English, Arabic, Sorani and Badini
Code, app and baseline results: https://github.com/omarGH99/ferman-ai-assistant
Load it with:
from datasets import load_dataset
ds = load_dataset("OmarSY11/ferman-nlu", "v2")["train"] # one table; filter on `partition`
test = ds.filter(lambda r: r["partition"] == "test")
The partition column holds train, validation and test. Hugging Face shows
all rows as a single split, so filter on that column.
Intent classification and slot filling data for voice/text assistant commands in English, Arabic, Sorani Kurdish and Badini Kurdish (Arabic script).
Files
| File | Rows | Notes |
|---|---|---|
XLMR_dataset_4lang_v2.csv |
27,445 | Cleaned release. Trained and evaluated the deployed v2 models. |
XLMR_dataset_4lang_v3.csv |
31,829 | v2 plus machine-translated Kurdish rows (see below). No model has been trained or evaluated on v3 yet. |
Columns: language (en/ar/sorani/badini), partition
(train/validation/test), intent, utt (the utterance), annot (the
utterance with inline slots, [slot : value]; empty when there are no slot
annotations).
Composition (v2)
| Language | train | validation | test | rows with slot annotation |
|---|---|---|---|---|
| English | 7,753 | 1,390 | 1,954 | 11,097 |
| Arabic | 7,753 | 1,390 | 1,954 | 304 |
| Sorani | 2,065 | 191 | 370 | 2,626 |
| Badini | 2,064 | 191 | 370 | 2,625 |
34 intents across alarms, calendar, lists, news, weather, QA, email, transport,
takeaway, recommendations, cooking, date/time and general chat. Per-intent
counts are in dataset_v2_report.txt, which also records the 26 intents and
15,096 rows dropped from v1 and why.
How it was built
- Source: the English and Arabic rows (and the intent label set, slot syntax
and train/validation/test split) come from MASSIVE (FitzGerald et al.,
2022; Amazon; CC BY 4.0). This dataset is a modified derivative: intents
out of scope for this app (smart-home, music, volume) were removed, junk rows
dropped and spelling fixed (see
dataset_v2_report.txt). - Sorani and Badini are not in MASSIVE. They were added by the author using machine translation of the English rows. This applies to the Kurdish rows in v2 as well as v3. The author, a native Badini speaker and a non-native Sorani speaker, informally reviewed the Sorani and Badini rows and judged them good. This is not an independent verification: there was no second annotator, no agreement measurement, and the Sorani review was by a non-native speaker.
- v3 augmentation (
ml/augment_kurdish.py): Kurdish intents were very unevenly covered (e.g.calendar_sethad 806 English rows but 19 Sorani). v3 adds more NLLB-200 translations (facebook/nllb-200-distilled-600M): English → Sorani (ckb_Arab) and English → Kurmanji (kmr_Latn), the latter transliterated into Arabic script byml/kurmanji_translit.pyto stand in for Badini. Translations are round-tripped back to English and dropped if they drift too far; slot values must be found in the translated sentence or the row keeps its intent label without annotation. Added rows are only intrain(+2,249 Badini, +2,135 Sorani); validation and test are unchanged from v2.
Known limitations
- Machine-translated Kurdish has only an informal review by its author (native Badini, non-native Sorani); a native Sorani speaker has not checked it. It may contain unnatural phrasing, and the Kurmanji→Arabic-script conversion is a stand-in for real Badini, not a native-speaker rendering. There is no marker column distinguishing translated from original rows; they are the rows in v3 that are not in v2.
- Small Kurdish evaluation sets: 370 test rows per dialect (vs 1,954 for English/Arabic), so Kurdish scores have wide confidence intervals.
- Arabic slots are essentially absent: 304 annotated rows, all in train, none in test, so Arabic slot extraction cannot be evaluated with this data. MASSIVE itself provides human slot labels for Arabic (ar-SA); they were not carried over into this release. All of this release's Arabic utterances appear in MASSIVE ar-SA, so the labels can be restored from the source.
- Class imbalance: intents range from 24 (
cooking_query) to 2,497 (weather_query) rows, and the Kurdish distribution is more skewed than English. - Dialect coverage: Sorani and Badini only. Other varieties (Kurmanji in Latin script, Gorani, Iraqi Arabic dialect variation beyond what the Arabic rows contain) are not covered.
- Text is not personal data, but data collected from app users (via
ml/export_dataset.py) is opt-in and is not included in these files; neither CSV contains any user-collected data.
Baseline results
Measured on the v2 test split (full output: eval_results_v2.txt):
| Language | Intent accuracy | Intent macro-F1 | Slot F1 |
|---|---|---|---|
| English | 0.887 | 0.847 | 0.816 |
| Arabic | 0.823 | 0.761 | n/a |
| Badini | 0.719 | 0.682 | 0.623 |
| Sorani | 0.697 | 0.647 | 0.643 |
License and citation
CC BY 4.0, matching MASSIVE's license. If you use this dataset you must also credit MASSIVE. Changes from the original are described above.
@misc{fitzgerald2022massive,
title = {MASSIVE: A 1M-Example Multilingual Natural Language Understanding
Dataset with 51 Typologically-Diverse Languages},
author = {FitzGerald, Jack and others},
year = {2022},
eprint = {2204.08582},
archivePrefix = {arXiv}
}
Please also cite the project repository: https://github.com/omarGH99/ferman-ai-assistant
- Downloads last month
- 38