
platzi/text-classification-mtopdomain-es-alexrods
Text Classification
•
Updated
Error code: ConfigNamesError Exception: RuntimeError Message: Dataset scripts are no longer supported, but found mtop_domain.py Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response config_names = get_dataset_config_names( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names dataset_module = dataset_module_factory( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1031, in dataset_module_factory raise e1 from None File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 989, in dataset_module_factory raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}") RuntimeError: Dataset scripts are no longer supported, but found mtop_domain.py
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.
MTOP: Multilingual Task-Oriented Semantic Parsing
Task category | t2c |
Domains | Spoken, Spoken |
Reference | https://arxiv.org/pdf/2008.09335.pdf |
You can evaluate an embedding model on this dataset using the following code:
import mteb
task = mteb.get_tasks(["MTOPDomainClassification"])
evaluator = mteb.MTEB(task)
model = mteb.get_model(YOUR_MODEL)
evaluator.run(model)
To learn more about how to run models on mteb
task check out the GitHub repitory.
If you use this dataset, please cite the dataset as well as mteb, as this dataset likely includes additional processing as a part of the MMTEB Contribution.
@inproceedings{li-etal-2021-mtop,
abstract = {Scaling semantic parsing models for task-oriented dialog systems to new languages is often expensive and time-consuming due to the lack of available datasets. Available datasets suffer from several shortcomings: a) they contain few languages b) they contain small amounts of labeled examples per language c) they are based on the simple intent and slot detection paradigm for non-compositional queries. In this paper, we present a new multilingual dataset, called MTOP, comprising of 100k annotated utterances in 6 languages across 11 domains. We use this dataset and other publicly available datasets to conduct a comprehensive benchmarking study on using various state-of-the-art multilingual pre-trained models for task-oriented semantic parsing. We achieve an average improvement of +6.3 points on Slot F1 for the two existing multilingual datasets, over best results reported in their experiments. Furthermore, we demonstrate strong zero-shot performance using pre-trained models combined with automatic translation and alignment, and a proposed distant supervision method to reduce the noise in slot label projection.},
address = {Online},
author = {Li, Haoran and
Arora, Abhinav and
Chen, Shuohui and
Gupta, Anchit and
Gupta, Sonal and
Mehdad, Yashar},
booktitle = {Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume},
doi = {10.18653/v1/2021.eacl-main.257},
editor = {Merlo, Paola and
Tiedemann, Jorg and
Tsarfaty, Reut},
month = apr,
pages = {2950--2962},
publisher = {Association for Computational Linguistics},
title = {{MTOP}: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmark},
url = {https://aclanthology.org/2021.eacl-main.257},
year = {2021},
}
@article{enevoldsen2025mmtebmassivemultilingualtext,
title={MMTEB: Massive Multilingual Text Embedding Benchmark},
author={Kenneth Enevoldsen and Isaac Chung and Imene Kerboua and Márton Kardos and Ashwin Mathur and David Stap and Jay Gala and Wissam Siblini and Dominik Krzemiński and Genta Indra Winata and Saba Sturua and Saiteja Utpala and Mathieu Ciancone and Marion Schaeffer and Gabriel Sequeira and Diganta Misra and Shreeya Dhakal and Jonathan Rystrøm and Roman Solomatin and Ömer Çağatan and Akash Kundu and Martin Bernstorff and Shitao Xiao and Akshita Sukhlecha and Bhavish Pahwa and Rafał Poświata and Kranthi Kiran GV and Shawon Ashraf and Daniel Auras and Björn Plüster and Jan Philipp Harries and Loïc Magne and Isabelle Mohr and Mariya Hendriksen and Dawei Zhu and Hippolyte Gisserot-Boukhlef and Tom Aarsen and Jan Kostkan and Konrad Wojtasik and Taemin Lee and Marek Šuppa and Crystina Zhang and Roberta Rocca and Mohammed Hamdy and Andrianos Michail and John Yang and Manuel Faysse and Aleksei Vatolin and Nandan Thakur and Manan Dey and Dipam Vasani and Pranjal Chitale and Simone Tedeschi and Nguyen Tai and Artem Snegirev and Michael Günther and Mengzhou Xia and Weijia Shi and Xing Han Lù and Jordan Clive and Gayatri Krishnakumar and Anna Maksimova and Silvan Wehrli and Maria Tikhonova and Henil Panchal and Aleksandr Abramov and Malte Ostendorff and Zheng Liu and Simon Clematide and Lester James Miranda and Alena Fenogenova and Guangyu Song and Ruqiya Bin Safi and Wen-Ding Li and Alessia Borghini and Federico Cassano and Hongjin Su and Jimmy Lin and Howard Yen and Lasse Hansen and Sara Hooker and Chenghao Xiao and Vaibhav Adlakha and Orion Weller and Siva Reddy and Niklas Muennighoff},
publisher = {arXiv},
journal={arXiv preprint arXiv:2502.13595},
year={2025},
url={https://arxiv.org/abs/2502.13595},
doi = {10.48550/arXiv.2502.13595},
}
@article{muennighoff2022mteb,
author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
title = {MTEB: Massive Text Embedding Benchmark},
publisher = {arXiv},
journal={arXiv preprint arXiv:2210.07316},
year = {2022}
url = {https://arxiv.org/abs/2210.07316},
doi = {10.48550/ARXIV.2210.07316},
}
The following code contains the descriptive statistics from the task. These can also be obtained using:
import mteb
task = mteb.get_task("MTOPDomainClassification")
desc_stats = task.metadata.descriptive_stats
{
"validation": {
"num_samples": 10837,
"number_of_characters": 431895,
"number_texts_intersect_with_train": 127,
"min_text_length": 5,
"average_text_length": 39.85374181046415,
"max_text_length": 154,
"unique_text": 10830,
"unique_labels": 11,
"labels": {
"1": {
"count": 1688
},
"10": {
"count": 754
},
"7": {
"count": 849
},
"3": {
"count": 681
},
"6": {
"count": 985
},
"2": {
"count": 647
},
"9": {
"count": 872
},
"0": {
"count": 833
},
"5": {
"count": 1182
},
"4": {
"count": 982
},
"8": {
"count": 1364
}
},
"hf_subset_descriptive_stats": {
"en": {
"num_samples": 2235,
"number_of_characters": 81663,
"number_texts_intersect_with_train": 7,
"min_text_length": 8,
"average_text_length": 36.53825503355705,
"max_text_length": 125,
"unique_text": 2235,
"unique_labels": 11,
"labels": {
"1": {
"count": 329
},
"10": {
"count": 185
},
"7": {
"count": 183
},
"3": {
"count": 134
},
"6": {
"count": 186
},
"2": {
"count": 123
},
"9": {
"count": 196
},
"0": {
"count": 176
},
"5": {
"count": 228
},
"4": {
"count": 207
},
"8": {
"count": 288
}
}
},
"de": {
"num_samples": 1815,
"number_of_characters": 77727,
"number_texts_intersect_with_train": 23,
"min_text_length": 10,
"average_text_length": 42.824793388429754,
"max_text_length": 154,
"unique_text": 1814,
"unique_labels": 11,
"labels": {
"0": {
"count": 99
},
"1": {
"count": 303
},
"2": {
"count": 104
},
"3": {
"count": 122
},
"6": {
"count": 165
},
"4": {
"count": 157
},
"7": {
"count": 141
},
"5": {
"count": 203
},
"8": {
"count": 220
},
"10": {
"count": 133
},
"9": {
"count": 168
}
}
},
"es": {
"num_samples": 1527,
"number_of_characters": 67720,
"number_texts_intersect_with_train": 41,
"min_text_length": 11,
"average_text_length": 44.34839554682384,
"max_text_length": 134,
"unique_text": 1525,
"unique_labels": 11,
"labels": {
"1": {
"count": 197
},
"6": {
"count": 166
},
"4": {
"count": 138
},
"10": {
"count": 103
},
"3": {
"count": 104
},
"5": {
"count": 190
},
"2": {
"count": 115
},
"8": {
"count": 212
},
"7": {
"count": 82
},
"9": {
"count": 76
},
"0": {
"count": 144
}
}
},
"fr": {
"num_samples": 1577,
"number_of_characters": 68008,
"number_texts_intersect_with_train": 12,
"min_text_length": 11,
"average_text_length": 43.12492073557387,
"max_text_length": 141,
"unique_text": 1575,
"unique_labels": 11,
"labels": {
"0": {
"count": 125
},
"1": {
"count": 278
},
"2": {
"count": 92
},
"3": {
"count": 89
},
"4": {
"count": 137
},
"7": {
"count": 145
},
"6": {
"count": 138
},
"5": {
"count": 168
},
"8": {
"count": 203
},
"9": {
"count": 124
},
"10": {
"count": 78
}
}
},
"hi": {
"num_samples": 2012,
"number_of_characters": 78749,
"number_texts_intersect_with_train": 16,
"min_text_length": 7,
"average_text_length": 39.139662027833005,
"max_text_length": 131,
"unique_text": 2011,
"unique_labels": 11,
"labels": {
"0": {
"count": 161
},
"1": {
"count": 304
},
"3": {
"count": 126
},
"4": {
"count": 193
},
"2": {
"count": 109
},
"10": {
"count": 154
},
"5": {
"count": 208
},
"6": {
"count": 167
},
"7": {
"count": 172
},
"8": {
"count": 235
},
"9": {
"count": 183
}
}
},
"th": {
"num_samples": 1671,
"number_of_characters": 58028,
"number_texts_intersect_with_train": 28,
"min_text_length": 5,
"average_text_length": 34.726511071214844,
"max_text_length": 105,
"unique_text": 1670,
"unique_labels": 11,
"labels": {
"0": {
"count": 128
},
"1": {
"count": 277
},
"2": {
"count": 104
},
"3": {
"count": 106
},
"4": {
"count": 150
},
"5": {
"count": 185
},
"6": {
"count": 163
},
"7": {
"count": 126
},
"8": {
"count": 206
},
"9": {
"count": 125
},
"10": {
"count": 101
}
}
}
}
},
"test": {
"num_samples": 19680,
"number_of_characters": 781580,
"number_texts_intersect_with_train": 332,
"min_text_length": 3,
"average_text_length": 39.71443089430894,
"max_text_length": 168,
"unique_text": 19627,
"unique_labels": 11,
"labels": {
"2": {
"count": 977
},
"5": {
"count": 2372
},
"6": {
"count": 2014
},
"8": {
"count": 2572
},
"9": {
"count": 1317
},
"1": {
"count": 3065
},
"10": {
"count": 1330
},
"3": {
"count": 1351
},
"0": {
"count": 1459
},
"7": {
"count": 1535
},
"4": {
"count": 1688
}
},
"hf_subset_descriptive_stats": {
"en": {
"num_samples": 4386,
"number_of_characters": 161376,
"number_texts_intersect_with_train": 15,
"min_text_length": 3,
"average_text_length": 36.79343365253078,
"max_text_length": 132,
"unique_text": 4384,
"unique_labels": 11,
"labels": {
"2": {
"count": 197
},
"5": {
"count": 487
},
"6": {
"count": 418
},
"8": {
"count": 613
},
"9": {
"count": 346
},
"1": {
"count": 613
},
"10": {
"count": 358
},
"3": {
"count": 290
},
"0": {
"count": 341
},
"7": {
"count": 354
},
"4": {
"count": 369
}
}
},
"de": {
"num_samples": 3549,
"number_of_characters": 151445,
"number_texts_intersect_with_train": 69,
"min_text_length": 7,
"average_text_length": 42.67258382642998,
"max_text_length": 162,
"unique_text": 3536,
"unique_labels": 11,
"labels": {
"0": {
"count": 193
},
"10": {
"count": 264
},
"1": {
"count": 553
},
"2": {
"count": 163
},
"3": {
"count": 256
},
"5": {
"count": 439
},
"4": {
"count": 306
},
"6": {
"count": 353
},
"7": {
"count": 279
},
"8": {
"count": 452
},
"9": {
"count": 291
}
}
},
"es": {
"num_samples": 2998,
"number_of_characters": 130569,
"number_texts_intersect_with_train": 97,
"min_text_length": 6,
"average_text_length": 43.552034689793196,
"max_text_length": 168,
"unique_text": 2983,
"unique_labels": 11,
"labels": {
"1": {
"count": 401
},
"6": {
"count": 352
},
"4": {
"count": 246
},
"10": {
"count": 206
},
"3": {
"count": 231
},
"5": {
"count": 404
},
"2": {
"count": 177
},
"8": {
"count": 435
},
"7": {
"count": 156
},
"9": {
"count": 126
},
"0": {
"count": 264
}
}
},
"fr": {
"num_samples": 3193,
"number_of_characters": 140029,
"number_texts_intersect_with_train": 45,
"min_text_length": 6,
"average_text_length": 43.854995302223614,
"max_text_length": 143,
"unique_text": 3187,
"unique_labels": 11,
"labels": {
"0": {
"count": 253
},
"1": {
"count": 551
},
"2": {
"count": 159
},
"3": {
"count": 190
},
"4": {
"count": 280
},
"6": {
"count": 330
},
"5": {
"count": 356
},
"7": {
"count": 272
},
"8": {
"count": 462
},
"10": {
"count": 159
},
"9": {
"count": 181
}
}
},
"hi": {
"num_samples": 2789,
"number_of_characters": 104295,
"number_texts_intersect_with_train": 32,
"min_text_length": 7,
"average_text_length": 37.395123700250984,
"max_text_length": 148,
"unique_text": 2785,
"unique_labels": 11,
"labels": {
"0": {
"count": 208
},
"1": {
"count": 470
},
"5": {
"count": 335
},
"3": {
"count": 195
},
"4": {
"count": 242
},
"2": {
"count": 132
},
"6": {
"count": 267
},
"7": {
"count": 262
},
"8": {
"count": 265
},
"10": {
"count": 186
},
"9": {
"count": 227
}
}
},
"th": {
"num_samples": 2765,
"number_of_characters": 93866,
"number_texts_intersect_with_train": 74,
"min_text_length": 6,
"average_text_length": 33.94792043399638,
"max_text_length": 117,
"unique_text": 2754,
"unique_labels": 11,
"labels": {
"0": {
"count": 200
},
"1": {
"count": 477
},
"2": {
"count": 149
},
"3": {
"count": 189
},
"4": {
"count": 245
},
"6": {
"count": 294
},
"5": {
"count": 351
},
"7": {
"count": 212
},
"8": {
"count": 345
},
"9": {
"count": 146
},
"10": {
"count": 157
}
}
}
}
},
"train": {
"num_samples": 73928,
"number_of_characters": 2937230,
"number_texts_intersect_with_train": null,
"min_text_length": 3,
"average_text_length": 39.73095444215994,
"max_text_length": 216,
"unique_text": 73219,
"unique_labels": 11,
"labels": {
"0": {
"count": 5262
},
"5": {
"count": 8334
},
"6": {
"count": 6961
},
"9": {
"count": 5313
},
"1": {
"count": 11107
},
"8": {
"count": 9698
},
"10": {
"count": 5084
},
"2": {
"count": 4770
},
"4": {
"count": 6644
},
"3": {
"count": 5191
},
"7": {
"count": 5564
}
},
"hf_subset_descriptive_stats": {
"en": {
"num_samples": 15667,
"number_of_characters": 572977,
"number_texts_intersect_with_train": null,
"min_text_length": 4,
"average_text_length": 36.57222186761984,
"max_text_length": 148,
"unique_text": 15634,
"unique_labels": 11,
"labels": {
"0": {
"count": 1165
},
"5": {
"count": 1657
},
"6": {
"count": 1402
},
"9": {
"count": 1303
},
"1": {
"count": 2187
},
"8": {
"count": 2157
},
"10": {
"count": 1219
},
"2": {
"count": 929
},
"4": {
"count": 1353
},
"3": {
"count": 1064
},
"7": {
"count": 1231
}
}
},
"de": {
"num_samples": 13424,
"number_of_characters": 580266,
"number_texts_intersect_with_train": null,
"min_text_length": 5,
"average_text_length": 43.226013110846246,
"max_text_length": 174,
"unique_text": 13264,
"unique_labels": 11,
"labels": {
"0": {
"count": 761
},
"10": {
"count": 996
},
"4": {
"count": 1185
},
"1": {
"count": 2016
},
"7": {
"count": 1029
},
"5": {
"count": 1484
},
"2": {
"count": 814
},
"3": {
"count": 980
},
"6": {
"count": 1265
},
"8": {
"count": 1767
},
"9": {
"count": 1127
}
}
},
"es": {
"num_samples": 10934,
"number_of_characters": 476798,
"number_texts_intersect_with_train": null,
"min_text_length": 6,
"average_text_length": 43.60691421254801,
"max_text_length": 186,
"unique_text": 10740,
"unique_labels": 11,
"labels": {
"1": {
"count": 1459
},
"6": {
"count": 1188
},
"4": {
"count": 928
},
"10": {
"count": 743
},
"3": {
"count": 830
},
"5": {
"count": 1396
},
"2": {
"count": 823
},
"8": {
"count": 1555
},
"7": {
"count": 525
},
"9": {
"count": 560
},
"0": {
"count": 927
}
}
},
"fr": {
"num_samples": 11814,
"number_of_characters": 515029,
"number_texts_intersect_with_train": null,
"min_text_length": 5,
"average_text_length": 43.594802776367025,
"max_text_length": 184,
"unique_text": 11727,
"unique_labels": 11,
"labels": {
"0": {
"count": 861
},
"10": {
"count": 668
},
"1": {
"count": 1968
},
"7": {
"count": 975
},
"5": {
"count": 1261
},
"2": {
"count": 799
},
"3": {
"count": 734
},
"4": {
"count": 1082
},
"6": {
"count": 1113
},
"8": {
"count": 1656
},
"9": {
"count": 697
}
}
},
"hi": {
"num_samples": 11330,
"number_of_characters": 425919,
"number_texts_intersect_with_train": null,
"min_text_length": 4,
"average_text_length": 37.592144748455425,
"max_text_length": 216,
"unique_text": 11251,
"unique_labels": 11,
"labels": {
"0": {
"count": 794
},
"1": {
"count": 1741
},
"7": {
"count": 974
},
"2": {
"count": 670
},
"3": {
"count": 831
},
"5": {
"count": 1272
},
"6": {
"count": 940
},
"4": {
"count": 1073
},
"10": {
"count": 786
},
"8": {
"count": 1281
},
"9": {
"count": 968
}
}
},
"th": {
"num_samples": 10759,
"number_of_characters": 366241,
"number_texts_intersect_with_train": null,
"min_text_length": 3,
"average_text_length": 34.04043126684636,
"max_text_length": 135,
"unique_text": 10622,
"unique_labels": 11,
"labels": {
"0": {
"count": 754
},
"10": {
"count": 672
},
"1": {
"count": 1736
},
"7": {
"count": 830
},
"2": {
"count": 735
},
"3": {
"count": 752
},
"5": {
"count": 1264
},
"6": {
"count": 1053
},
"4": {
"count": 1023
},
"8": {
"count": 1282
},
"9": {
"count": 658
}
}
}
}
}
}
This dataset card was automatically generated using MTEB