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()
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'
]
videos = torch.rand(2, 3, 16, 224, 224)
loss = reward_model(commands, videos, rewards = torch.randn(2, 16))
loss.backward()
# after much training
pred = reward_model(commands, videos)
assert pred.shape == (2, 16)
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
Release history Release notifications | RSS feed
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.15.tar.gz
(909.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rewind_reward_pytorch-0.0.15.tar.gz.
File metadata
- Download URL: rewind_reward_pytorch-0.0.15.tar.gz
- Upload date:
- Size: 909.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b47fff750e853779e826236b8edf966137fd591d10927327e433ca52e95483f
|
|
| MD5 |
3e3dbba2c269650f329be738934a8c08
|
|
| BLAKE2b-256 |
96460de1c2140eb34fc87b62a419846a08bdf3c283002c57ad42067c45bee9c5
|
File details
Details for the file rewind_reward_pytorch-0.0.15-py3-none-any.whl.
File metadata
- Download URL: rewind_reward_pytorch-0.0.15-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e92a9c2968d2657468f5026f8977ce18e0e96db90cfa7ebe7eb7b93fa6fb323b
|
|
| MD5 |
4fa417e3a6598337e85c5eebf65f6e5d
|
|
| BLAKE2b-256 |
1f28724b8231a9c593ba12ad37ba3d6629c691133cc42d444c1df53222764883
|