Refactor SequentialRecommender and add Sequential models: SASRec, BERT4Rec, GPT2Rec, FPMC#694
Refactor SequentialRecommender and add Sequential models: SASRec, BERT4Rec, GPT2Rec, FPMC#694hieuddo wants to merge 10 commits into
Conversation
…ding FPMC, BERT4Rec, SASRec, GPT2Rec, and updated GRU4Rec
|
holy moly, really long PR |
Haha. Most of these are from https://github.com/PreferredAI/CoVE/tree/main/models in our joint work with @lthoang |
Things to check carefully:
|
|
If you don't mind, I would recommend to break it down into multiple small PRs so the verification is manageable. |
Yeah. I'm closing this PR. Will discuss with @lthoang further about the Currently, all the models we're adding are Would you recommend dropping all |
|
Yes, I’d recommend dropping session-aware support from this round and keeping the first PR session-based only. We can rename |
Description
NextItemRecommendertoSequentialRecommenderwith two settings:session-basedandsession-aware.NextItemEvaluationtoSequentialEvaluationSASRec,BERT4Rec,GPT2Rec(similar toBERT4Rec, but withGPT2architecture)GRU4Reccompatible withsession-awaresettingQuick run with 10 epochs from
examples/sequential_diginetica.py:Related Issues
Checklist:
README.md(if you are adding a new model).examples/README.md(if you are adding a new example).