the-algorithm-ml
the-algorithm-ml copied to clipboard
Source code for Twitter's Recommendation Algorithm
I am really annoyed with people taking advantage of trending topics to post absolutely non related content for fun or marketing their services Well, if asked what i think the...
Add docstrings
#Refactored rank_specific functions. #Implemented the logic without changing the behavior. #The readability and maintainability of the code improved. ------------------------- Tested against: test_torch_logging.py
Configruation -> Configuration
Fixes some unnecessary extra lines on function descriptions.
I cannot restore training model from checkpoint. The error log: File "/data/zmining/jupyter-notebook/antnh/embeddings/tml/common/checkpointing/snapshot.py", line 67, in restore snapshot.restore(self.state) #check File "/home/zdeploy/anaconda3/envs/quanhm_torchrec/lib/python3.8/site-packages/torchsnapshot/snapshot.py", line 406, in restore self._load_stateful( File "/home/zdeploy/anaconda3/envs/quanhm_torchrec/lib/python3.8/site-packages/torchsnapshot/snapshot.py", line 671, in...
The [README](https://github.com/twitter/the-algorithm-ml/tree/main/projects/home/recap) for the heavy ranker says that one of the engagements being predicted is `scored_tweets_model_weight_retweet: The probability the user will Retweet the Tweet.` Could you clarify if quote tweets...