Skip to content

Instantly share code, notes, and snippets.

@taskinoz
Last active December 9, 2019 02:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taskinoz/a0d156873ff52ecf59e7369bbde77645 to your computer and use it in GitHub Desktop.
Save taskinoz/a0d156873ff52ecf59e7369bbde77645 to your computer and use it in GitHub Desktop.
Machine Learning with Textgenrnn
from textgenrnn import textgenrnn
import os
textgen.train_from_file('test.txt', num_epochs=1)
textgen.generate(3, temperature=1.0)
textgen.generate()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment