Skip to main content

RewACT: Reward-Augmented Action Chunking with Transformers - LeRobot Policy Plugin

Project description

lerobot_policy_rewact

RewACT: Reward-Augmented Action Chunking with Transformers - A LeRobot Policy Plugin

Installation

pip install lerobot_policy_rewact

Or install from source:

cd lerobot_policy_rewact
pip install -e .

Usage

Once installed, the RewACT policy automatically integrates with LeRobot's training and evaluation tools:

lerobot-train \
    --policy.type rewact \
    --env.type pusht \
    --steps 200000

What is RewACT?

RewACT extends the ACT (Action Chunking with Transformers) model with reward-based learning. It adds a reward prediction head to the standard ACT transformer model and trains it via supervised learning, integrating reward predictions into the loss function.

The reward model predicts dense rewards for robotic actions, providing feedback on task progress. This is particularly useful for:

  • Detecting when tasks are complete
  • Providing intermediate feedback during task execution
  • Improving policy learning through reward signals

Features

  • Distributional value prediction using a discrete value function
  • Compatible with all LeRobot datasets and environments
  • Minimal dependencies (only lerobot >= 0.4 required)
  • Full integration with LeRobot's training pipeline

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lerobot_policy_rewact-0.1.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lerobot_policy_rewact-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file lerobot_policy_rewact-0.1.0.tar.gz.

File metadata

  • Download URL: lerobot_policy_rewact-0.1.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for lerobot_policy_rewact-0.1.0.tar.gz
Algorithm Hash digest
SHA256 809b32ae6fc47df119f188c2f1daf6b1a62257c32dd95d7c20e1f5d07837fc9a
MD5 bfcc195b397c066ca2c1614748e9979e
BLAKE2b-256 b6df936be2628c25b676307abcf333265a2e660a9c0f95ee40dcd5b231bd5a0f

See more details on using hashes here.

File details

Details for the file lerobot_policy_rewact-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lerobot_policy_rewact-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2c4a9bb718183e7a3593285a4e8b65cacdc04d242401817b6b69a6486cfd631
MD5 650de14c87f800ef9797cdb9124a299e
BLAKE2b-256 b58d4a8373e4d950ba045ba2b4e59b22f7e3a6931a9b731e139ff99c4ed003fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page