See full blog post here. You will need to have Tensorflow installed and, preferably, have a high-end NVIDIA GPU in case you'd like to do your own training.
TRAINING (char model on tiny text)
python ~/repos/rnn_text_writer/ptb_word_lm.py --data_path=DSpeeches --file_prefix=dtrump --seed_for_sample="make america" --model=charlarge --save_path=charlarge
SAMPLING MODE (this assumes that there is trained model in "save_path"
python ~/repos/rnn_text_writer/ptb_word_lm.py --data_path=DSpeeches --file_prefix=dtrump --seed_for_sample="make america" --model=charlarge --save_path=charlarge --sample_mode=True