XiaoLongtaoo/TIGER
关于
《Recommender Systems with Generative Retrieval》的非官方 PyTorch 实现。
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +4
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文TIGER
This is an Unofficial Pytorch Implementation for the paper:
Model Architecture

Data Preprocess
Step 1: Decompress the downloaded 5-core reviews and metadata from Amazon Review 2014, which are in the format reviews_Beauty_5.json.gz and meta_Beauty.json.gz. Use the command provided in the TIGER/data/process.ipynb file to perform the decompression.
Step 2: Use main.py in TIGER/rqvae folder to train a rqvae model using semantic embeddings obtained in Step 1.
Step 3: Use generate_code.py in TIGER/rqvae folder to select the best model to generate discrete code for semantic embeddings in Step 1 and padding at the last position to resolve duplicate codes.
Train a T5 encoder-decoder model
Use main.py in TIGER/model folder to train a T5 encoder-decoder model with semantic code.
Experimental Results
| Metric | Beauty | Sports | Toys | |||
|---|---|---|---|---|---|---|
| Ours | Paper | Ours | Paper | Ours | Paper | |
| Recall@5 | 0.0392 | 0.0454 | 0.0233 | 0.0264 | 0.0396 | 0.0521 |
| Recall@10 | 0.0594 | 0.0648 | 0.0379 | 0.0400 | 0.0577 | 0.0712 |
| NDCG@5 | 0.0257 | 0.0321 | 0.0150 | 0.0181 | 0.0270 | 0.0371 |
| NDCG@10 | 0.0321 | 0.0384 | 0.0197 | 0.0225 | 0.0328 | 0.0432 |
References
Recommender Systems with Generative Retrieval
Adapting Large Language Models by Integrating Collaborative Semantics for Recommendation
探索相关项目
加载中…