Skip to content

micah5/totally_humans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

totally_humans

neural network trained on r/totallynotrobots

i.e. robots pretending to be humans pretending to be robots pretending to be humans

see results at https://www.reddit.com/r/totally_humans/

requirements

  • python3 (untested on 2.7)
  • keras
  • praw
  • numpy

config parameters

add your reddit auth to a file config.py, with these variables:

client_id=''
client_secret=''
user_agent=''
username=''
password=''

train & run

scrape data extract_data.py

PRAW can only scrape a max of 1000 of the most recent posts. this script iterates through all the titles & comments of each post and all data will be saved to data dir

train rnn.py

just update the name variable in rnn.py before running to the name of your dataset (i.e. either 'comments' or 'titles')

predict & post post.py

About

rnn trained on r/totallynotrobots 🤖

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages