daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from textgenrnn import textgenrnn
  2.  
  3. textgen = textgenrnn()
  4.  
  5. dataset = “”
  6.  
  7. epochs = 1000
  8. dropout = 0.1
  9.  
  10. textgen.reset()
  11. textgen.train_from_file(dataset, new_model = True, num_epochs = epochs, dropout = dropout)
  12. textgen.generate(1000)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top