qanastek commited on
Commit
c8428ad
1 Parent(s): fb3b08a

Change the index of the tag 'O' to zero.

Browse files
Files changed (2) hide show
  1. MASSIVE.py +1 -1
  2. README.md +1 -1
MASSIVE.py CHANGED
@@ -260,7 +260,7 @@ _SCENARIOS = ['social', 'transport', 'calendar', 'play', 'news', 'datetime', 're
260
 
261
  _INTENTS = ['datetime_query', 'iot_hue_lightchange', 'transport_ticket', 'takeaway_query', 'qa_stock', 'general_greet', 'recommendation_events', 'music_dislikeness', 'iot_wemo_off', 'cooking_recipe', 'qa_currency', 'transport_traffic', 'general_quirky', 'weather_query', 'audio_volume_up', 'email_addcontact', 'takeaway_order', 'email_querycontact', 'iot_hue_lightup', 'recommendation_locations', 'play_audiobook', 'lists_createoradd', 'news_query', 'alarm_query', 'iot_wemo_on', 'general_joke', 'qa_definition', 'social_query', 'music_settings', 'audio_volume_other', 'calendar_remove', 'iot_hue_lightdim', 'calendar_query', 'email_sendemail', 'iot_cleaning', 'audio_volume_down', 'play_radio', 'cooking_query', 'datetime_convert', 'qa_maths', 'iot_hue_lightoff', 'iot_hue_lighton', 'transport_query', 'music_likeness', 'email_query', 'play_music', 'audio_volume_mute', 'social_post', 'alarm_set', 'qa_factoid', 'calendar_set', 'play_game', 'alarm_remove', 'lists_remove', 'transport_taxi', 'recommendation_movies', 'iot_coffee', 'music_query', 'play_podcasts', 'lists_query']
262
 
263
- _TAGS = ['I-playlist_name', 'I-general_frequency', 'B-audiobook_name', 'I-player_setting', 'I-business_type', 'I-time', 'I-place_name', 'I-date', 'B-device_type', 'I-song_name', 'B-timeofday', 'B-movie_type', 'B-order_type', 'B-date', 'B-news_topic', 'I-music_descriptor', 'B-media_type', 'B-cooking_type', 'B-meal_type', 'I-movie_name', 'B-joke_type', 'I-media_type', 'B-list_name', 'I-podcast_descriptor', 'I-meal_type', 'I-transport_descriptor', 'I-transport_agency', 'B-player_setting', 'B-house_place', 'B-music_genre', 'I-timeofday', 'I-personal_info', 'I-definition_word', 'B-podcast_name', 'I-podcast_name', 'I-music_album', 'I-transport_type', 'B-business_name', 'B-transport_name', 'B-sport_type', 'I-house_place', 'I-movie_type', 'B-transport_descriptor', 'B-artist_name', 'O', 'I-email_folder', 'I-event_name', 'B-email_folder', 'I-cooking_type', 'B-music_album', 'I-coffee_type', 'I-alarm_type', 'B-game_type', 'I-audiobook_name', 'B-playlist_name', 'B-alarm_type', 'B-place_name', 'I-relation', 'B-drink_type', 'I-drink_type', 'I-business_name', 'I-artist_name', 'B-music_descriptor', 'B-change_amount', 'I-weather_descriptor', 'I-game_name', 'I-app_name', 'I-ingredient', 'B-song_name', 'B-weather_descriptor', 'I-email_address', 'B-time', 'B-color_type', 'B-food_type', 'I-person', 'B-transport_type', 'B-radio_name', 'I-change_amount', 'B-transport_agency', 'B-movie_name', 'B-general_frequency', 'B-event_name', 'I-joke_type', 'B-relation', 'B-coffee_type', 'I-order_type', 'B-email_address', 'B-app_name', 'B-podcast_descriptor', 'B-definition_word', 'I-list_name', 'B-audiobook_author', 'I-audiobook_author', 'I-sport_type', 'I-news_topic', 'B-personal_info', 'I-radio_name', 'B-person', 'I-color_type', 'I-food_type', 'I-device_type', 'B-time_zone', 'I-music_genre', 'B-business_type', 'B-currency_name', 'I-currency_name', 'B-ingredient', 'I-transport_name', 'B-game_name', 'I-time_zone']
264
 
265
  class MASSIVE(datasets.GeneratorBasedBuilder):
266
  """MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languages"""
 
260
 
261
  _INTENTS = ['datetime_query', 'iot_hue_lightchange', 'transport_ticket', 'takeaway_query', 'qa_stock', 'general_greet', 'recommendation_events', 'music_dislikeness', 'iot_wemo_off', 'cooking_recipe', 'qa_currency', 'transport_traffic', 'general_quirky', 'weather_query', 'audio_volume_up', 'email_addcontact', 'takeaway_order', 'email_querycontact', 'iot_hue_lightup', 'recommendation_locations', 'play_audiobook', 'lists_createoradd', 'news_query', 'alarm_query', 'iot_wemo_on', 'general_joke', 'qa_definition', 'social_query', 'music_settings', 'audio_volume_other', 'calendar_remove', 'iot_hue_lightdim', 'calendar_query', 'email_sendemail', 'iot_cleaning', 'audio_volume_down', 'play_radio', 'cooking_query', 'datetime_convert', 'qa_maths', 'iot_hue_lightoff', 'iot_hue_lighton', 'transport_query', 'music_likeness', 'email_query', 'play_music', 'audio_volume_mute', 'social_post', 'alarm_set', 'qa_factoid', 'calendar_set', 'play_game', 'alarm_remove', 'lists_remove', 'transport_taxi', 'recommendation_movies', 'iot_coffee', 'music_query', 'play_podcasts', 'lists_query']
262
 
263
+ _TAGS = ['O', 'I-playlist_name', 'I-general_frequency', 'B-audiobook_name', 'I-player_setting', 'I-business_type', 'I-time', 'I-place_name', 'I-date', 'B-device_type', 'I-song_name', 'B-timeofday', 'B-movie_type', 'B-order_type', 'B-date', 'B-news_topic', 'I-music_descriptor', 'B-media_type', 'B-cooking_type', 'B-meal_type', 'I-movie_name', 'B-joke_type', 'I-media_type', 'B-list_name', 'I-podcast_descriptor', 'I-meal_type', 'I-transport_descriptor', 'I-transport_agency', 'B-player_setting', 'B-house_place', 'B-music_genre', 'I-timeofday', 'I-personal_info', 'I-definition_word', 'B-podcast_name', 'I-podcast_name', 'I-music_album', 'I-transport_type', 'B-business_name', 'B-transport_name', 'B-sport_type', 'I-house_place', 'I-movie_type', 'B-transport_descriptor', 'B-artist_name', 'I-email_folder', 'I-event_name', 'B-email_folder', 'I-cooking_type', 'B-music_album', 'I-coffee_type', 'I-alarm_type', 'B-game_type', 'I-audiobook_name', 'B-playlist_name', 'B-alarm_type', 'B-place_name', 'I-relation', 'B-drink_type', 'I-drink_type', 'I-business_name', 'I-artist_name', 'B-music_descriptor', 'B-change_amount', 'I-weather_descriptor', 'I-game_name', 'I-app_name', 'I-ingredient', 'B-song_name', 'B-weather_descriptor', 'I-email_address', 'B-time', 'B-color_type', 'B-food_type', 'I-person', 'B-transport_type', 'B-radio_name', 'I-change_amount', 'B-transport_agency', 'B-movie_name', 'B-general_frequency', 'B-event_name', 'I-joke_type', 'B-relation', 'B-coffee_type', 'I-order_type', 'B-email_address', 'B-app_name', 'B-podcast_descriptor', 'B-definition_word', 'I-list_name', 'B-audiobook_author', 'I-audiobook_author', 'I-sport_type', 'I-news_topic', 'B-personal_info', 'I-radio_name', 'B-person', 'I-color_type', 'I-food_type', 'I-device_type', 'B-time_zone', 'I-music_genre', 'B-business_type', 'B-currency_name', 'I-currency_name', 'B-ingredient', 'I-transport_name', 'B-game_name', 'I-time_zone']
264
 
265
  class MASSIVE(datasets.GeneratorBasedBuilder):
266
  """MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languages"""
README.md CHANGED
@@ -275,7 +275,7 @@ print(dataset[0])
275
  "le",
276
  "vendredi"
277
  ],
278
- "ner_tags": [44, 44, 71, 5, 5, 5, 44, 13],
279
  "worker_id": "22",
280
  "slot_method": {
281
  "slot": ["time", "date"],
 
275
  "le",
276
  "vendredi"
277
  ],
278
+ "ner_tags": [0, 0, 71, 6, 6, 6, 0, 14],
279
  "worker_id": "22",
280
  "slot_method": {
281
  "slot": ["time", "date"],