Skip to main content

Rewind Reward

Project description

ReWiND Reward - Pytorch (wip)

Implementation of ReWiND, "Language-Guided Rewards Teach Robot Policies without New Demonstrations", from USC / Amazon Robotics

Install

$ pip install rewind-reward-pytorch

Usage

import torch
from rewind_reward_pytorch import RewardModel

reward_model = RewardModel(
    reward_bins = 10
)

commands = [
  'pick up the blue ball and put it in the red tray',
  'pick up the red cube and put it in the green bin'
]

video = torch.rand(2, 3, 16, 224, 224)

logits = reward_model(commands, video) # (2, 16, 10)

assert logits.shape == (2, 16, 10)

Citations

@article{Zhang2025ReWiNDLR,
    title   = {ReWiND: Language-Guided Rewards Teach Robot Policies without New Demonstrations},
    author  = {Jiahui Zhang and Yusen Luo and Abrar Anwar and Sumedh Anand Sontakke and Joseph J. Lim and Jesse Thomason and Erdem Biyik and Jesse Zhang},
    journal = {ArXiv},
    year    = {2025},
    volume  = {abs/2505.10911},
    url     = {https://api.semanticscholar.org/CorpusID:278714746}
}

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

rewind_reward_pytorch-0.0.9.tar.gz (908.6 kB view details)

Uploaded Source

Built Distribution

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

rewind_reward_pytorch-0.0.9-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file rewind_reward_pytorch-0.0.9.tar.gz.

File metadata

  • Download URL: rewind_reward_pytorch-0.0.9.tar.gz
  • Upload date:
  • Size: 908.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for rewind_reward_pytorch-0.0.9.tar.gz
Algorithm Hash digest
SHA256 924b292f6ed68d8a190ef7d463c230c11b6a25cdcb87e0b53c48f23160b0da26
MD5 ff0dd22f41eee40db0df22d0bdf30deb
BLAKE2b-256 7b907ea1d7c2523a571385b7010a5641901e6e1f0f20dce2db6465299837eb5b

See more details on using hashes here.

File details

Details for the file rewind_reward_pytorch-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for rewind_reward_pytorch-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 543b599b3210705a981ff81f0460b06983427cd1d55117ec229cc371d5e6d1de
MD5 e6c683955fc055bb540c41d11af51b43
BLAKE2b-256 5e9e2fc21b70eba0b3a02e70af3f12c2a9a9914c1b1ed10106fde79f4655ee0a

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