Skip to content

Files

Latest commit

author
twitter-team
Mar 31, 2023
7f90d0c · Mar 31, 2023

History

History
This branch is 1 commit ahead of, 30 commits behind twitter/the-algorithm:main.

twml

TWML


Note: twml is no longer under development. Much of the code here is not out of date and unused. It is included here for completeness, because twml is still used to train the light ranker models (see src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/README.md)

TWML is one of Twitter's machine learning frameworks, which uses Tensorflow under the hood. While it is mostly deprecated, it is still currently used to train the Earlybird light ranking models ( see src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/train.py). The most relevant part of this is the DataRecordTrainer class, which is where the core training logic resides.