Blame view

model/cnn_task1_3_word2vecf_size300_345.json 4.16 KB
362b552ee   Rouvier Mickael   upload system
1
  {"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_16"}, "inbound_nodes": [], "name": "input_16"}, {"class_name": "Embedding", "config": {"trainable": false, "name": "embedding_16", "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": 300, "input_length": null}, "inbound_nodes": [[["input_16", 0, 0]]], "name": "embedding_16"}, {"class_name": "Dropout", "config": {"p": 0.3, "trainable": true, "name": "dropout_46"}, "inbound_nodes": [[["embedding_16", 0, 0]]], "name": "dropout_46"}, {"class_name": "Convolution1D", "config": {"W_constraint": null, "b_constraint": null, "name": "convolution1d_46", "activity_regularizer": null, "trainable": true, "filter_length": 3, "init": "glorot_uniform", "bias": true, "nb_filter": 200, "input_dim": null, "subsample_length": 1, "border_mode": "valid", "b_regularizer": null, "W_regularizer": null, "activation": "relu", "input_length": null}, "inbound_nodes": [[["dropout_46", 0, 0]]], "name": "convolution1d_46"}, {"class_name": "Convolution1D", "config": {"W_constraint": null, "b_constraint": null, "name": "convolution1d_47", "activity_regularizer": null, "trainable": true, "filter_length": 4, "init": "glorot_uniform", "bias": true, "nb_filter": 200, "input_dim": null, "subsample_length": 1, "border_mode": "valid", "b_regularizer": null, "W_regularizer": null, "activation": "relu", "input_length": null}, "inbound_nodes": [[["dropout_46", 0, 0]]], "name": "convolution1d_47"}, {"class_name": "Convolution1D", "config": {"W_constraint": null, "b_constraint": null, "name": "convolution1d_48", "activity_regularizer": null, "trainable": true, "filter_length": 5, "init": "glorot_uniform", "bias": true, "nb_filter": 200, "input_dim": null, "subsample_length": 1, "border_mode": "valid", "b_regularizer": null, "W_regularizer": null, "activation": "relu", "input_length": null}, "inbound_nodes": [[["dropout_46", 0, 0]]], "name": "convolution1d_48"}, {"class_name": "Merge", "config": {"name": "merge_16", "concat_axis": 1, "mode_type": "raw", "dot_axes": -1, "output_mask_type": "raw", "arguments": {}, "output_mask": null, "mode": "concat", "output_shape": null, "output_shape_type": "raw"}, "inbound_nodes": [[["convolution1d_46", 0, 0], ["convolution1d_47", 0, 0], ["convolution1d_48", 0, 0]]], "name": "merge_16"}, {"class_name": "GlobalMaxPooling1D", "config": {"trainable": true, "name": "globalmaxpooling1d_16"}, "inbound_nodes": [[["merge_16", 0, 0]]], "name": "globalmaxpooling1d_16"}, {"class_name": "Dropout", "config": {"p": 0.3, "trainable": true, "name": "dropout_47"}, "inbound_nodes": [[["globalmaxpooling1d_16", 0, 0]]], "name": "dropout_47"}, {"class_name": "Dense", "config": {"W_constraint": null, "b_constraint": null, "name": "dense_31", "activity_regularizer": null, "trainable": true, "init": "glorot_uniform", "bias": true, "input_dim": 200, "b_regularizer": null, "W_regularizer": null, "activation": "linear", "output_dim": 64}, "inbound_nodes": [[["dropout_47", 0, 0]]], "name": "dense_31"}, {"class_name": "Activation", "config": {"activation": "relu", "trainable": true, "name": "activation_31"}, "inbound_nodes": [[["dense_31", 0, 0]]], "name": "activation_31"}, {"class_name": "Dropout", "config": {"p": 0.2, "trainable": true, "name": "dropout_48"}, "inbound_nodes": [[["activation_31", 0, 0]]], "name": "dropout_48"}, {"class_name": "Dense", "config": {"W_constraint": null, "b_constraint": null, "name": "dense_32", "activity_regularizer": null, "trainable": true, "init": "glorot_uniform", "bias": true, "input_dim": 64, "b_regularizer": null, "W_regularizer": null, "activation": "linear", "output_dim": 4}, "inbound_nodes": [[["dropout_48", 0, 0]]], "name": "dense_32"}, {"class_name": "Activation", "config": {"activation": "softmax", "trainable": true, "name": "activation_32"}, "inbound_nodes": [[["dense_32", 0, 0]]], "name": "activation_32"}], "input_layers": [["input_16", 0, 0]], "output_layers": [["activation_32", 0, 0]], "name": "model_16"}}