LightChen2333
commited on
Commit
•
0e07f72
1
Parent(s):
f9c7994
Upload 3 files
Browse files- config.json +7 -4
config.json
CHANGED
@@ -309,7 +309,7 @@
|
|
309 |
"intent_classifier": {
|
310 |
"_model_target_": "model.decoder.classifier.LinearClassifier",
|
311 |
"ignore_index": -100,
|
312 |
-
"input_dim":
|
313 |
"intent_label_num": 21,
|
314 |
"mode": "intent",
|
315 |
"use_intent": true
|
@@ -318,13 +318,15 @@
|
|
318 |
"_model_target_": "model.decoder.interaction.DCANetInteraction",
|
319 |
"attention_dropout": 0.5,
|
320 |
"input_dim": 128,
|
|
|
321 |
"num_attention_heads": 8,
|
322 |
-
"output_dim":
|
|
|
323 |
},
|
324 |
"slot_classifier": {
|
325 |
"_model_target_": "model.decoder.classifier.LinearClassifier",
|
326 |
"ignore_index": -100,
|
327 |
-
"input_dim":
|
328 |
"mode": "slot",
|
329 |
"slot_label_num": 120,
|
330 |
"use_slot": true
|
@@ -335,7 +337,8 @@
|
|
335 |
"embedding": {
|
336 |
"dropout_rate": 0.5,
|
337 |
"embedding_dim": 300,
|
338 |
-
"load_embedding_name": "glove.6B.300d.txt"
|
|
|
339 |
},
|
340 |
"encoder_name": "lstm",
|
341 |
"lstm": {
|
|
|
309 |
"intent_classifier": {
|
310 |
"_model_target_": "model.decoder.classifier.LinearClassifier",
|
311 |
"ignore_index": -100,
|
312 |
+
"input_dim": 128,
|
313 |
"intent_label_num": 21,
|
314 |
"mode": "intent",
|
315 |
"use_intent": true
|
|
|
318 |
"_model_target_": "model.decoder.interaction.DCANetInteraction",
|
319 |
"attention_dropout": 0.5,
|
320 |
"input_dim": 128,
|
321 |
+
"intent_label_num": 21,
|
322 |
"num_attention_heads": 8,
|
323 |
+
"output_dim": 128,
|
324 |
+
"slot_label_num": 120
|
325 |
},
|
326 |
"slot_classifier": {
|
327 |
"_model_target_": "model.decoder.classifier.LinearClassifier",
|
328 |
"ignore_index": -100,
|
329 |
+
"input_dim": 128,
|
330 |
"mode": "slot",
|
331 |
"slot_label_num": 120,
|
332 |
"use_slot": true
|
|
|
337 |
"embedding": {
|
338 |
"dropout_rate": 0.5,
|
339 |
"embedding_dim": 300,
|
340 |
+
"load_embedding_name": "glove.6B.300d.txt",
|
341 |
+
"vocab_size": 900
|
342 |
},
|
343 |
"encoder_name": "lstm",
|
344 |
"lstm": {
|