Commit graph

91 commits

Author SHA1 Message Date
f2d33b51b1
Delete old test.py code 2022-02-21 15:50:38 -06:00
2f05004e4a
Get predictions to actually work 2022-02-21 15:49:39 -06:00
13c502ef53
Ignore URLs by ignoring strings with . 2022-02-21 15:49:29 -06:00
176f6f306b
Note that only Mastodon and Postgres is currently supported 2022-02-21 15:37:58 -06:00
dc6c6e5aa6
Reformat parser so it looks nicer 2022-02-21 15:35:55 -06:00
b991260f59
Reformat using autopep8 2022-02-21 15:33:17 -06:00
5023e6a4e3
Remove old.py 2022-02-21 15:32:02 -06:00
a3d0f4911d
Specify types for train.py args 2022-02-21 15:31:42 -06:00
e7a178e2ca
Add args for model parameters 2022-02-21 15:25:57 -06:00
7627f2cf13
Create a prediction function 2022-02-21 15:20:09 -06:00
8b86ce3f65
More cleanup 2022-02-21 15:20:00 -06:00
423c1d8304
Cleanup and reformat with autopep8 2022-02-21 15:03:28 -06:00
9e84768780
Fix imports 2022-02-21 14:57:40 -06:00
86a8473915
Don't make bot.py executable 2022-02-21 14:55:36 -06:00
3c234a0376
Copy old code to new train.py file 2022-02-21 14:55:18 -06:00
6e354215c1
Use the dataset class to initialize model parameters 2022-02-21 14:54:57 -06:00
8f5bcc04d2
Create a dataset class 2022-02-21 14:54:40 -06:00
3a92cf87c8
Increase batch size 2022-02-21 14:30:32 -06:00
cf65f49478
Move old code to old.py 2022-02-21 14:30:16 -06:00
f0643a4461
Reformat data.py 2022-02-21 14:29:48 -06:00
ff086a4dda
Update README instructions with new data.py flags 2022-02-21 14:29:28 -06:00
441cae5c2c
Add new multilayer model 2022-02-21 13:02:37 -06:00
bcb2b5e455
Style updates to data.py 2022-02-21 12:55:27 -06:00
01462b7073
Clean up data.py script for generating training data 2022-02-21 12:54:35 -06:00
198b2af9c7
Add usage instructions 2022-02-21 12:39:37 -06:00
1caa9d87fb
Add some example bot code 2022-02-21 12:30:20 -06:00
53ac14e51b
Add an alternative LSTM implementation 2022-02-21 11:56:01 -06:00
8ee340c406
Create a db extraction script 2022-02-21 11:55:50 -06:00
b228b4a672
Remove empty strings and increase LSTM size 2022-02-21 11:55:36 -06:00
cd27bb6c31
Add some helpful ML links 2022-02-20 22:54:03 -06:00
d651b148b5
Attempt to train model overnight 2022-02-20 22:51:42 -06:00
f86370ab45
Increase sequence length 2022-02-20 22:47:38 -06:00
39049ee119
Clean up data by removing URLs and special characters and convert to lowercase 2022-02-20 22:23:02 -06:00
a49dc010ed
Clean up and organize code better 2022-02-20 22:12:17 -06:00
2a0afe7c7a
Run autopep8 on the code 2022-02-20 21:57:55 -06:00
c2b37cc738
Finish copying code from that blog post 2022-02-20 21:48:29 -06:00
bae535c846
Copy a basic LSTM network 2022-02-20 20:16:20 -06:00
57697f3cb7
Add some comments so I don't forget what I'm doing 2022-02-20 19:54:07 -06:00
7eec3c921b
Use regex to remove HTML brackets 2022-02-20 19:47:21 -06:00
276da12a73
Fetch all messages using psycopg2 from the Mastodon database 2022-02-20 19:34:17 -06:00
Anthony Wang
f47e1ef573
Initial commit 2022-02-20 18:58:25 -06:00