What do you want to do?
3 use cases
-
Run a recommender baseline in under a minute
Train and evaluate the BPR model on the ml-100k dataset with one script to see the metrics Rec Bole reports.
View prompt
Using RUCAIBox/RecBole, clone it, install with `pip install -e . --verbose`, run `python run_recbole.py`, and report the final recall@10 and ndcg@10.
-
Compare recommendation models on the same data
Swap the model and key parameters from the command line to compare algorithms under identical evaluation settings.
View prompt
Using RUCAIBox/RecBole, run `python run_recbole.py --model=[model_name]` for three models of my choice on ml-100k and give me a table of recall@10 and ndcg@10 for each.
-
Auto-tune recommender hyperparameters
Describe a search space in hyper.test and let run_hyper.py find the best settings.
View prompt
Using RUCAIBox/RecBole, write a hyper.test search space for <my model>, run run_hyper.py on <my dataset>, and report the best parameters and their score.
Quick start with Rec Bole
- Check you have what it needs: Python 3.7 or later and torch 1.7.0 or later; Install with `pip install recbole` or `conda install -c aibox recbole`, or from source to get the scripts; Optional: CUDA 9.2 or later for GPU training.
- Open RUCAIBox/RecBole on GitHub and read the README and license.
- Get the source with
git clone https://github.com/RUCAIBox/RecBole.git && cd RecBole - Install it with
pip install -e . --verbose - Run
python run_recbole.pyto train BPR on ml-100k - Read the evaluation metrics in the log output
These steps come from our top use case, Run a recommender baseline in under a minute, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for RUCAIBox/RecBole
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forResearchers and ML engineers who want to benchmark recommender models on the same data and metrics before choosing one.
- Why it is hot4.6k stars, talked about in 2 AI sources we track
- Sourcegithub.com/RUCAIBox/RecBole ยท Back to Hot repos
Requirements
- Python 3.7 or later and torch 1.7.0 or later
- Install with `pip install recbole` or `conda install -c aibox recbole`, or from source to get the scripts
- Optional: CUDA 9.2 or later for GPU training
Add this badge to your README
Maintain Rec Bole? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/rucaibox-recbole/?utm_source=github&utm_medium=badge&utm_campaign=RUCAIBox-RecBole)
HTML
<a href="https://dedupedai.com/use-cases/rucaibox-recbole/?utm_source=github&utm_medium=badge&utm_campaign=RUCAIBox-RecBole"><img src="https://dedupedai.com/badge/RUCAIBox/RecBole.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Rec Bole
What is Rec Bole?
RecBole is a Python and PyTorch library for reproducing and developing recommendation algorithms in one unified framework. It implements 94 recommendation models across general, sequential, context-aware and knowledge-based tasks, ships formatted copies of benchmark datasets, and runs experiments and hyperparameter searches from the run_recbole.py and run_hyper.py scripts. It is an open-source project on GitHub: https://github.com/RUCAIBox/RecBole.
How do I use Rec Bole?
Get the source with git clone https://github.com/RUCAIBox/RecBole.git && cd RecBole; then install it with pip install -e . --verbose; run python run_recbole.py to train BPR on ml-100k. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Rec Bole for?
Researchers and ML engineers who want to benchmark recommender models on the same data and metrics before choosing one.
What can I do with Rec Bole?
3 use cases so far, for example: Run a recommender baseline in under a minute; Compare recommendation models on the same data; Auto-tune recommender hyperparameters. Each has steps and a copy-paste agent prompt.
What do I need to run Rec Bole?
Python 3.7 or later and torch 1.7.0 or later; Install with `pip install recbole` or `conda install -c aibox recbole`, or from source to get the scripts; Optional: CUDA 9.2 or later for GPU training.
What are alternatives to Rec Bole?
Other hot AI repos in Data and analytics: Chronos Forecasting, Apify MCP Server, Crawlee Python, DLT, Timesfm.
Is Rec Bole safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.