Simple markov chain for tweet generator
Based on reddit r/machinelearning and r/deeplearning headers.
thanks to Adrian for informative dataset
-
tweepy
-
/html template
in progress
mchain = MarkovChainGen(16, 120, 'dataset.txt)
model = mchain.build()
mchain.generate_text(model)
Some results
#Update
I connect this model into twitter account so you can see some of the results.
You can use it by yourself by using load_and_gen.py file with your own configuration. PM me please if you are interested in songdict.pkl file. It is too large to upload it on git ;)
Next - CharRNN in Pytorch.
Source: Eli Bendersky's website