Git Product home page Git Product logo

actor-critic-public's Introduction

Actor-Critic for Sequence Prediction

The reference implementation for the paper

An Actor-Critic Algorithm for Sequence Prediction (openreview, submitted to ICLR 2017)
by Dzmitry Bahdanau, Philemon Brakel, Kelvin Xu, Anirudh Goyal, Ryan Lowe, Joelle Pineau, Aaron Courville, Yoshua Bengio

Note, that in fact it is a heavily modified speech recognizer, so please do not be surprised by the presense of speech related terms in the code. The code is provided only for replication purposes, further development is not planned. If you have questions, please contact Dzmitry Bahdanau or just create an issue here.

How to use

  • install all the dependencies (see the list below)
  • set your environment variables by calling source env.sh
  • for training use $LVSR/bin/run.py train <save-to> <config>
  • for testing use $LVSR/bin/run.py search <model-path> <config>

Please proceed to exp/ted for the instructions how to replicate our machine translation results on TED data, or to exp/billion_words in order to run our spelling correction experiments.

Dependencies

  • Python packages: pykwalify, toposort, pyyaml, numpy, pandas, picklable-itertools
  • Theano 0.9, the "old" gpu Backend (a.k.a. device=gpu)
  • blocks, commit d8b7ffbdda68b4e2ca3c1a2984964285cb1cb709
  • blocks-extras, commit 0cefaa3a8a372c551fc3b0df02d5d4f105767d9f
  • fuel, commit 42e21a25ed248739e5fe75b9e4193c749979ba57

License

MIT

actor-critic-public's People

Contributors

rizar avatar

Watchers

 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.