forked from SNUDerek/kerasdemo-seq2seq-attention
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kor2eng_10_epochs.json
1 lines (1 loc) · 8.8 KB
/
kor2eng_10_epochs.json
1
{"class_name": "Model", "config": {"name": "model_1", "layers": [{"name": "encoder_input", "class_name": "InputLayer", "config": {"batch_input_shape": [null, 12], "dtype": "float32", "sparse": false, "name": "encoder_input"}, "inbound_nodes": []}, {"name": "encoder_embed", "class_name": "Embedding", "config": {"name": "encoder_embed", "trainable": true, "batch_input_shape": [null, null], "dtype": "float32", "input_dim": 54, "output_dim": 100, "embeddings_initializer": {"class_name": "RandomUniform", "config": {"minval": -0.05, "maxval": 0.05, "seed": null}}, "embeddings_regularizer": null, "activity_regularizer": null, "embeddings_constraint": null, "mask_zero": true, "input_length": null}, "inbound_nodes": [[["encoder_input", 0, 0, {}]]]}, {"name": "decoder_input", "class_name": "InputLayer", "config": {"batch_input_shape": [null, 16], "dtype": "float32", "sparse": false, "name": "decoder_input"}, "inbound_nodes": []}, {"name": "dropout_1", "class_name": "Dropout", "config": {"name": "dropout_1", "trainable": true, "rate": 0.33, "noise_shape": null, "seed": null}, "inbound_nodes": [[["encoder_embed", 0, 0, {}]]]}, {"name": "decoder_embed", "class_name": "Embedding", "config": {"name": "decoder_embed", "trainable": true, "batch_input_shape": [null, null], "dtype": "float32", "input_dim": 73, "output_dim": 100, "embeddings_initializer": {"class_name": "RandomUniform", "config": {"minval": -0.05, "maxval": 0.05, "seed": null}}, "embeddings_regularizer": null, "activity_regularizer": null, "embeddings_constraint": null, "mask_zero": true, "input_length": null}, "inbound_nodes": [[["decoder_input", 0, 0, {}]]]}, {"name": "encoder_lstm1", "class_name": "Bidirectional", "config": {"name": "encoder_lstm1", "trainable": true, "layer": {"class_name": "LSTM", "config": {"name": "lstm_1", "trainable": true, "return_sequences": true, "return_state": true, "go_backwards": false, "stateful": false, "unroll": false, "units": 50, "activation": "tanh", "recurrent_activation": "hard_sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "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.0, "recurrent_dropout": 0.0, "implementation": 1}}, "merge_mode": "concat"}, "inbound_nodes": [[["dropout_1", 0, 0, {}]]]}, {"name": "dropout_2", "class_name": "Dropout", "config": {"name": "dropout_2", "trainable": true, "rate": 0.33, "noise_shape": null, "seed": null}, "inbound_nodes": [[["decoder_embed", 0, 0, {}]]]}, {"name": "concatenate_1", "class_name": "Concatenate", "config": {"name": "concatenate_1", "trainable": true, "axis": -1}, "inbound_nodes": [[["encoder_lstm1", 0, 1, {}], ["encoder_lstm1", 0, 3, {}]]]}, {"name": "concatenate_2", "class_name": "Concatenate", "config": {"name": "concatenate_2", "trainable": true, "axis": -1}, "inbound_nodes": [[["encoder_lstm1", 0, 2, {}], ["encoder_lstm1", 0, 4, {}]]]}, {"name": "encoder_lstm2", "class_name": "Bidirectional", "config": {"name": "encoder_lstm2", "trainable": true, "layer": {"class_name": "LSTM", "config": {"name": "lstm_2", "trainable": true, "return_sequences": true, "return_state": true, "go_backwards": false, "stateful": false, "unroll": false, "units": 50, "activation": "tanh", "recurrent_activation": "hard_sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "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.0, "recurrent_dropout": 0.0, "implementation": 1}}, "merge_mode": "concat"}, "inbound_nodes": [[["encoder_lstm1", 0, 0, {}]]]}, {"name": "decoder_lstm1", "class_name": "LSTM", "config": {"name": "decoder_lstm1", "trainable": true, "return_sequences": true, "return_state": false, "go_backwards": false, "stateful": false, "unroll": false, "units": 100, "activation": "tanh", "recurrent_activation": "hard_sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "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.0, "recurrent_dropout": 0.0, "implementation": 1}, "inbound_nodes": [[["dropout_2", 0, 0, {}], ["concatenate_1", 0, 0, {}], ["concatenate_2", 0, 0, {}]]]}, {"name": "concatenate_3", "class_name": "Concatenate", "config": {"name": "concatenate_3", "trainable": true, "axis": -1}, "inbound_nodes": [[["encoder_lstm2", 0, 1, {}], ["encoder_lstm2", 0, 3, {}]]]}, {"name": "concatenate_4", "class_name": "Concatenate", "config": {"name": "concatenate_4", "trainable": true, "axis": -1}, "inbound_nodes": [[["encoder_lstm2", 0, 2, {}], ["encoder_lstm2", 0, 4, {}]]]}, {"name": "decoder_lstm2", "class_name": "LSTM", "config": {"name": "decoder_lstm2", "trainable": true, "return_sequences": true, "return_state": false, "go_backwards": false, "stateful": false, "unroll": false, "units": 100, "activation": "tanh", "recurrent_activation": "hard_sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "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.0, "recurrent_dropout": 0.0, "implementation": 1}, "inbound_nodes": [[["decoder_lstm1", 0, 0, {}], ["concatenate_3", 0, 0, {}], ["concatenate_4", 0, 0, {}]]]}, {"name": "attn_dotprod", "class_name": "Dot", "config": {"name": "attn_dotprod", "trainable": true, "axes": [2, 2], "normalize": false}, "inbound_nodes": [[["decoder_lstm2", 0, 0, {}], ["encoder_lstm2", 0, 0, {}]]]}, {"name": "attn_softmax", "class_name": "Activation", "config": {"name": "attn_softmax", "trainable": true, "activation": "softmax"}, "inbound_nodes": [[["attn_dotprod", 0, 0, {}]]]}, {"name": "cont_dotprod", "class_name": "Dot", "config": {"name": "cont_dotprod", "trainable": true, "axes": [2, 1], "normalize": false}, "inbound_nodes": [[["attn_softmax", 0, 0, {}], ["encoder_lstm2", 0, 0, {}]]]}, {"name": "cont_concats", "class_name": "Concatenate", "config": {"name": "cont_concats", "trainable": true, "axis": -1}, "inbound_nodes": [[["cont_dotprod", 0, 0, {}], ["decoder_lstm2", 0, 0, {}]]]}, {"name": "cont_dnstanh", "class_name": "TimeDistributed", "config": {"name": "cont_dnstanh", "trainable": true, "layer": {"class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "units": 200, "activation": "tanh", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}}, "inbound_nodes": [[["cont_concats", 0, 0, {}]]]}, {"name": "time_distributed_1", "class_name": "TimeDistributed", "config": {"name": "time_distributed_1", "trainable": true, "layer": {"class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "units": 73, "activation": "softmax", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}}, "inbound_nodes": [[["cont_dnstanh", 0, 0, {}]]]}], "input_layers": [["encoder_input", 0, 0], ["decoder_input", 0, 0]], "output_layers": [["time_distributed_1", 0, 0]]}, "keras_version": "2.2.2", "backend": "tensorflow"}