Skip to content

Instantly share code, notes, and snippets.

@ysyun
Last active August 21, 2018 06:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ysyun/b01109ac40d0cd33b433c4040ea8eda5 to your computer and use it in GitHub Desktop.
Save ysyun/b01109ac40d0cd33b433c4040ea8eda5 to your computer and use it in GitHub Desktop.
train_options.json of data2vis
{
"model_class": "AttentionSeq2Seq",
"model_params": {
"encoder.params": {
"rnn_cell": {
"dropout_input_keep_prob": 0.5,
"num_layers": 2,
"cell_params": {
"num_units": 512
},
"dropout_output_keep_prob": 1.0,
"cell_class": "LSTMCell"
}
},
"encoder.class": "seq2seq.encoders.BidirectionalRNNEncoder",
"decoder.params": {
"rnn_cell": {
"dropout_input_keep_prob": 0.5,
"num_layers": 2,
"cell_params": {
"num_units": 512
},
"dropout_output_keep_prob": 1.0,
"cell_class": "LSTMCell"
},
"max_decode_length": 2000
},
"decoder.class": "seq2seq.decoders.AttentionDecoder",
"inference.beam_search.beam_width": 5,
"attention.params": {
"num_units": 512
},
"attention.class": "seq2seq.decoders.attention.AttentionLayerDot",
"bridge.class": "seq2seq.models.bridges.ZeroBridge",
"embedding.dim": 512,
"optimizer.name": "Adam",
"optimizer.learning_rate": 0.0001,
"optimizer.params": {
"epsilon": 8e-07
},
"source.reverse": false,
"source.max_seq_len": 500,
"vocab_source": "sourcedata/vocab.source",
"vocab_target": "sourcedata/vocab.target",
"target.max_seq_len": 500
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment