← all repositories

EdoardoBotta/RQ-VAE-Recommender

A PyTorch implementation of a generative retrieval recommender system using RQ-VAE to map items to semantic IDs and transformers to generate next-item predictions.

806 stars Python Domain AppsML Frameworks
RQ-VAE-Recommender
Velocity · 7d
+1.1
★ / day
Trend
steady
star history

This project implements a two-stage generative retrieval model for recommendations. First, it trains an RQ-VAE (Residual Quantized Variational Autoencoder) to map items in a corpus to tuples of semantic IDs. Second, it trains a transformer-based decoder on sequences of these semantic IDs to predict the next items in a user interaction sequence. The model supports datasets like Amazon Reviews and MovieLens, with configurable hyperparameters via gin-config.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.