GithubHelp home page GithubHelp logo

youngkwonjo / bit-rnn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qinyao-he/bit-rnn

0.0 2.0 0.0 20 KB

Quantize weights and activations in Recurrent Neural Networks.

Home Page: https://arxiv.org/abs/1611.10176

License: Apache License 2.0

Python 100.00%

bit-rnn's Introduction

Bit-RNN

Source code for paper: Effective Quantization Methods for Recurrent Neural Networks.

The implementation of PTB language model is modified from examples in tensorflow.

Requirments

Currently tested and run on TensorFlow 0.12 and Python 3.5. View other branches for legacy support. You may download the data from http://www.fit.vutbr.cz/imikolov/rnnlm/simple-examples.tgz.

Run

python train.py --config=config.gru --data_path=YOUR_DATA_PATH

Currently default is 2-bit weights and activations. You may edit the config file in config folder to change configuration.

Support

Submit issue for problem relate to the code itself. Send email to the author for general question about the paper.

Citation

Please cite follow if you use our code in your research:

@article{DBLP:journals/corr/HeWZWYZZ16,
  author    = {Qinyao He and
               He Wen and
               Shuchang Zhou and
               Yuxin Wu and
               Cong Yao and
               Xinyu Zhou and
               Yuheng Zou},
  title     = {Effective Quantization Methods for Recurrent Neural Networks},
  journal   = {CoRR},
  volume    = {abs/1611.10176},
  year      = {2016},
  url       = {http://arxiv.org/abs/1611.10176},
  timestamp = {Thu, 01 Dec 2016 19:32:08 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/journals/corr/HeWZWYZZ16},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

bit-rnn's People

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.