GithubHelp home page GithubHelp logo

snakehacker / encoder_decoder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jacoxu/encoder_decoder

0.0 2.0 0.0 285 KB

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

Home Page: https://github.com/jacoxu/encoder_decoder

Python 100.00%

encoder_decoder's Introduction

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.

encoder_decoder's People

Contributors

jacoxu avatar zake7749 avatar

Watchers

James Cloos avatar Snake avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.