Navigation Menu

Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
deeplearningathome committed Jun 12, 2017
1 parent 4f60354 commit 5a0f888
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 1,045 deletions.
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2016 deeplearningathome

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -2,6 +2,8 @@
This model is directly analagous to this [Tesnsorflow's LM](https://www.tensorflow.org/tutorials/recurrent).
In fact, the reader is directly taken from its older version

See this [blogpost.](http://deeplearningathome.com/2017/06/PyTorch-vs-Tensorflow-lstm-language-model.html)

## How to RUN:
```
python ptb-lm.py --data=[PATH_TO_DATA]
Expand All @@ -17,3 +19,6 @@ On GTX 1080 I am getting around 7,400 wps.
* reader.py - slightly older version of TF's PTB reader which yields numpy arrays as batches
* ptb-lm.py - driver script

## Requirements
* Python 3 (I used Anaconda distribution)
* PyTorch (I used 0.1.12)

0 comments on commit 5a0f888

Please sign in to comment.