#18 · Primary category: Recommender Systems
RQ-VAE-Recommender
[Pytorch] Generative retrieval model using semantic IDs from "Recommender Systems with Generative Retrieval"
Project last updated:08/24/26
GitHub Stars
841
Forks
126
Contributors
24
License
MIT
Why we included this project
Most recommender systems still rely on embedding-based two-tower or matrix-factorization designs. This project implements a different idea from the paper "Recommender Systems with Generative Retrieval": an RQ-VAE first compresses every item in the corpus into a short tuple of semantic IDs, then a decoder-only transformer learns to predict the next ID in a user's sequence, which is effectively the next item they are likely to engage with. The repo includes training scripts for both stages, gin-config files for tuning, and KMeans initialization for the quantizer, and it runs on Amazon Reviews and MovieLens datasets with no manual download step. Pretrained RQ-VAE checkpoints for Amazon Beauty are published on Hugging Face, so you can test the tokenizer before committing to a full training run. If you are researching or prototyping generative retrieval, this is a good place to start reading and adapting the approach.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
gorse
AI powered open source recommender system engine supports classical/LLM rankers and multimodal content via embedding
DeepCTR
Easy-to-use,Modular and Extendible package of deep-learning based CTR models .
Surprise
A Python scikit for building and analyzing recommender systems
RSPapers
RSTutorials: A Curated List of Must-read Papers on Recommender System.
lightfm
A Python implementation of LightFM, a hybrid recommendation algorithm.