ChenGaoDe / PIMI_Rec

Code for the IJCAI-2021 paper: Exploring Periodicity and Interactivity in Multi-Interest Framework for Sequential Recommendation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exploring Periodicity and Interactivity in Multi-Interest Framework for Sequential Recommendation

Original implementation for paper Exploring Periodicity and Interactivity in Multi-Interest Framework for Sequential Recommendation.

Accepted to IJCAI 2021!

Requirements

  • python 3.7
  • tensorflow-gpu 1.13
  • faiss-gpu 1.6.3
  • numpy 1.19.2
  • tensorboardX 2.1

Run

Installation

Dataset

Training

You can use python main.py --dataset {dataset_name} --time_span {time_threshold} to train a specific model on a dataset. Other hyperparameters can be found in the code. (If you share the server with others or you want to use the specific GPU(s), you may need to set CUDA_VISIBLE_DEVICES.)

For example, you can use python main.py --dataset book --time_span 64 to train PIMI model on Book dataset.

Acknowledgement

The structure of our code is based on ComiRec.

About

Code for the IJCAI-2021 paper: Exploring Periodicity and Interactivity in Multi-Interest Framework for Sequential Recommendation


Languages

Language:Python 100.0%