Skip to content

tatsuokun/seq2seq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seq2seq: Encoder-Decoder models

Requirement

  • Python 3
  • Keras

Work: implemented seq2seq models without using recurrent shop

  • Simple Encoder-Decoder
  • Attentative Encoder-Decoder

Those models only depend on Keras Functional API. If you want to know more details, see models.py.

Warning! This repository is outdated!

Although some of you starred this repository (thx!), here is almost outdated. And I also found mistakes in coding where is the input for decoder. My decoder takes input as a sentence, but correct decoder should take input as a word. In other word, decoder predict (w_t) given (w_t-1, hidden_t-1), not given ([w_o; w_1; ...; w_t-1], hidden_t-1) as I coded. However, except that, some codes here are still helpful for learner of Keras and Natural Language Processing with Deep Learning.

About

keras encoder-decoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages