LightChen2333 commited on
Commit
971e88a
1 Parent(s): 1507449

Upload 3 files

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