Datasets:
Change the DEFAULT_CONFIG_NAME
Browse files- MASSIVE.py +4 -2
- test_MASSIVE.py +2 -2
MASSIVE.py
CHANGED
@@ -262,6 +262,8 @@ _INTENTS = ['audio_volume_other', 'play_music', 'iot_hue_lighton', 'general_gree
|
|
262 |
|
263 |
_TAGS = ['O', 'B-food_type', 'B-movie_type', 'B-person', 'B-change_amount', 'I-relation', 'I-game_name', 'B-date', 'B-movie_name', 'I-person', 'I-place_name', 'I-podcast_descriptor', 'I-audiobook_name', 'B-email_folder', 'B-coffee_type', 'B-app_name', 'I-time', 'I-coffee_type', 'B-transport_agency', 'B-podcast_descriptor', 'I-playlist_name', 'B-media_type', 'B-song_name', 'I-music_descriptor', 'I-song_name', 'B-event_name', 'I-timeofday', 'B-alarm_type', 'B-cooking_type', 'I-business_name', 'I-color_type', 'B-podcast_name', 'I-personal_info', 'B-weather_descriptor', 'I-list_name', 'B-transport_descriptor', 'I-game_type', 'I-date', 'B-place_name', 'B-color_type', 'B-game_name', 'I-artist_name', 'I-drink_type', 'B-business_name', 'B-timeofday', 'B-sport_type', 'I-player_setting', 'I-transport_agency', 'B-game_type', 'B-player_setting', 'I-music_album', 'I-event_name', 'I-general_frequency', 'I-podcast_name', 'I-cooking_type', 'I-radio_name', 'I-joke_type', 'I-meal_type', 'I-transport_type', 'B-joke_type', 'B-time', 'B-order_type', 'B-business_type', 'B-general_frequency', 'I-food_type', 'I-time_zone', 'B-currency_name', 'B-time_zone', 'B-ingredient', 'B-house_place', 'B-audiobook_name', 'I-ingredient', 'I-media_type', 'I-news_topic', 'B-music_genre', 'I-definition_word', 'B-list_name', 'B-playlist_name', 'B-email_address', 'I-currency_name', 'I-movie_name', 'I-device_type', 'I-weather_descriptor', 'B-audiobook_author', 'I-audiobook_author', 'I-app_name', 'I-order_type', 'I-transport_name', 'B-radio_name', 'I-business_type', 'B-definition_word', 'B-artist_name', 'I-movie_type', 'B-transport_name', 'I-email_folder', 'B-music_album', 'I-house_place', 'I-music_genre', 'B-drink_type', 'I-alarm_type', 'B-music_descriptor', 'B-news_topic', 'B-meal_type', 'I-transport_descriptor', 'I-email_address', 'I-change_amount', 'B-device_type', 'B-transport_type', 'B-relation', 'I-sport_type', 'B-personal_info']
|
264 |
|
|
|
|
|
265 |
class MASSIVE(datasets.GeneratorBasedBuilder):
|
266 |
"""MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languages"""
|
267 |
|
@@ -274,12 +276,12 @@ class MASSIVE(datasets.GeneratorBasedBuilder):
|
|
274 |
]
|
275 |
|
276 |
BUILDER_CONFIGS.append(datasets.BuilderConfig(
|
277 |
-
name =
|
278 |
version = datasets.Version("1.0.0"),
|
279 |
description = f"The MASSIVE corpora for entire corpus",
|
280 |
))
|
281 |
|
282 |
-
DEFAULT_CONFIG_NAME =
|
283 |
|
284 |
def _info(self):
|
285 |
return datasets.DatasetInfo(
|
|
|
262 |
|
263 |
_TAGS = ['O', 'B-food_type', 'B-movie_type', 'B-person', 'B-change_amount', 'I-relation', 'I-game_name', 'B-date', 'B-movie_name', 'I-person', 'I-place_name', 'I-podcast_descriptor', 'I-audiobook_name', 'B-email_folder', 'B-coffee_type', 'B-app_name', 'I-time', 'I-coffee_type', 'B-transport_agency', 'B-podcast_descriptor', 'I-playlist_name', 'B-media_type', 'B-song_name', 'I-music_descriptor', 'I-song_name', 'B-event_name', 'I-timeofday', 'B-alarm_type', 'B-cooking_type', 'I-business_name', 'I-color_type', 'B-podcast_name', 'I-personal_info', 'B-weather_descriptor', 'I-list_name', 'B-transport_descriptor', 'I-game_type', 'I-date', 'B-place_name', 'B-color_type', 'B-game_name', 'I-artist_name', 'I-drink_type', 'B-business_name', 'B-timeofday', 'B-sport_type', 'I-player_setting', 'I-transport_agency', 'B-game_type', 'B-player_setting', 'I-music_album', 'I-event_name', 'I-general_frequency', 'I-podcast_name', 'I-cooking_type', 'I-radio_name', 'I-joke_type', 'I-meal_type', 'I-transport_type', 'B-joke_type', 'B-time', 'B-order_type', 'B-business_type', 'B-general_frequency', 'I-food_type', 'I-time_zone', 'B-currency_name', 'B-time_zone', 'B-ingredient', 'B-house_place', 'B-audiobook_name', 'I-ingredient', 'I-media_type', 'I-news_topic', 'B-music_genre', 'I-definition_word', 'B-list_name', 'B-playlist_name', 'B-email_address', 'I-currency_name', 'I-movie_name', 'I-device_type', 'I-weather_descriptor', 'B-audiobook_author', 'I-audiobook_author', 'I-app_name', 'I-order_type', 'I-transport_name', 'B-radio_name', 'I-business_type', 'B-definition_word', 'B-artist_name', 'I-movie_type', 'B-transport_name', 'I-email_folder', 'B-music_album', 'I-house_place', 'I-music_genre', 'B-drink_type', 'I-alarm_type', 'B-music_descriptor', 'B-news_topic', 'B-meal_type', 'I-transport_descriptor', 'I-email_address', 'I-change_amount', 'B-device_type', 'B-transport_type', 'B-relation', 'I-sport_type', 'B-personal_info']
|
264 |
|
265 |
+
_ALL = "all"
|
266 |
+
|
267 |
class MASSIVE(datasets.GeneratorBasedBuilder):
|
268 |
"""MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languages"""
|
269 |
|
|
|
276 |
]
|
277 |
|
278 |
BUILDER_CONFIGS.append(datasets.BuilderConfig(
|
279 |
+
name = _ALL,
|
280 |
version = datasets.Version("1.0.0"),
|
281 |
description = f"The MASSIVE corpora for entire corpus",
|
282 |
))
|
283 |
|
284 |
+
DEFAULT_CONFIG_NAME = _ALL
|
285 |
|
286 |
def _info(self):
|
287 |
return datasets.DatasetInfo(
|
test_MASSIVE.py
CHANGED
@@ -2,8 +2,8 @@ from datasets import load_dataset, set_caching_enabled
|
|
2 |
|
3 |
set_caching_enabled(False)
|
4 |
|
5 |
-
source = "MASSIVE.py"
|
6 |
-
|
7 |
|
8 |
dataset = load_dataset(source, "all")
|
9 |
# dataset = load_dataset(source, "ja-JP")
|
|
|
2 |
|
3 |
set_caching_enabled(False)
|
4 |
|
5 |
+
# source = "MASSIVE.py"
|
6 |
+
source = "qanastek/MASSIVE"
|
7 |
|
8 |
dataset = load_dataset(source, "all")
|
9 |
# dataset = load_dataset(source, "ja-JP")
|