LightChen2333
commited on
Commit
•
e4bf7a2
1
Parent(s):
39ab68d
Upload 3 files
Browse files- config.json +161 -285
- pytorch_model.bin +2 -2
- tokenizer.pkl +2 -2
config.json
CHANGED
@@ -1,302 +1,178 @@
|
|
1 |
{
|
2 |
"_id2label": {
|
3 |
"intent": [
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"atis_abbreviation",
|
12 |
-
"atis_aircraft",
|
13 |
-
"atis_distance",
|
14 |
-
"atis_ground_fare",
|
15 |
-
"atis_capacity",
|
16 |
-
"atis_flight_time",
|
17 |
-
"atis_meal",
|
18 |
-
"atis_aircraft#atis_flight#atis_flight_no",
|
19 |
-
"atis_flight_no",
|
20 |
-
"atis_restriction",
|
21 |
-
"atis_airport",
|
22 |
-
"atis_airline#atis_flight_no",
|
23 |
-
"atis_cheapest",
|
24 |
-
"atis_ground_service#atis_ground_fare"
|
25 |
],
|
26 |
"slot": [
|
27 |
"O",
|
28 |
-
"B-
|
29 |
-
"B-
|
30 |
-
"B-
|
31 |
-
"I-
|
32 |
-
"B-
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"B-
|
37 |
-
"
|
38 |
-
"B-
|
39 |
-
"B-
|
40 |
-
"B-
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"I-
|
44 |
-
"
|
45 |
-
"B-
|
46 |
-
"B-
|
47 |
-
"B-
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"B-
|
51 |
-
"B-
|
52 |
-
"B-
|
53 |
-
"
|
54 |
-
"B-
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"B-
|
58 |
-
"
|
59 |
-
"B-
|
60 |
-
"
|
61 |
-
"
|
62 |
-
"I-
|
63 |
-
"
|
64 |
-
"
|
65 |
-
"
|
66 |
-
"
|
67 |
-
"B-
|
68 |
-
"
|
69 |
-
"
|
70 |
-
"B-
|
71 |
-
"I-
|
72 |
-
"B-
|
73 |
-
"
|
74 |
-
"B-
|
75 |
-
"
|
76 |
-
"I-
|
77 |
-
"
|
78 |
-
"B-
|
79 |
-
"B-
|
80 |
-
"B-
|
81 |
-
"
|
82 |
-
"B-
|
83 |
-
"B-
|
84 |
-
"
|
85 |
-
"
|
86 |
-
"I-
|
87 |
-
"
|
88 |
-
"B-
|
89 |
-
"I-
|
90 |
-
"I-
|
91 |
-
"B-
|
92 |
-
"
|
93 |
-
"
|
94 |
-
"I-
|
95 |
-
"
|
96 |
-
"I-
|
97 |
-
"
|
98 |
-
"I-
|
99 |
-
"I-flight_stop",
|
100 |
-
"B-transport_type",
|
101 |
-
"I-transport_type",
|
102 |
-
"B-state_code",
|
103 |
-
"B-aircraft_code",
|
104 |
-
"B-toloc.country_name",
|
105 |
-
"I-arrive_date.day_number",
|
106 |
-
"B-toloc.airport_code",
|
107 |
-
"B-return_date.date_relative",
|
108 |
-
"I-return_date.date_relative",
|
109 |
-
"B-flight_time",
|
110 |
-
"I-economy",
|
111 |
-
"B-fromloc.airport_code",
|
112 |
-
"B-arrive_time.period_of_day",
|
113 |
-
"B-depart_time.period_mod",
|
114 |
-
"I-flight_time",
|
115 |
-
"B-return_date.day_name",
|
116 |
-
"B-arrive_date.date_relative",
|
117 |
-
"B-restriction_code",
|
118 |
-
"I-restriction_code",
|
119 |
-
"B-arrive_time.period_mod",
|
120 |
-
"I-arrive_time.period_of_day",
|
121 |
-
"B-period_of_day",
|
122 |
-
"B-stoploc.state_code",
|
123 |
-
"I-depart_date.today_relative",
|
124 |
-
"I-fare_basis_code",
|
125 |
-
"I-arrive_time.start_time",
|
126 |
-
"B-time",
|
127 |
-
"B-today_relative",
|
128 |
-
"I-today_relative",
|
129 |
-
"B-state_name",
|
130 |
-
"B-days_code",
|
131 |
-
"I-depart_time.period_of_day",
|
132 |
-
"I-arrive_time.time_relative",
|
133 |
-
"B-time_relative",
|
134 |
-
"I-time",
|
135 |
-
"B-return_date.month_name",
|
136 |
-
"B-return_date.day_number",
|
137 |
-
"I-depart_time.time_relative",
|
138 |
-
"B-stoploc.airport_name",
|
139 |
-
"B-day_name",
|
140 |
-
"B-month_name",
|
141 |
-
"B-day_number",
|
142 |
-
"B-return_time.period_mod",
|
143 |
-
"B-return_time.period_of_day",
|
144 |
-
"B-return_date.today_relative",
|
145 |
-
"I-return_date.today_relative",
|
146 |
-
"I-meal_description"
|
147 |
]
|
148 |
},
|
149 |
"_label2id": {
|
150 |
"intent": {
|
151 |
-
"
|
152 |
-
"
|
153 |
-
"
|
154 |
-
"
|
155 |
-
"
|
156 |
-
"
|
157 |
-
"
|
158 |
-
"atis_capacity": 11,
|
159 |
-
"atis_cheapest": 19,
|
160 |
-
"atis_city": 5,
|
161 |
-
"atis_distance": 9,
|
162 |
-
"atis_flight": 0,
|
163 |
-
"atis_flight#atis_airfare": 6,
|
164 |
-
"atis_flight_no": 15,
|
165 |
-
"atis_flight_time": 12,
|
166 |
-
"atis_ground_fare": 10,
|
167 |
-
"atis_ground_service": 3,
|
168 |
-
"atis_ground_service#atis_ground_fare": 20,
|
169 |
-
"atis_meal": 13,
|
170 |
-
"atis_quantity": 4,
|
171 |
-
"atis_restriction": 16
|
172 |
},
|
173 |
"slot": {
|
174 |
-
"B-
|
175 |
-
"B-
|
176 |
-
"B-
|
177 |
-
"B-
|
178 |
-
"B-
|
179 |
-
"B-
|
180 |
-
"B-
|
181 |
-
"B-
|
182 |
-
"B-
|
183 |
-
"B-
|
184 |
-
"B-
|
185 |
-
"B-
|
186 |
-
"B-
|
187 |
-
"B-
|
188 |
-
"B-
|
189 |
-
"B-
|
190 |
-
"B-
|
191 |
-
"B-
|
192 |
-
"B-
|
193 |
-
"B-
|
194 |
-
"B-
|
195 |
-
"B-
|
196 |
-
"B-
|
197 |
-
"B-
|
198 |
-
"B-
|
199 |
-
"B-
|
200 |
-
"B-
|
201 |
-
"B-
|
202 |
-
"B-
|
203 |
-
"B-
|
204 |
-
"B-
|
205 |
-
"B-
|
206 |
-
"B-
|
207 |
-
"B-
|
208 |
-
"B-
|
209 |
-
"B-
|
210 |
-
"B-
|
211 |
-
"B-
|
212 |
-
"B-
|
213 |
-
"
|
214 |
-
"
|
215 |
-
"
|
216 |
-
"
|
217 |
-
"
|
218 |
-
"
|
219 |
-
"
|
220 |
-
"
|
221 |
-
"
|
222 |
-
"
|
223 |
-
"
|
224 |
-
"
|
225 |
-
"
|
226 |
-
"
|
227 |
-
"
|
228 |
-
"
|
229 |
-
"
|
230 |
-
"
|
231 |
-
"
|
232 |
-
"
|
233 |
-
"
|
234 |
-
"
|
235 |
-
"
|
236 |
-
"
|
237 |
-
"
|
238 |
-
"
|
239 |
-
"
|
240 |
-
"
|
241 |
-
"
|
242 |
-
"
|
243 |
-
"
|
244 |
-
"
|
245 |
-
"B-today_relative": 100,
|
246 |
-
"B-toloc.airport_code": 79,
|
247 |
-
"B-toloc.airport_name": 28,
|
248 |
-
"B-toloc.city_name": 2,
|
249 |
-
"B-toloc.country_name": 77,
|
250 |
-
"B-toloc.state_code": 15,
|
251 |
-
"B-toloc.state_name": 25,
|
252 |
-
"B-transport_type": 73,
|
253 |
-
"I-airline_name": 22,
|
254 |
-
"I-airport_name": 71,
|
255 |
-
"I-arrive_date.day_number": 78,
|
256 |
-
"I-arrive_time.end_time": 62,
|
257 |
-
"I-arrive_time.period_of_day": 93,
|
258 |
-
"I-arrive_time.start_time": 98,
|
259 |
-
"I-arrive_time.time": 14,
|
260 |
-
"I-arrive_time.time_relative": 105,
|
261 |
-
"I-city_name": 50,
|
262 |
-
"I-class_type": 34,
|
263 |
-
"I-cost_relative": 35,
|
264 |
-
"I-depart_date.day_number": 44,
|
265 |
-
"I-depart_date.today_relative": 96,
|
266 |
-
"I-depart_time.end_time": 59,
|
267 |
-
"I-depart_time.period_of_day": 104,
|
268 |
-
"I-depart_time.start_time": 57,
|
269 |
-
"I-depart_time.time": 36,
|
270 |
-
"I-depart_time.time_relative": 110,
|
271 |
-
"I-economy": 83,
|
272 |
-
"I-fare_amount": 7,
|
273 |
-
"I-fare_basis_code": 97,
|
274 |
-
"I-flight_mod": 63,
|
275 |
-
"I-flight_stop": 72,
|
276 |
-
"I-flight_time": 87,
|
277 |
-
"I-fromloc.airport_name": 38,
|
278 |
-
"I-fromloc.city_name": 10,
|
279 |
-
"I-fromloc.state_name": 49,
|
280 |
-
"I-meal_code": 69,
|
281 |
-
"I-meal_description": 119,
|
282 |
-
"I-restriction_code": 91,
|
283 |
-
"I-return_date.date_relative": 81,
|
284 |
-
"I-return_date.today_relative": 118,
|
285 |
-
"I-round_trip": 4,
|
286 |
-
"I-stoploc.city_name": 17,
|
287 |
-
"I-time": 107,
|
288 |
-
"I-today_relative": 101,
|
289 |
-
"I-toloc.airport_name": 29,
|
290 |
-
"I-toloc.city_name": 16,
|
291 |
-
"I-toloc.state_name": 67,
|
292 |
-
"I-transport_type": 74,
|
293 |
"O": 0
|
294 |
}
|
295 |
},
|
296 |
"_name_or_path": "OpenSLUv1",
|
297 |
"_num_labels": {
|
298 |
-
"intent":
|
299 |
-
"slot":
|
300 |
},
|
301 |
"architectures": [
|
302 |
"PretrainedModelForSLUToSave"
|
@@ -310,7 +186,7 @@
|
|
310 |
"_model_target_": "model.decoder.classifier.LinearClassifier",
|
311 |
"ignore_index": -100,
|
312 |
"input_dim": 256,
|
313 |
-
"intent_label_num":
|
314 |
"mode": "intent",
|
315 |
"use_intent": true
|
316 |
},
|
@@ -326,7 +202,7 @@
|
|
326 |
"ignore_index": -100,
|
327 |
"input_dim": 256,
|
328 |
"mode": "slot",
|
329 |
-
"slot_label_num":
|
330 |
"use_slot": true
|
331 |
}
|
332 |
},
|
@@ -353,5 +229,5 @@
|
|
353 |
"tokenizer_class": "OpenSLUv1",
|
354 |
"torch_dtype": "float32",
|
355 |
"transformers_version": "4.25.1",
|
356 |
-
"vocab_size":
|
357 |
}
|
|
|
1 |
{
|
2 |
"_id2label": {
|
3 |
"intent": [
|
4 |
+
"PlayMusic",
|
5 |
+
"AddToPlaylist",
|
6 |
+
"RateBook",
|
7 |
+
"SearchScreeningEvent",
|
8 |
+
"BookRestaurant",
|
9 |
+
"GetWeather",
|
10 |
+
"SearchCreativeWork"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
],
|
12 |
"slot": [
|
13 |
"O",
|
14 |
+
"B-artist",
|
15 |
+
"B-album",
|
16 |
+
"B-service",
|
17 |
+
"I-service",
|
18 |
+
"B-entity_name",
|
19 |
+
"I-entity_name",
|
20 |
+
"B-playlist",
|
21 |
+
"I-playlist",
|
22 |
+
"B-object_select",
|
23 |
+
"B-object_type",
|
24 |
+
"B-rating_value",
|
25 |
+
"B-best_rating",
|
26 |
+
"B-music_item",
|
27 |
+
"B-track",
|
28 |
+
"I-track",
|
29 |
+
"I-artist",
|
30 |
+
"B-playlist_owner",
|
31 |
+
"B-year",
|
32 |
+
"B-sort",
|
33 |
+
"B-movie_name",
|
34 |
+
"I-movie_name",
|
35 |
+
"B-party_size_number",
|
36 |
+
"B-state",
|
37 |
+
"B-city",
|
38 |
+
"B-timeRange",
|
39 |
+
"I-timeRange",
|
40 |
+
"B-object_part_of_series_type",
|
41 |
+
"I-object_type",
|
42 |
+
"B-movie_type",
|
43 |
+
"B-spatial_relation",
|
44 |
+
"I-spatial_relation",
|
45 |
+
"B-geographic_poi",
|
46 |
+
"I-geographic_poi",
|
47 |
+
"B-restaurant_type",
|
48 |
+
"I-city",
|
49 |
+
"B-party_size_description",
|
50 |
+
"I-party_size_description",
|
51 |
+
"B-object_location_type",
|
52 |
+
"I-object_location_type",
|
53 |
+
"B-object_name",
|
54 |
+
"I-object_name",
|
55 |
+
"I-movie_type",
|
56 |
+
"B-rating_unit",
|
57 |
+
"I-sort",
|
58 |
+
"B-location_name",
|
59 |
+
"I-location_name",
|
60 |
+
"B-current_location",
|
61 |
+
"I-current_location",
|
62 |
+
"I-playlist_owner",
|
63 |
+
"B-served_dish",
|
64 |
+
"B-country",
|
65 |
+
"B-condition_temperature",
|
66 |
+
"B-poi",
|
67 |
+
"I-poi",
|
68 |
+
"B-condition_description",
|
69 |
+
"B-genre",
|
70 |
+
"B-restaurant_name",
|
71 |
+
"I-restaurant_name",
|
72 |
+
"I-state",
|
73 |
+
"I-served_dish",
|
74 |
+
"B-cuisine",
|
75 |
+
"I-album",
|
76 |
+
"I-country",
|
77 |
+
"B-facility",
|
78 |
+
"I-facility",
|
79 |
+
"I-cuisine",
|
80 |
+
"I-music_item",
|
81 |
+
"I-object_select",
|
82 |
+
"I-restaurant_type",
|
83 |
+
"I-object_part_of_series_type",
|
84 |
+
"I-genre"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
]
|
86 |
},
|
87 |
"_label2id": {
|
88 |
"intent": {
|
89 |
+
"AddToPlaylist": 1,
|
90 |
+
"BookRestaurant": 4,
|
91 |
+
"GetWeather": 5,
|
92 |
+
"PlayMusic": 0,
|
93 |
+
"RateBook": 2,
|
94 |
+
"SearchCreativeWork": 6,
|
95 |
+
"SearchScreeningEvent": 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
},
|
97 |
"slot": {
|
98 |
+
"B-album": 2,
|
99 |
+
"B-artist": 1,
|
100 |
+
"B-best_rating": 12,
|
101 |
+
"B-city": 24,
|
102 |
+
"B-condition_description": 55,
|
103 |
+
"B-condition_temperature": 52,
|
104 |
+
"B-country": 51,
|
105 |
+
"B-cuisine": 61,
|
106 |
+
"B-current_location": 47,
|
107 |
+
"B-entity_name": 5,
|
108 |
+
"B-facility": 64,
|
109 |
+
"B-genre": 56,
|
110 |
+
"B-geographic_poi": 32,
|
111 |
+
"B-location_name": 45,
|
112 |
+
"B-movie_name": 20,
|
113 |
+
"B-movie_type": 29,
|
114 |
+
"B-music_item": 13,
|
115 |
+
"B-object_location_type": 38,
|
116 |
+
"B-object_name": 40,
|
117 |
+
"B-object_part_of_series_type": 27,
|
118 |
+
"B-object_select": 9,
|
119 |
+
"B-object_type": 10,
|
120 |
+
"B-party_size_description": 36,
|
121 |
+
"B-party_size_number": 22,
|
122 |
+
"B-playlist": 7,
|
123 |
+
"B-playlist_owner": 17,
|
124 |
+
"B-poi": 53,
|
125 |
+
"B-rating_unit": 43,
|
126 |
+
"B-rating_value": 11,
|
127 |
+
"B-restaurant_name": 57,
|
128 |
+
"B-restaurant_type": 34,
|
129 |
+
"B-served_dish": 50,
|
130 |
+
"B-service": 3,
|
131 |
+
"B-sort": 19,
|
132 |
+
"B-spatial_relation": 30,
|
133 |
+
"B-state": 23,
|
134 |
+
"B-timeRange": 25,
|
135 |
+
"B-track": 14,
|
136 |
+
"B-year": 18,
|
137 |
+
"I-album": 62,
|
138 |
+
"I-artist": 16,
|
139 |
+
"I-city": 35,
|
140 |
+
"I-country": 63,
|
141 |
+
"I-cuisine": 66,
|
142 |
+
"I-current_location": 48,
|
143 |
+
"I-entity_name": 6,
|
144 |
+
"I-facility": 65,
|
145 |
+
"I-genre": 71,
|
146 |
+
"I-geographic_poi": 33,
|
147 |
+
"I-location_name": 46,
|
148 |
+
"I-movie_name": 21,
|
149 |
+
"I-movie_type": 42,
|
150 |
+
"I-music_item": 67,
|
151 |
+
"I-object_location_type": 39,
|
152 |
+
"I-object_name": 41,
|
153 |
+
"I-object_part_of_series_type": 70,
|
154 |
+
"I-object_select": 68,
|
155 |
+
"I-object_type": 28,
|
156 |
+
"I-party_size_description": 37,
|
157 |
+
"I-playlist": 8,
|
158 |
+
"I-playlist_owner": 49,
|
159 |
+
"I-poi": 54,
|
160 |
+
"I-restaurant_name": 58,
|
161 |
+
"I-restaurant_type": 69,
|
162 |
+
"I-served_dish": 60,
|
163 |
+
"I-service": 4,
|
164 |
+
"I-sort": 44,
|
165 |
+
"I-spatial_relation": 31,
|
166 |
+
"I-state": 59,
|
167 |
+
"I-timeRange": 26,
|
168 |
+
"I-track": 15,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
"O": 0
|
170 |
}
|
171 |
},
|
172 |
"_name_or_path": "OpenSLUv1",
|
173 |
"_num_labels": {
|
174 |
+
"intent": 7,
|
175 |
+
"slot": 72
|
176 |
},
|
177 |
"architectures": [
|
178 |
"PretrainedModelForSLUToSave"
|
|
|
186 |
"_model_target_": "model.decoder.classifier.LinearClassifier",
|
187 |
"ignore_index": -100,
|
188 |
"input_dim": 256,
|
189 |
+
"intent_label_num": 7,
|
190 |
"mode": "intent",
|
191 |
"use_intent": true
|
192 |
},
|
|
|
202 |
"ignore_index": -100,
|
203 |
"input_dim": 256,
|
204 |
"mode": "slot",
|
205 |
+
"slot_label_num": 72,
|
206 |
"use_slot": true
|
207 |
}
|
208 |
},
|
|
|
229 |
"tokenizer_class": "OpenSLUv1",
|
230 |
"torch_dtype": "float32",
|
231 |
"transformers_version": "4.25.1",
|
232 |
+
"vocab_size": 11767
|
233 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39f8829ef5bc935550c23bdf18940e7a5efebf4156664f7a512cd225a6410880
|
3 |
+
size 15563716
|
tokenizer.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fee59a56fb6cbbe664361aaf51d6a4e518c78a6af7beeac249f21b01fba4ab2a
|
3 |
+
size 205516
|