Update config.json
Browse files- config.json +56 -1
config.json
CHANGED
|
@@ -1 +1,56 @@
|
|
| 1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "model_2",
|
| 3 |
+
"model_type": "bi-lstm-attn-text",
|
| 4 |
+
"layers": [{
|
| 5 |
+
"class_name": "InputLayer",
|
| 6 |
+
"config": {
|
| 7 |
+
"batch_input_shape": [null, 1000],
|
| 8 |
+
"dtype": "float32",
|
| 9 |
+
"sparse": false,
|
| 10 |
+
"ragged": false,
|
| 11 |
+
"name": "Encoder_Inputs"
|
| 12 |
+
},
|
| 13 |
+
"name": "Encoder_Inputs",
|
| 14 |
+
"inbound_nodes": []
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"class_name": "Embedding",
|
| 18 |
+
"config": {
|
| 19 |
+
"name": "Encoder_Embedding",
|
| 20 |
+
"trainable": true,
|
| 21 |
+
"batch_input_shape": [null, 1000],
|
| 22 |
+
"dtype": "float32",
|
| 23 |
+
"input_dim": 1056527,
|
| 24 |
+
"output_dim": 300,
|
| 25 |
+
"embeddings_initializer": {
|
| 26 |
+
"class_name": "RandomUniform",
|
| 27 |
+
"config": {
|
| 28 |
+
"minval": -0.05,
|
| 29 |
+
"maxval": 0.05,
|
| 30 |
+
"seed": null}},
|
| 31 |
+
"embeddings_regularizer": null,
|
| 32 |
+
"activity_regularizer": null,
|
| 33 |
+
"embeddings_constraint": null,
|
| 34 |
+
"mask_zero": false,
|
| 35 |
+
"input_length": 1000},
|
| 36 |
+
"name": "Encoder_Embedding",
|
| 37 |
+
"inbound_nodes": [[["Encoder_Inputs", 0, 0, {}]]]}, {
|
| 38 |
+
"class_name": "Bidirectional",
|
| 39 |
+
"config": {
|
| 40 |
+
"name": "Encoder_BiLSTM_Layer1",
|
| 41 |
+
"trainable": true,
|
| 42 |
+
"dtype": "float32",
|
| 43 |
+
"layer": {"class_name": "LSTM",
|
| 44 |
+
"config": {
|
| 45 |
+
"name": "lstm",
|
| 46 |
+
"trainable": true,
|
| 47 |
+
"dtype": "float32",
|
| 48 |
+
"return_sequences": true,
|
| 49 |
+
"return_state": true,
|
| 50 |
+
"go_backwards": false,
|
| 51 |
+
"stateful": false,
|
| 52 |
+
"unroll": false,
|
| 53 |
+
"time_major": false,
|
| 54 |
+
"units": 128,
|
| 55 |
+
"activation":
|
| 56 |
+
"tanh", "recurrent_activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "recurrent_initializer": {"class_name": "Orthogonal", "config": {"gain": 1.0, "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "unit_forget_bias": true, "kernel_regularizer": null, "recurrent_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "recurrent_constraint": null, "bias_constraint": null, "dropout": 0.2, "recurrent_dropout": 0.2, "implementation": 1}}, "merge_mode": "concat"}, "name": "Encoder_BiLSTM_Layer1", "inbound_nodes": [[["Encoder_Embedding", 0, 0, {}]]]}, {"class_name": "Bidirectional", "config": {"name": "Encoder_BiLSTM_Layer2", "trainable": true, "dtype": "float32", "layer": {"class_name": "LSTM", "config": {"name": "lstm_1", "trainable": true, "dtype": "float32", "return_sequences": true, "return_state": true, "go_backwards": false, "stateful": false, "unroll": false, "time_major": false, "units": 128, "activation": "tanh", "recurrent_activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "recurrent_initializer": {"class_name": "Orthogonal", "config": {"gain": 1.0, "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "unit_forget_bias": true, "kernel_regularizer": null, "recurrent_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "recurrent_constraint": null, "bias_constraint": null, "dropout": 0.2, "recurrent_dropout": 0.2, "implementation": 1}}, "merge_mode": "concat"}, "name": "Encoder_BiLSTM_Layer2", "inbound_nodes": [[["Encoder_BiLSTM_Layer1", 0, 0, {}]]]}, {"class_name": "Concatenate", "config": {"name": "concatenate", "trainable": true, "dtype": "float32", "axis": -1}, "name": "concatenate", "inbound_nodes": [[["Encoder_BiLSTM_Layer2", 0, 1, {}], ["Encoder_BiLSTM_Layer2", 0, 3, {}]]]}, {"class_name": "Concatenate", "config": {"name": "concatenate_1", "trainable": true, "dtype": "float32", "axis": -1}, "name": "concatenate_1", "inbound_nodes": [[["Encoder_BiLSTM_Layer2", 0, 2, {}], ["Encoder_BiLSTM_Layer2", 0, 4, {}]]]}], "input_layers": [["Encoder_Inputs", 0, 0]], "output_layers": [["Encoder_BiLSTM_Layer2", 0, 0], ["concatenate", 0, 0], ["concatenate_1", 0, 0]]}
|