An LSTM trained on 45,595 Reddit comments about stocks, each one labelled
negative, neutral or positive. Paste a comment below and it will tell you
which of the three it thinks you have.
—
positive0%
neutral0%
negative0%
comment tokens 0sequence length 200took 0 ms
Real comments from the corpus
Straight out of the training data, with the label the GPT-4o-mini pass gave
them. Pick one to run it through the model. Where the two disagree it says so —
the model gets about two in three right, and hiding the third would be a
strange way to show you a classifier.
How it got here
01
Scrape
Selenium walks old.reddit search and pulls each post's comment tree.
02
Label
GPT-4o-mini reads every comment with the post it replies to.
03
Balance
Every class undersampled to the size of the smallest.
04
Train
Three LSTM variants over GPT-2 tokenised sequences.