Who it is forAn ML engineer starting a recommendation project who needs a reference number.
The problemWriting data loading, training and evaluation for each model takes days.
The outcomeA trained BPR model with recall@10, mrr@10, ndcg@10, hit@10 and precision@10 on ml-100k.
What you need first
- 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
Steps
- 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
Prompt for your agent
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.
Caveat. The README says this example typically takes less than one minute.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for RUCAIBox/RecBole and "Run a recommender baseline in under a minute"
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 freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer