LightChen2333
commited on
Commit
•
971e88a
1
Parent(s):
1507449
Upload 3 files
Browse files- config.json +259 -161
- pytorch_model.bin +2 -2
- tokenizer.pkl +2 -2
config.json
CHANGED
@@ -1,178 +1,276 @@
|
|
1 |
{
|
2 |
"_id2label": {
|
3 |
"intent": [
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
],
|
12 |
"slot": [
|
13 |
"O",
|
14 |
-
"B-
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"B-
|
19 |
-
"
|
20 |
-
"B-
|
21 |
-
"B-
|
22 |
-
"B-
|
23 |
-
"I-
|
24 |
-
"B-
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"B-
|
28 |
-
"I-
|
29 |
-
"B-
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"B-
|
34 |
-
"
|
35 |
-
"B-
|
36 |
-
"B-
|
37 |
-
"I-
|
38 |
-
"B-
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"B-
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"B-
|
45 |
-
"B-
|
46 |
-
"I-
|
47 |
-
"B-
|
48 |
-
"
|
49 |
-
"B-
|
50 |
-
"I-
|
51 |
-
"B-
|
52 |
-
"
|
53 |
-
"B-
|
54 |
-
"I-
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"B-
|
58 |
-
"
|
59 |
-
"B-
|
60 |
-
"B-
|
61 |
-
"I-
|
62 |
-
"I-
|
63 |
-
"B-
|
64 |
-
"
|
65 |
-
"B-
|
66 |
-
"
|
67 |
-
"B-
|
68 |
-
"B-
|
69 |
-
"I-
|
70 |
-
"B-
|
71 |
-
"
|
72 |
-
"B-
|
73 |
-
"
|
74 |
-
"
|
75 |
-
"I-
|
76 |
-
"
|
77 |
-
"B-
|
78 |
-
"B-
|
79 |
-
"
|
80 |
-
"
|
81 |
-
"
|
82 |
-
"
|
83 |
-
"
|
84 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
]
|
86 |
},
|
87 |
"_label2id": {
|
88 |
"intent": {
|
89 |
-
"
|
90 |
-
"
|
91 |
-
"
|
92 |
-
"
|
93 |
-
"
|
94 |
-
"
|
95 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
},
|
97 |
"slot": {
|
98 |
-
"B-
|
99 |
-
"B-
|
100 |
-
"B-
|
101 |
-
"B-
|
102 |
-
"B-
|
103 |
-
"B-
|
104 |
-
"B-
|
105 |
-
"B-
|
106 |
-
"B-
|
107 |
-
"B-
|
108 |
-
"B-
|
109 |
-
"B-
|
110 |
-
"B-
|
111 |
-
"B-
|
112 |
-
"B-
|
113 |
-
"B-
|
114 |
-
"B-
|
115 |
-
"B-
|
116 |
-
"B-
|
117 |
-
"B-
|
118 |
-
"B-
|
119 |
-
"B-
|
120 |
-
"B-
|
121 |
-
"B-
|
122 |
-
"B-
|
123 |
-
"B-
|
124 |
-
"B-
|
125 |
-
"B-
|
126 |
-
"B-
|
127 |
-
"B-
|
128 |
-
"B-
|
129 |
-
"B-
|
130 |
-
"B-
|
131 |
-
"B-
|
132 |
-
"B-
|
133 |
-
"B-
|
134 |
-
"B-
|
135 |
-
"B-
|
136 |
-
"B-
|
137 |
-
"
|
138 |
-
"
|
139 |
-
"
|
140 |
-
"
|
141 |
-
"
|
142 |
-
"
|
143 |
-
"
|
144 |
-
"
|
145 |
-
"
|
146 |
-
"
|
147 |
-
"
|
148 |
-
"
|
149 |
-
"
|
150 |
-
"
|
151 |
-
"
|
152 |
-
"
|
153 |
-
"
|
154 |
-
"
|
155 |
-
"
|
156 |
-
"
|
157 |
-
"
|
158 |
-
"
|
159 |
-
"
|
160 |
-
"
|
161 |
-
"
|
162 |
-
"
|
163 |
-
"
|
164 |
-
"
|
165 |
-
"
|
166 |
-
"
|
167 |
-
"
|
168 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
"O": 0
|
170 |
}
|
171 |
},
|
172 |
"_name_or_path": "OpenSLUv1",
|
173 |
"_num_labels": {
|
174 |
-
"intent":
|
175 |
-
"slot":
|
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":
|
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":
|
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":
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5435e3d70b344234613dbde8264bbcd6c4a1c990b3848a0801907aa0d5426361
|
3 |
+
size 12218
|