text
stringlengths
36
61
real_episode_2024-05-31-close-drawer_0
real_episode_2024-05-31-close-drawer_1
real_episode_2024-05-31-close-drawer_10
real_episode_2024-05-31-close-drawer_2
real_episode_2024-05-31-close-drawer_3
real_episode_2024-05-31-close-drawer_4
real_episode_2024-05-31-close-drawer_5
real_episode_2024-05-31-close-drawer_6
real_episode_2024-05-31-close-drawer_7
real_episode_2024-05-31-close-drawer_8
real_episode_2024-05-31-close-drawer_9
real_episode_2024-05-31-closing-tongs_0
real_episode_2024-05-31-closing-tongs_1
real_episode_2024-05-31-closing-tongs_10
real_episode_2024-05-31-closing-tongs_2
real_episode_2024-05-31-closing-tongs_3
real_episode_2024-05-31-closing-tongs_4
real_episode_2024-05-31-closing-tongs_5
real_episode_2024-05-31-closing-tongs_6
real_episode_2024-05-31-closing-tongs_7
real_episode_2024-05-31-closing-tongs_8
real_episode_2024-05-31-closing-tongs_9
real_episode_2024-05-31-open-drawer_0
real_episode_2024-05-31-open-drawer_1
real_episode_2024-05-31-open-drawer_10
real_episode_2024-05-31-open-drawer_2
real_episode_2024-05-31-open-drawer_3
real_episode_2024-05-31-open-drawer_4
real_episode_2024-05-31-open-drawer_5
real_episode_2024-05-31-open-drawer_6
real_episode_2024-05-31-open-drawer_7
real_episode_2024-05-31-open-drawer_8
real_episode_2024-05-31-open-drawer_9
real_episode_2024-05-31-orange-cup-into-yellow-cup_0
real_episode_2024-05-31-orange-cup-into-yellow-cup_1
real_episode_2024-05-31-orange-cup-into-yellow-cup_10
real_episode_2024-05-31-orange-cup-into-yellow-cup_2
real_episode_2024-05-31-orange-cup-into-yellow-cup_3
real_episode_2024-05-31-orange-cup-into-yellow-cup_4
real_episode_2024-05-31-orange-cup-into-yellow-cup_5
real_episode_2024-05-31-orange-cup-into-yellow-cup_6
real_episode_2024-05-31-orange-cup-into-yellow-cup_7
real_episode_2024-05-31-orange-cup-into-yellow-cup_8
real_episode_2024-05-31-orange-cup-into-yellow-cup_9
real_episode_2024-05-31-pick-up-green-triangle_0
real_episode_2024-05-31-pick-up-green-triangle_1
real_episode_2024-05-31-pick-up-green-triangle_2
real_episode_2024-05-31-pick-up-green-triangle_3
real_episode_2024-05-31-pick-up-green-triangle_4
real_episode_2024-05-31-pick-up-green-triangle_5
real_episode_2024-05-31-pick-up-green-triangle_6
real_episode_2024-05-31-pick-up-green-triangle_7
real_episode_2024-05-31-pick-up-green-triangle_8
real_episode_2024-05-31-pick-up-green-triangle_9
real_episode_2024-05-31-pickplace-deer-greybowl_0
real_episode_2024-05-31-pickplace-deer-greybowl_1
real_episode_2024-05-31-pickplace-deer-greybowl_10
real_episode_2024-05-31-pickplace-deer-greybowl_2
real_episode_2024-05-31-pickplace-deer-greybowl_3
real_episode_2024-05-31-pickplace-deer-greybowl_4
real_episode_2024-05-31-pickplace-deer-greybowl_5
real_episode_2024-05-31-pickplace-deer-greybowl_6
real_episode_2024-05-31-pickplace-deer-greybowl_7
real_episode_2024-05-31-pickplace-deer-greybowl_8
real_episode_2024-05-31-pickplace-deer-greybowl_9
real_episode_2024-05-31-pickup-potato_0
real_episode_2024-05-31-pickup-potato_1
real_episode_2024-05-31-pickup-potato_2
real_episode_2024-05-31-pickup-potato_3
real_episode_2024-05-31-pickup-potato_4
real_episode_2024-05-31-pickup-potato_5
real_episode_2024-05-31-pickup-potato_6
real_episode_2024-05-31-pickup-potato_7
real_episode_2024-05-31-pickup-potato_8
real_episode_2024-05-31-poke-block_0
real_episode_2024-05-31-poke-block_1
real_episode_2024-05-31-poke-block_10
real_episode_2024-05-31-poke-block_11
real_episode_2024-05-31-poke-block_12
real_episode_2024-05-31-poke-block_2
real_episode_2024-05-31-poke-block_3
real_episode_2024-05-31-poke-block_4
real_episode_2024-05-31-poke-block_5
real_episode_2024-05-31-poke-block_6
real_episode_2024-05-31-poke-block_7
real_episode_2024-05-31-poke-block_8
real_episode_2024-05-31-poke-block_9
real_episode_2024-05-31-push-blue-cube_0
real_episode_2024-05-31-push-blue-cube_1
real_episode_2024-05-31-push-blue-cube_10
real_episode_2024-05-31-push-blue-cube_11
real_episode_2024-05-31-push-blue-cube_12
real_episode_2024-05-31-push-blue-cube_13
real_episode_2024-05-31-push-blue-cube_14
real_episode_2024-05-31-push-blue-cube_15
real_episode_2024-05-31-push-blue-cube_16
real_episode_2024-05-31-push-blue-cube_17
real_episode_2024-05-31-push-blue-cube_2
real_episode_2024-05-31-push-blue-cube_3
real_episode_2024-05-31-push-blue-cube_4
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

