--- id: recbole version: "1.2.1" license: unclear license_treatment: permissive maintenance: aging --- # recbole — A unified, comprehensive and efficient recommendation library License: permissive · Maintenance: aging · Downloads: 90.5K/mo ## What it is and what it does RecBole is a research-focused recommendation library built on PyTorch that bundles a large collection of recommendation algorithms and preprocessed benchmark datasets into a single framework. It abstracts away data loading, evaluation protocols, and model training boilerplate so researchers can focus on algorithm development and comparison. The library covers four recommendation task categories: general (e.g., collaborative filtering), sequential (e.g., next-item prediction), context-aware (e.g., factorization machines), and knowledge-based (e.g., knowledge graph embeddings). The package depends on 16 runtime libraries including torch, numpy, scipy, pandas, scikit-learn, and tensorboard. It is designed for GPU-accelerated training and includes utilities for hyperparameter tuning, significance testing, and standardized evaluation. The framework is intended for reproducible research rather than production deployment, with emphasis on benchmarking and comparing algorithms on common datasets. Use it for: - Reproduce published recommendation algorithm results on standard benchmarks to verify claims or understand baselines. - Implement and test a new recommendation algorithm within a unified data and evaluation framework. - Compare multiple recommendation approaches on the same dataset using standardized metrics and train/test splits. - Preprocess and format raw recommendation data into RecBole's unified structure for consistent downstream use. - Tune hyperparameters across multiple recommendation models using built-in search and parallel evaluation. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. RecBole provides a unified framework for implementing, benchmarking, and comparing recommendation algorithms across general, sequential, context-aware, and knowledge-based categories. Yes, if you are conducting recommendation research and need a unified benchmark framework. The library is actively maintained, permissively licensed, and has low install friction. However, it is research-focused and not designed for production systems; the aging maintenance status and large dependency footprint (16 runtime packages) mean you should verify that the algorithm coverage and dataset versions match your specific research needs before committing. ## Install pip install recbole uv add recbole poetry add recbole ## Installing recbole Before you install: Low install friction with a pure-Python wheel. The package is actively maintained with a recent release (2025-02-24) and has accumulated 4526 repository stars, though maintenance status is marked as aging. License in practice: MIT license permits unrestricted use, modification, and distribution in both open-source and commercial contexts with minimal restrictions. Quickstart: pip install recbole from recbole.quick_start import quick_start quick_start(model='BPR', dataset='ml-100k') Requires PyTorch 1.7.0 or later; GPU use requires CUDA 9.2+ and NVIDIA driver >= 396.26 (Linux) or >= 397.44 (Windows 10). Verify before relying: - Actual number of implemented algorithms (description claims 94 but does not specify which are in v1.2.1) - Whether all 44 benchmark datasets are included or require separate download - Multi-GPU and mixed precision training support status in v1.2.1 - Python version requirement (description says 3.7+, but requires_python is unspecified) ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: aging - Downloads: 90.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags recommendation system framework, collaborative filtering library, benchmark recommendation algorithms, sequential recommendation models, knowledge graph recommendation, recommendation-systems, benchmarking, pytorch [View on SkillFed](https://skillfed.io/packages/recbole) · [View on PyPI](https://pypi.org/project/recbole/)