Code for ICDE 2023 paper, Contrastive Enhanced Slide Filter Mixer for Sequential Recommendation.
- Install Python, Pytorch(>=1.8). We use Python 3.8, Pytorch 1.8.
- If you plan to use GPU computation, install CUDA.
Download datasets from RecSysDatasets or their Google Drive. And put the files in ./dataset/
like the following.
$ tree
.
├── Amazon_Beauty
│ ├── Amazon_Beauty.inter
│ └── Amazon_Beauty.item
├── Amazon_Clothing_Shoes_and_Jewelry
│ ├── Amazon_Clothing_Shoes_and_Jewelry.inter
│ └── Amazon_Clothing_Shoes_and_Jewelry.item
├── Amazon_Sports_and_Outdoors
│ ├── Amazon_Sports_and_Outdoors.inter
│ └── Amazon_Sports_and_Outdoors.item
├── ml-1m
│ ├── ml-1m.inter
│ ├── ml-1m.item
│ ├── ml-1m.user
│ └── README.md
└── yelp
├── README.md
├── yelp.inter
├── yelp.item
└── yelp.user
Run slime4rec.sh
.
This repo is developed based on RecBole.