motion-train / README.md
Sterzhang's picture
Restore balanced 1,000-example test split from reviewed training examples
ae25ebb verified
|
Raw History Blame Contribute Delete
3.42 kB
metadata
language:
  - en
task_categories:
  - visual-question-answering
tags:
  - robotics
  - motion-understanding
  - droid
  - multimodal
size_categories:
  - 1K<n<10K
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*.parquet
      - split: test
        path: data/test-*.parquet
dataset_info:
  features:
    - name: id
      dtype: string
    - name: question
      dtype: string
    - name: options
      list: string
    - name: answer
      dtype: string
    - name: answer_index
      dtype: int64
    - name: answer_letter
      dtype: string
    - name: frames
      list: image
    - name: frame_indices
      list: int64
    - name: category
      dtype: string
    - name: split
      dtype: string
    - name: source_id
      dtype: string
    - name: image_paths
      list: string
    - name: label_revision
      dtype: string
    - name: generated_source_index
      dtype: int64
    - name: source_index
      dtype: int64
    - name: reported_answer
      dtype: string
    - name: reported_answer_letter
      dtype: string
  splits:
    - name: train
      num_bytes: 16369066234
      num_examples: 8202
    - name: test
      num_bytes: 2127597535
      num_examples: 1000
  download_size: 18428484965
  dataset_size: 18496663769

MotionLM motion question answering

This dataset combines the corrected MotionLM training and test exports into one repository with 8,202 train examples and 1,000 test examples. Each example contains a multiple-choice question, answer, and 16 chronological JPEG frames. The frames column is a list of Hugging Face Image features, with the original JPEG bytes embedded in self-contained Parquet shards. The Dataset Viewer can display the frames alongside each question and answer.

Usage

from datasets import load_dataset

dataset = load_dataset("Sterzhang/motion-train")
train = dataset["train"]
test = dataset["test"]
example = train[0]
print(example["question"], example["options"], example["answer"])
example["frames"][0]  # a PIL image

For streaming access, use load_dataset("Sterzhang/motion-train", streaming=True).

Fields

  • id, question, options, answer, answer_index, answer_letter: the QA; answer indices are zero-based and letters start at A.
  • frames: 16 original 1280 × 720 RGB JPEG images, in chronological order.
  • frame_indices: source-relative frame indices supplied by the export. Original video frame rate and absolute source time are unavailable.
  • category: gripper_width, gripper_rel_to_obj, obj_rel_to_camera, obj_rel_to_obj, or trajectory_shape.
  • split, source_id, image_paths, label_revision: split and export provenance.
  • generated_source_index, source_index: source indices supplied by the original train/test exports. Unused fields are null.
  • reported_answer, reported_answer_letter: retained publisher correction provenance for the three test records that originally included these fields; otherwise null.

Sources

The source MotionLM exports did not declare a license in their dataset cards. This reformatting does not assign a new license; consult the upstream sources for applicable terms.