LightChen2333
commited on
Commit
·
3d0278e
1
Parent(s):
9534c19
Upload 3 files
Browse files- config.json +10 -3
config.json
CHANGED
@@ -185,7 +185,7 @@
|
|
185 |
"intent_classifier": {
|
186 |
"_model_target_": "model.decoder.classifier.LinearClassifier",
|
187 |
"ignore_index": -100,
|
188 |
-
"input_dim":
|
189 |
"intent_label_num": 7,
|
190 |
"mode": "intent",
|
191 |
"use_intent": true
|
@@ -196,13 +196,13 @@
|
|
196 |
"input_dim": 128,
|
197 |
"intent_label_num": 7,
|
198 |
"num_attention_heads": 8,
|
199 |
-
"output_dim":
|
200 |
"slot_label_num": 72
|
201 |
},
|
202 |
"slot_classifier": {
|
203 |
"_model_target_": "model.decoder.classifier.LinearClassifier",
|
204 |
"ignore_index": -100,
|
205 |
-
"input_dim":
|
206 |
"mode": "slot",
|
207 |
"slot_label_num": 72,
|
208 |
"use_slot": true
|
@@ -229,6 +229,13 @@
|
|
229 |
}
|
230 |
},
|
231 |
"return_dict": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
"tokenizer_class": "OpenSLUv1",
|
233 |
"torch_dtype": "float32",
|
234 |
"transformers_version": "4.25.1",
|
|
|
185 |
"intent_classifier": {
|
186 |
"_model_target_": "model.decoder.classifier.LinearClassifier",
|
187 |
"ignore_index": -100,
|
188 |
+
"input_dim": "{model.encoder.output_dim}",
|
189 |
"intent_label_num": 7,
|
190 |
"mode": "intent",
|
191 |
"use_intent": true
|
|
|
196 |
"input_dim": 128,
|
197 |
"intent_label_num": 7,
|
198 |
"num_attention_heads": 8,
|
199 |
+
"output_dim": "{model.encoder.output_dim}",
|
200 |
"slot_label_num": 72
|
201 |
},
|
202 |
"slot_classifier": {
|
203 |
"_model_target_": "model.decoder.classifier.LinearClassifier",
|
204 |
"ignore_index": -100,
|
205 |
+
"input_dim": "{model.encoder.output_dim}",
|
206 |
"mode": "slot",
|
207 |
"slot_label_num": 72,
|
208 |
"use_slot": true
|
|
|
229 |
}
|
230 |
},
|
231 |
"return_dict": false,
|
232 |
+
"tokenizer": {
|
233 |
+
"_align_mode_": "fast",
|
234 |
+
"_padding_side_": "right",
|
235 |
+
"_tokenizer_name_": "word_tokenizer",
|
236 |
+
"add_special_tokens": false,
|
237 |
+
"max_length": 512
|
238 |
+
},
|
239 |
"tokenizer_class": "OpenSLUv1",
|
240 |
"torch_dtype": "float32",
|
241 |
"transformers_version": "4.25.1",
|