--- datasets: alexis779/so100_cube_rectangle_day library_name: lerobot license: apache-2.0 model_name: reward_classifier pipeline_tag: robotics tags: - reward_classifier - lerobot - robotics - reward-model --- # Reward Model Card for reward_classifier A reward classifier is a lightweight neural network that scores observations or trajectories for task success, providing a learned reward signal or offline evaluation when explicit rewards are unavailable. This reward model has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot). See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index). --- ## How to Get Started with the Reward Model ### Train from scratch ```bash lerobot-train \ --dataset.repo_id=${HF_USER}/ \ --reward_model.type=reward_classifier \ --output_dir=outputs/train/ \ --job_name=lerobot_reward_training \ --reward_model.device=cuda \ --reward_model.repo_id=${HF_USER}/ \ --wandb.enable=true ``` _Writes checkpoints to `outputs/train//checkpoints/`._ ### Load the reward model in Python ```python from lerobot.rewards import make_reward_model reward_model = make_reward_model(pretrained_path="/") reward = reward_model.compute_reward(batch) ``` --- ## Model Details - **License:** apache-2.0