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
To install this project, follow these steps:
-
Clone the repository to your local machine.
-
Navigate to the project directory.
-
Run the following command to set up a Python virtual environment:
./images/init_venv.sh(Linux only).
Note: This command is only supported on Linux machines.
- Follow the instructions provided in the READMEs of each project to run the desired model.
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 contribute to this project, please follow these steps:
- Submit a bug report or feature request via the issue tracker.
- Fork the repository and make your changes on a new branch.
- Submit a pull request with your changes.
This project is licensed under the [insert license here]. Copyright (c) [insert copyright information].