Man-page generation, using jcjohnson/torch-rnn.
Docker image is based on crisbal/docker-torch-rnn.
orbin/trmpg:base
- Based on
crisbal/torch-rnn:base
- Allows usage of torch-rnn in CPU mode
- Based on
orbin/trmpg:cuda7.5
- Based on
crisbal/torch-rnn:cuda7.5
- Allows usage of torch-rnn in GPU mode (Cuda 7.5 support)
- Only run with nvidia-docker https://github.com/NVIDIA/nvidia-docker
- Based on
I supply two checkpoints of the training:
- After 147000 iterations - yields nice results
- After 160000 iterations
-
Run the container
docker run -it orbin/trmpg:base
-
Train
th train.lua \ -input_h5 data/manpages.h5 \ -input_json data/manpages.json \ -gpu -1
-
Sample, save and view the generated man-page
Note: the checkpoint numbers are multiples of 1000.
./sample_checkpoint.sh <checkpoint number>
-
Run the container
docker run -it orbin/trmpg:cuda7.5
-
Train
th train.lua \ -input_h5 data/manpages.h5 \ -input_json data/manpages.json
-
Sample, save and view the generated man-page
Note: the checkpoint numbers are multiples of 1000.
./sample_checkpoint.sh <checkpoint number>