CBiT
Implementation of the paper "Contrastive Learning with Bidirectional Transformers for Sequential Recommendation".
Install / Use
/learn @hw-du/CBiTREADME
CBiT
Implementation of the paper "Contrastive Learning with Bidirectional Transformers for Sequential Recommendation".
Run beauty
python main.py --template train_bert --dataset_code beauty
Run toys
python main.py --template train_bert --dataset_code toys
Run ml-1m
python main.py --template train_bert --dataset_code ml-1m
Test a pretrained checkpoint on beauty
python test.py --template test_bert
- The checkpoint file is stored at /experiments/test_2022-04-26_0/models/best_acc_model.pth . You may need to download the checkpoint file manually from git LFS.
Acknowledgements
Training pipeline is implemented based on this repo https://github.com/jaywonchung/BERT4Rec-VAE-Pytorch . We would like to thank the contributors for their work.
Citation
Please cite our paper if you find our codes useful:
@inproceedings{CBiT,
author = {Hanwen Du and
Hui Shi and
Pengpeng Zhao and
Deqing Wang and
Victor S. Sheng and
Yanchi Liu and
Guanfeng Liu and
Lei Zhao},
title = {Contrastive Learning with Bidirectional Transformers for Sequential Recommendation},
booktitle = {CIKM},
year = {2022}
}
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
flutter-tutor
Flutter Learning Tutor Guide You are a friendly computer science tutor specializing in Flutter development. Your role is to guide the student through learning Flutter step by step, not to provide d
Security Score
Audited on Jan 26, 2026
