Learn how collaborative filtering and vector retrieval work in the fast candidate-retrieval stage of a large recommendation pipeline.
Study ranking and re-ranking algorithms that decide which few items from thousands of candidates to actually show a user.
Understand how large language models and diffusion models are being applied to replace parts of the classic recommendation stack.
Follow the end-to-end chapter to build an offline feature pipeline, online serving layer, and deployed recommendation system.
| datawhalechina/fun-rec | home-assistant/operating-system | traceloop/openllmetry | |
|---|---|---|---|
| Stars | 7,097 | 7,097 | 7,100 |
| Language | Python | Python | Python |
| Setup difficulty | hard | hard | moderate |
| Complexity | 4/5 | 5/5 | 2/5 |
| Audience | researcher | ops devops | developer |
Figures from each repo's GitHub metadata at analysis time.
This is a reading resource, not a runnable package, effort depends on which chapter's code examples you implement.
Fun-Rec is a Chinese-language textbook and learning resource about recommendation systems, published by Datawhale, a Chinese AI learning community. A recommendation system is the kind of software that decides which videos, products, or articles to show you based on your past behavior. This project covers both the foundational techniques and more recent approaches driven by large AI models. The content is split into two main sections. The first covers the traditional multi-stage pipeline that most large platforms use: an initial candidate retrieval step that quickly narrows millions of items to a few thousand, followed by ranking and re-ranking steps that order those candidates more carefully. Topics include collaborative filtering, vector-based retrieval, feature crossing, sequential modeling, and multi-objective ranking. The second section focuses on generative recommendation, a newer direction where large language models and diffusion models take a more direct role in producing recommendations. Chapters cover scaling laws for recommendation models, end-to-end generative modeling, and reasoning-based approaches where the model thinks through item selection step by step. The final chapter walks through building a production-grade recommendation system from scratch, including offline pipelines, online serving, and deployment. The project is still actively being updated. It is primarily written for readers who already have a machine learning background and want to understand how recommendation algorithms work in real products. The README and all content are in Chinese, with a link to an English version of the README.
A Chinese-language textbook on recommendation systems covering classic multi-stage pipelines, modern LLM-driven approaches, and a final chapter on building a full production system from scratch.
Mainly Python. The stack also includes Python.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.