What do you want to do?
3 use cases
-
Train a robot policy on a Hugging Face dataset
Train an ACT policy on a public LeRobot dataset with one lerobot-train command, no robot needed.
View prompt
Using huggingface/lerobot, install the training extra and run lerobot-train with --policy.type=act on --dataset.repo_id=lerobot/aloha_mobile_cabinet with --policy.push_to_hub=false. Report training loss and where the checkpoint was saved.
-
Benchmark a vision-language-action policy in simulation
Evaluate a pretrained Pi0 policy on the LIBERO benchmark with lerobot-eval.
View prompt
With huggingface/lerobot, run lerobot-eval on --policy.path=lerobot/pi0_libero_finetuned with --env.type=libero --env.task=libero_object --eval.n_episodes=10, then summarise the success rate.
-
Load and explore a robot dataset from the Hub
Load a LeRobotDataset in Python and inspect synchronized video and action data episode by episode.
View prompt
Using huggingface/lerobot, load the dataset lerobot/aloha_mobile_cabinet with LeRobotDataset, print the features and the action shape of episode 0, and split it into train and validation by fraction.
Quick start with Lerobot
- Check you have what it needs: Python and pip; Extras for your task: lerobot[dataset], lerobot[training], or lerobot[core_scripts,feetech] for an SO-101 arm; A GPU for training most policies (see the Compute Hardware Guide).
- Open huggingface/lerobot on GitHub and read the README and license.
- Install with
pip install lerobotand check the setup with lerobot-info - Add training dependencies with the 'Lerobot[training]' extra
- Train with
lerobot-trainusing--policy.type=act,--dataset.repo_id=lerobot/aloha_mobile_cabinetand--policy.push_to_hub=false - Try other policies from the README table, such as Diffusion or SmolVLA, by changing policy.type
These steps come from our top use case, Train a robot policy on a Hugging Face dataset, 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 huggingface/lerobot
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 forRobotics hobbyists, students and researchers who want to collect data, train policies and run them on real or simulated robots.
- Why it is hot29k stars, talked about in 2 AI sources we track
- LanguagePython
- Sourcegithub.com/huggingface/lerobot ยท Back to Hot repos
Requirements
- Python and pip
- Extras for your task: lerobot[dataset], lerobot[training], or lerobot[core_scripts,feetech] for an SO-101 arm
- A GPU for training most policies (see the Compute Hardware Guide)
- Optional: a supported robot such as SO101, Koch or LeKiwi, and a Hugging Face account to push datasets and models
Add this badge to your README
Maintain Lerobot? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/huggingface-lerobot/?utm_source=github&utm_medium=badge&utm_campaign=huggingface-lerobot)
HTML
<a href="https://dedupedai.com/use-cases/huggingface-lerobot/?utm_source=github&utm_medium=badge&utm_campaign=huggingface-lerobot"><img src="https://dedupedai.com/badge/huggingface/lerobot.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Lerobot
What is Lerobot?
LeRobot is Hugging Face's PyTorch library of models, datasets and tools for real-world robotics. It gives a hardware-agnostic Robot interface from low-cost arms like the SO-100 and SO-101 up to humanoids, the LeRobotDataset format (Parquet plus MP4) hosted on the Hugging Face Hub, and state-of-the-art policies for imitation learning, reinforcement learning and vision-language-action models, with CLI commands to record, train, evaluate and roll out policies. It is an open-source project on GitHub: https://github.com/huggingface/lerobot.
How do I use Lerobot?
Install with pip install lerobot and check the setup with lerobot-info; then add training dependencies with the 'Lerobot[training]' extra; Train with lerobot-train using --policy.type=act, --dataset.repo_id=lerobot/aloha_mobile_cabinet and --policy.push_to_hub=false. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Lerobot for?
Robotics hobbyists, students and researchers who want to collect data, train policies and run them on real or simulated robots.
What can I do with Lerobot?
3 use cases so far, for example: Train a robot policy on a Hugging Face dataset; Benchmark a vision-language-action policy in simulation; Load and explore a robot dataset from the Hub. Each has steps and a copy-paste agent prompt.
What do I need to run Lerobot?
Python and pip; Extras for your task: lerobot[dataset], lerobot[training], or lerobot[core_scripts,feetech] for an SO-101 arm; A GPU for training most policies (see the Compute Hardware Guide); Optional: a supported robot such as SO101, Koch or LeKiwi, and a Hugging Face account to push datasets and models.
What are alternatives to Lerobot?
Other hot AI repos in Software and DevOps: ECC, Thinkrail, Superpowers, Deep Infer, Instructor.
Is Lerobot 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.