GithubHelp home page GithubHelp logo

syadegari / character_rnn Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 18.74 MB

different variants of character level rnn together with loader and training routines

Python 11.00% Jupyter Notebook 89.00%

character_rnn's Introduction

character_rnn

Different variants of character level rnn together with loader and training routines

Four different rnn architectures are considered:

  • v1 uses only the hidden state of the rnn (only one hidden vector is passed to fc layer)
  • v2 uses the average of all hidden states (only one hidden vector, which is the average all hidden states of the last layer is passed to fc layer)
  • v3 uses a weighted average of hidden layers. There is an extra parameter, with the lenght of the input parameter nSeqLength, that is learned along with the rest of the parameters in the network. Because of this added, fixed size parameter, it is important that the inference is being done with the same length of text as training is performed. For this reasone, the sampling method for this architecture is different from the rest of the tested models
  • v4 uses a many-to-many training, i.e., all hidden vectors of the last layer are passed to fc layer

character_rnn's People

Contributors

syadegari avatar

Watchers

 avatar  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.