Char-RNN-Gluon
RNNMXNet-GluonPyTorch
Requirements
Basic Usage
python main.py --state train --txt './data/poetry.txt' # txt--batch 128 # batch_size--epoch 1000 --len 100 # RNN--max_vocab 5000 # --embed 512 # --hidden 512 # --n_layer 2 # RNN--dropout 0.5
python main.py --state eval --begin '' # --pred_len 100 # --checkpoint './checkpoint/model_100.pth' #
Result