The Wayback Machine - https://web.archive.org/web/20201115034250/https://github.com/jacoxu/encoder_decoder
Skip to content
master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Dec 25, 2016

README.md

encoder_decoder

漫谈四种神经网络序列解码模型[http://jacoxu.com/?p=1852]

requirements=Keras[https://github.com/fchollet/keras], Seq2Seq[https://github.com/farizrahman4u/seq2seq]

NOTE:

The suggested version of Keras is 0.3.3 or 0.3.2 rather than 1.0.0 and the lasted version, for some old style functions are called in seq2seq.

model - 1: basic encoder-decoder

model - 1: basic encoder-decoder

model - 2: encoder-decoder with feedback

model - 2: encoder-decoder with feedback

model - 3: encoder-decoder with peek

model - 3: encoder-decoder with peek

model - 4: encoder-decoder with attention

model - 4: encoder-decoder with attention

results: four encoder-decoder modes

results: four encoder-decoder modes

Question: How to change the encoder-decoder modes?

Answering: Change the decoder_mode in Line 144 of the code. For example, you can change decoder_mode = 3 to run the attention mode.

About

Four styles of encoder decoder model by Python, Theano, Keras and Seq2Seq

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.