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.3.tar.gz (18.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.3-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lerobot_policy_rewact-0.1.3.tar.gz
  • Upload date:
  • Size: 18.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.3.tar.gz
Algorithm Hash digest
SHA256 c0b9b771cacef431310665a39c04aab902998fa3817274326495a096212d15d1
MD5 c1c75f995ad021eb87543f1f2365ba8b
BLAKE2b-256 57af9f54a487ba633f17ab5c80849f9ca0f5ce75b49aebdecde5bce4ff805390

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lerobot_policy_rewact-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 736f582dd9d45e4d6452875f6fb634e496842cdcbb3b6f46d3f09fed843dc9f9
MD5 80edf46815fb14c47dd209ba1a7dc266
BLAKE2b-256 3a6348bb36430d869a2ac60b01346ff9308b55158bf26020b86d2f3fa8678d53

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