LightChen2333
commited on
Commit
•
3f78781
1
Parent(s):
e03f735
Upload 3 files
Browse files- config.json +6 -3
config.json
CHANGED
@@ -201,7 +201,9 @@
|
|
201 |
"interaction": {
|
202 |
"_model_target_": "model.decoder.interaction.StackInteraction",
|
203 |
"differentiable": false,
|
204 |
-
"input_dim": 384
|
|
|
|
|
205 |
},
|
206 |
"slot_classifier": {
|
207 |
"_model_target_": "model.decoder.classifier.AutoregressiveLSTMClassifier",
|
@@ -211,7 +213,7 @@
|
|
211 |
"force_ratio": 0.9,
|
212 |
"hidden_dim": 64,
|
213 |
"ignore_index": -100,
|
214 |
-
"input_dim":
|
215 |
"layer_num": 1,
|
216 |
"mode": "slot",
|
217 |
"return_sentence_level": false,
|
@@ -229,7 +231,8 @@
|
|
229 |
},
|
230 |
"embedding": {
|
231 |
"dropout_rate": 0.4,
|
232 |
-
"embedding_dim": 256
|
|
|
233 |
},
|
234 |
"encoder_name": "self-attention-lstm",
|
235 |
"lstm": {
|
|
|
201 |
"interaction": {
|
202 |
"_model_target_": "model.decoder.interaction.StackInteraction",
|
203 |
"differentiable": false,
|
204 |
+
"input_dim": 384,
|
205 |
+
"intent_label_num": 7,
|
206 |
+
"slot_label_num": 72
|
207 |
},
|
208 |
"slot_classifier": {
|
209 |
"_model_target_": "model.decoder.classifier.AutoregressiveLSTMClassifier",
|
|
|
213 |
"force_ratio": 0.9,
|
214 |
"hidden_dim": 64,
|
215 |
"ignore_index": -100,
|
216 |
+
"input_dim": 391,
|
217 |
"layer_num": 1,
|
218 |
"mode": "slot",
|
219 |
"return_sentence_level": false,
|
|
|
231 |
},
|
232 |
"embedding": {
|
233 |
"dropout_rate": 0.4,
|
234 |
+
"embedding_dim": 256,
|
235 |
+
"vocab_size": 11767
|
236 |
},
|
237 |
"encoder_name": "self-attention-lstm",
|
238 |
"lstm": {
|