Datasets:
Upload 4 files
Browse files- convert.py +3 -0
- data_full.csv +0 -0
- domain_map.txt +11 -0
- label_map.txt +151 -0
convert.py
CHANGED
@@ -3,6 +3,7 @@ Convert the json data to a parquet file
|
|
3 |
"""
|
4 |
|
5 |
import json
|
|
|
6 |
|
7 |
import pandas as pd
|
8 |
|
@@ -69,6 +70,8 @@ def run():
|
|
69 |
}
|
70 |
)
|
71 |
|
|
|
|
|
72 |
df = pd.DataFrame(rows)
|
73 |
df.to_csv("data_full.csv", index=False)
|
74 |
|
|
|
3 |
"""
|
4 |
|
5 |
import json
|
6 |
+
import random
|
7 |
|
8 |
import pandas as pd
|
9 |
|
|
|
70 |
}
|
71 |
)
|
72 |
|
73 |
+
random.shuffle(rows)
|
74 |
+
|
75 |
df = pd.DataFrame(rows)
|
76 |
df.to_csv("data_full.csv", index=False)
|
77 |
|
data_full.csv
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
domain_map.txt
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 oos
|
2 |
+
1 banking
|
3 |
+
2 credit_cards
|
4 |
+
3 kitchen_and_dining
|
5 |
+
4 home
|
6 |
+
5 auto_and_commute
|
7 |
+
6 travel
|
8 |
+
7 utility
|
9 |
+
8 work
|
10 |
+
9 small_talk
|
11 |
+
10 meta
|
label_map.txt
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 oos:oos
|
2 |
+
1 banking:freeze_account
|
3 |
+
2 banking:routing
|
4 |
+
3 banking:pin_change
|
5 |
+
4 banking:bill_due
|
6 |
+
5 banking:pay_bill
|
7 |
+
6 banking:account_blocked
|
8 |
+
7 banking:interest_rate
|
9 |
+
8 banking:min_payment
|
10 |
+
9 banking:bill_balance
|
11 |
+
10 banking:transfer
|
12 |
+
11 banking:order_checks
|
13 |
+
12 banking:balance
|
14 |
+
13 banking:spending_history
|
15 |
+
14 banking:transactions
|
16 |
+
15 banking:report_fraud
|
17 |
+
16 credit_cards:replacement_card_duration
|
18 |
+
17 credit_cards:expiration_date
|
19 |
+
18 credit_cards:damaged_card
|
20 |
+
19 credit_cards:improve_credit_score
|
21 |
+
20 credit_cards:report_lost_card
|
22 |
+
21 credit_cards:card_declined
|
23 |
+
22 credit_cards:credit_limit_change
|
24 |
+
23 credit_cards:apr
|
25 |
+
24 credit_cards:redeem_rewards
|
26 |
+
25 credit_cards:credit_limit
|
27 |
+
26 credit_cards:rewards_balance
|
28 |
+
27 credit_cards:application_status
|
29 |
+
28 credit_cards:credit_score
|
30 |
+
29 credit_cards:new_card
|
31 |
+
30 credit_cards:international_fees
|
32 |
+
31 kitchen_and_dining:food_last
|
33 |
+
32 kitchen_and_dining:confirm_reservation
|
34 |
+
33 kitchen_and_dining:how_busy
|
35 |
+
34 kitchen_and_dining:ingredients_list
|
36 |
+
35 kitchen_and_dining:calories
|
37 |
+
36 kitchen_and_dining:nutrition_info
|
38 |
+
37 kitchen_and_dining:recipe
|
39 |
+
38 kitchen_and_dining:restaurant_reviews
|
40 |
+
39 kitchen_and_dining:restaurant_reservation
|
41 |
+
40 kitchen_and_dining:meal_suggestion
|
42 |
+
41 kitchen_and_dining:restaurant_suggestion
|
43 |
+
42 kitchen_and_dining:cancel_reservation
|
44 |
+
43 kitchen_and_dining:ingredient_substitution
|
45 |
+
44 kitchen_and_dining:cook_time
|
46 |
+
45 kitchen_and_dining:accept_reservations
|
47 |
+
46 home:what_song
|
48 |
+
47 home:play_music
|
49 |
+
48 home:todo_list_update
|
50 |
+
49 home:reminder
|
51 |
+
50 home:reminder_update
|
52 |
+
51 home:calendar_update
|
53 |
+
52 home:order_status
|
54 |
+
53 home:update_playlist
|
55 |
+
54 home:shopping_list
|
56 |
+
55 home:calendar
|
57 |
+
56 home:next_song
|
58 |
+
57 home:order
|
59 |
+
58 home:todo_list
|
60 |
+
59 home:shopping_list_update
|
61 |
+
60 home:smart_home
|
62 |
+
61 auto_and_commute:current_location
|
63 |
+
62 auto_and_commute:oil_change_when
|
64 |
+
63 auto_and_commute:oil_change_how
|
65 |
+
64 auto_and_commute:uber
|
66 |
+
65 auto_and_commute:traffic
|
67 |
+
66 auto_and_commute:tire_pressure
|
68 |
+
67 auto_and_commute:schedule_maintenance
|
69 |
+
68 auto_and_commute:gas
|
70 |
+
69 auto_and_commute:mpg
|
71 |
+
70 auto_and_commute:distance
|
72 |
+
71 auto_and_commute:directions
|
73 |
+
72 auto_and_commute:last_maintenance
|
74 |
+
73 auto_and_commute:gas_type
|
75 |
+
74 auto_and_commute:tire_change
|
76 |
+
75 auto_and_commute:jump_start
|
77 |
+
76 travel:plug_type
|
78 |
+
77 travel:travel_notification
|
79 |
+
78 travel:translate
|
80 |
+
79 travel:flight_status
|
81 |
+
80 travel:international_visa
|
82 |
+
81 travel:timezone
|
83 |
+
82 travel:exchange_rate
|
84 |
+
83 travel:travel_suggestion
|
85 |
+
84 travel:travel_alert
|
86 |
+
85 travel:vaccines
|
87 |
+
86 travel:lost_luggage
|
88 |
+
87 travel:book_flight
|
89 |
+
88 travel:book_hotel
|
90 |
+
89 travel:carry_on
|
91 |
+
90 travel:car_rental
|
92 |
+
91 utility:weather
|
93 |
+
92 utility:alarm
|
94 |
+
93 utility:date
|
95 |
+
94 utility:find_phone
|
96 |
+
95 utility:share_location
|
97 |
+
96 utility:timer
|
98 |
+
97 utility:make_call
|
99 |
+
98 utility:calculator
|
100 |
+
99 utility:definition
|
101 |
+
100 utility:measurement_conversion
|
102 |
+
101 utility:flip_coin
|
103 |
+
102 utility:spelling
|
104 |
+
103 utility:time
|
105 |
+
104 utility:roll_dice
|
106 |
+
105 utility:text
|
107 |
+
106 work:pto_request_status
|
108 |
+
107 work:next_holiday
|
109 |
+
108 work:insurance_change
|
110 |
+
109 work:insurance
|
111 |
+
110 work:meeting_schedule
|
112 |
+
111 work:payday
|
113 |
+
112 work:taxes
|
114 |
+
113 work:income
|
115 |
+
114 work:rollover_401k
|
116 |
+
115 work:pto_balance
|
117 |
+
116 work:pto_request
|
118 |
+
117 work:w2
|
119 |
+
118 work:schedule_meeting
|
120 |
+
119 work:direct_deposit
|
121 |
+
120 work:pto_used
|
122 |
+
121 small_talk:who_made_you
|
123 |
+
122 small_talk:meaning_of_life
|
124 |
+
123 small_talk:who_do_you_work_for
|
125 |
+
124 small_talk:do_you_have_pets
|
126 |
+
125 small_talk:what_are_your_hobbies
|
127 |
+
126 small_talk:fun_fact
|
128 |
+
127 small_talk:what_is_your_name
|
129 |
+
128 small_talk:where_are_you_from
|
130 |
+
129 small_talk:goodbye
|
131 |
+
130 small_talk:thank_you
|
132 |
+
131 small_talk:greeting
|
133 |
+
132 small_talk:tell_joke
|
134 |
+
133 small_talk:are_you_a_bot
|
135 |
+
134 small_talk:how_old_are_you
|
136 |
+
135 small_talk:what_can_i_ask_you
|
137 |
+
136 meta:change_speed
|
138 |
+
137 meta:user_name
|
139 |
+
138 meta:whisper_mode
|
140 |
+
139 meta:yes
|
141 |
+
140 meta:change_volume
|
142 |
+
141 meta:no
|
143 |
+
142 meta:change_language
|
144 |
+
143 meta:repeat
|
145 |
+
144 meta:change_accent
|
146 |
+
145 meta:cancel
|
147 |
+
146 meta:sync_device
|
148 |
+
147 meta:change_user_name
|
149 |
+
148 meta:change_ai_name
|
150 |
+
149 meta:reset_settings
|
151 |
+
150 meta:maybe
|