Pytorch Implementation of the BERT4REC for MovieLens Dataset.
This implementation contains an addition to the classic BERT4Rec. This model can take into account the genres of the films you have watched.
The resulting metrics:
- NDCG@10: 0.7689
- HR@10: 0.95066
model.py- contains the code of the modeldataset.py- contains the dataset processing codemain.py- main file for train and eval modelmodel_weights.pth- weights of the pre-training model
