Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/david-r-cox/rnn-text-compress
Demo for MAA MathFest: Syntactically Informed Text Compression with Recurrent Neural Networks
https://github.com/david-r-cox/rnn-text-compress
Last synced: about 2 months ago
JSON representation
Demo for MAA MathFest: Syntactically Informed Text Compression with Recurrent Neural Networks
- Host: GitHub
- URL: https://github.com/david-r-cox/rnn-text-compress
- Owner: david-r-cox
- Created: 2016-07-28T19:17:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-05T15:07:15.000Z (over 8 years ago)
- Last Synced: 2023-10-19T20:30:44.176Z (about 1 year ago)
- Language: Python
- Size: 2.46 MB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Syntactically Informed Text Compression with Recurrent Neural Networks
## Installation
### Using our AMI:
Start a g2.2xlarge instance using our AMI ```ami-2c3a7a4c```.
```
git clone https://github.com/davidcox143/rnn-text-compress.git
cd rnn-text-compress
pip install -r requirements.txt
make
```## Usage
### Train a model
```
python rnn-text-compress.py -t < path to text file >
```### Evaluate accuracy of a single model
```
python rnn-text-compress.py -e < path to text file > < path to weights file >
```### Evaluate the accuracy of a model over time and plot results
```
python rnn-text-compress.py -p < path to text file > < path to weights directory >
```