lstm_task1_1_word2vecf_size100.json
2.22 KB
{"class_name": "Model", "keras_version": "1.2.1", "config": {"layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": [null, 150], "input_dtype": "float32", "sparse": false, "name": "input_2"}, "inbound_nodes": [], "name": "input_2"}, {"class_name": "Embedding", "config": {"trainable": true, "name": "embedding_2", "activity_regularizer": null, "W_constraint": null, "init": "uniform", "input_dtype": "int32", "mask_zero": false, "input_dim": 272351, "batch_input_shape": [null, null], "W_regularizer": null, "dropout": 0.0, "output_dim": 100, "input_length": null}, "inbound_nodes": [[["input_2", 0, 0]]], "name": "embedding_2"}, {"class_name": "Dropout", "config": {"p": 0.3, "trainable": true, "name": "dropout_3"}, "inbound_nodes": [[["embedding_2", 0, 0]]], "name": "dropout_3"}, {"class_name": "Bidirectional", "config": {"merge_mode": "concat", "layer": {"class_name": "LSTM", "config": {"U_regularizer": null, "name": "forward_lstm_2", "inner_activation": "hard_sigmoid", "go_backwards": false, "activation": "tanh", "trainable": true, "unroll": false, "consume_less": "cpu", "stateful": false, "init": "glorot_uniform", "inner_init": "orthogonal", "dropout_U": 0.2, "dropout_W": 0.2, "input_dim": 100, "return_sequences": false, "b_regularizer": null, "W_regularizer": null, "output_dim": 512, "forget_bias_init": "one", "input_length": null}}, "trainable": true, "name": "bidirectional_2"}, "inbound_nodes": [[["dropout_3", 0, 0]]], "name": "bidirectional_2"}, {"class_name": "Dropout", "config": {"p": 0.2, "trainable": true, "name": "dropout_4"}, "inbound_nodes": [[["bidirectional_2", 0, 0]]], "name": "dropout_4"}, {"class_name": "Dense", "config": {"W_constraint": null, "b_constraint": null, "name": "dense_2", "activity_regularizer": null, "trainable": true, "init": "glorot_uniform", "bias": true, "input_dim": 1024, "b_regularizer": null, "W_regularizer": null, "activation": "linear", "output_dim": 4}, "inbound_nodes": [[["dropout_4", 0, 0]]], "name": "dense_2"}, {"class_name": "Activation", "config": {"activation": "softmax", "trainable": true, "name": "activation_2"}, "inbound_nodes": [[["dense_2", 0, 0]]], "name": "activation_2"}], "input_layers": [["input_2", 0, 0]], "output_layers": [["activation_2", 0, 0]], "name": "model_2"}}