mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-12-22 16:15:36 +00:00
ef4c5eb65e
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future. |
||
---|---|---|
.. | ||
libtwml | ||
twml | ||
twml_common | ||
BUILD | ||
README.md | ||
setup.cfg | ||
setup.py |
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.