Source code for Twitter's Recommendation Algorithm
Source code for Twitter's Recommendation Algorithm
This project open sources some of the ML models used at Twitter.
Currently these are:
The "For You" Heavy Ranker (projects/home/recap).
TwHIN embeddings (projects/twhin) https://arxiv.org/abs/2202.05387
This project can be run inside a python virtualenv. We have only tried this on Linux machines and because we use torchrec it works best with an Nvidia GPU. To setup run
./images/init_venv.sh (Linux only).
The READMEs of each project contain instructions about how to run each project.
Is this repo active?
Fix run_training.py#L87 hack once pytorch issues #79388 fix
following limit troubleshoot
increase follows
Shadowban a tweet/post with multiple trending hashtags
twittonomy
followers and likes
twhin: translation embeddings not being added for negative examples
Can't restore model from checkpoint
Heavy ranker: does retweet prediction include quote tweets?