Datasets:
VPT Contractor Dataset (reprocessed)
Minecraft gameplay recorded by contractors for OpenAI's Video PreTraining (VPT), reprocessed to reduce filesize, drop long runs of null actions, render the cursor in GUIs, and save cleaned actions and events.
| Version | Directory | Episodes | Hours | Shards |
|---|---|---|---|---|
| 6.x | c06 | 25,922 | 535 | 141 |
| 7.x | c07 | 14,812 | 1,046 | 272 |
| 8.x | c08 | 4,165 | 288 | 75 |
| 9.x | c09 | 6,742 | 482 | 155 |
| 10.x | c10 | 4,082 | 281 | 43 |
| Total | 55,723 | 2,632 | 686 |
See the VPT README for information about differences between versions.
Layout
Each shard is an uncompressed tar file containing whole episode folders at
data/<directory>/<directory>-<number>.tar. Extracting a shard creates <directory>/<episode>/,
where <episode> is the recording's position in OpenAI's index file for that version:
hf download jxiong60/vpt-contractor --repo-type dataset --include "data/c10/*" --local-dir vpt-contractor
mkdir -p contractor && for f in vpt-contractor/data/*/*.tar; do tar -xf "$f" -C contractor; done
split.csv states whether each episode folder is in train or test. Splits are based on world
seed, so no seed is in both train and test.
Each episode folder contains:
frames.mp4: 640x360 H.264 at 20 fps, in limited-range BT.601 Y'CbCr. Encoded with CRF 17, the 'faster' preset, and fast-decode tuning, with a keyframe at least every 32 frames.actions.jsonl: one action per frame. The action on line t has an effect first visible in frame t + 1. Action keys (buttons and mouse/camera) are only included when non-null. Also containspose, the player's x/y/z and pitch/yaw.events.csv: changes in the player's statistics, at the frame that first shows them.info.json: contractor alias, session, date, time, length, window sizes, and game options.raw_metadata.jsonl.gz: the recorder's original per-frame metadata, including frames not kept.
Differences from VPT's data loader
- Long runs of null actions are mostly shortened to at most three timesteps rather than removed entirely. Frames with null actions are not removed if the player's position changes, or if the player is sleeping in a bed, waiting in a nether portal, or waiting in a furnace GUI.
- The first few frames are removed if a recording starts from a new save, to reduce black / loading screens.
- The cursor is drawn at the correct position in recordings that weren't originally recorded at 720p.
- Camera movement is stored as floats, not truncated to integers.
- Scroll wheel actions (
scrollUp,scrollDown) and changes to the selected slot (selectHotbar.#) are stored. - Attack actions held from the first frame are removed until attack is next pressed, as in VPT, but only if no block is mined before then.
- Episode folders with under 128 frames after null-action filtering are removed, as well as a few duplicate episodes.
License
OpenAI's VPT repository is released under the MIT License, copied in LICENSE. Per its README,
Minecraft is the intellectual property of Microsoft, and OpenAI does not purport to license any
intellectual property rights with respect to Minecraft.
- Downloads last month
- 200