Skip to content

CodingGarden/twitter-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweet Generator

The current model uses tweets containing #blessed.

https://hashtag-blessed.surge.sh/

Setup

npm install
cp .env .env.sample # update with your values

Run

node src/index.js

This will generate tweets.txt, which can be fed into the trainer to generate a model.

See instructions here for training.

I had success running the training inside a docker container with the correct version of python. After cloning the training repo, cd into the folder and start the docker container:

docker run -it -v $PWD:/app python:3.6 bash

The generated model should be placed in the public/models directory.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published