In-Context Imitation Learning via Next-Token Prediction

by Max (Letian) Fu*, Huang Huang*, Gaurav Datta*, Lawrence Yunliang Chen, William Chung-Ho Panitch, Fangchen Liu, Hui Li, and Ken Goldberg at UC Berkeley and Autodesk (*equal contribution).

[Paper] | [Project Page] | [Checkpoints] | [Dataset] | [Citation]

This repo contains the checkpoints for In-Context Imitation Learning via Next-Token Prediction. We investigate how to bring few-shot, in-context learning capability that exists in next-token prediction models (i.e. GPT) into real-robot imitation learning policies.

In particular, we store the pre-trained vision encoder and ICRT model separately. Please find them in encoder, ICRT, and ICRT-Llama7B.

Please refer to the code on installing the repo, training and inferencing the model.

Dataset Structure

ICRT-MT
β”œβ”€β”€ merged_data_part1.hdf5
β”‚   β”œβ”€β”€ episode_1
β”‚   β”‚   β”œβ”€β”€ observation
β”‚   β”‚       β”œβ”€β”€ exterior_image_1_left
β”‚   β”‚       └── exterior_image_2_left
β”‚   β”‚       └── wrist_image_left
β”‚   β”‚       └── cartesian_position
β”‚   β”‚       └── gripper_position
β”‚   β”‚       └── joint_position
β”‚   β”‚   β”œβ”€β”€ action
β”‚   β”‚       β”œβ”€β”€ cartesian_velocity
β”‚   β”‚       └── gripper_velocity
β”‚   β”‚       └── joint_velocity
β”‚   β”‚       └── cartesian_position
β”‚   β”‚       └── gripper_position
β”‚   β”‚       └── joint_position
β”‚   β”‚   β”œβ”€β”€ language_instruction
β”‚   β”‚   β”œβ”€β”€ language_instruction_2
β”‚   β”‚   β”œβ”€β”€ language_instruction_3
β”‚   β”‚   β”œβ”€β”€ language_embedding
β”‚   β”‚   β”œβ”€β”€ language_embedding_2
β”‚   β”‚   β”œβ”€β”€ language_embedding_3
β”‚   β”‚   ...
β”‚   β”œβ”€β”€ episode_2
β”‚   β”‚   ...
β”‚   └── episode_3
β”‚       ...
└── merged_data_part1_keys.json
...

Citation

Please give us a star 🌟 on Github to support us!

Please cite our work if you find our work inspiring or use our code in your work:

@article{fu2024icrt,
    title={In-Context Imitation Learning via Next-Token Prediction}, 
    author={Letian Fu and Huang Huang and Gaurav Datta and Lawrence Yunliang Chen and William Chung-Ho Panitch and Fangchen Liu and Hui Li and Ken Goldberg},
    journal={arXiv preprint arXiv:2408.15980},
    year={2024}
}
Downloads last month
10