Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1539, in _prepare_split_single
                  for key, record in generator:
                                     ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 131, in _generate_examples
                  for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
                                              ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  for filename, f in tar_iterator:
                                     ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
                  for x in self.generator(*self.args):
                           ~~~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1419, in _iter_from_urlpath
                  with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
                       ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 976, in xopen
                  file_obj = fs.open(paths[0], mode)
                File "<string>", line 3, in open
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
                  return self._mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
                  return self._execute_mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
                  result = effect(*args, **kwargs)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 794, in wrapped
                  tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
                                                               ~~~^^^^^^^^
              TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1401, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1579, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

parquet
unknown
__key__
string
__url__
string
[ 80, 65, 82, 49, 21, 4, 21, 216, 62, 21, 226, 62, 76, 21, 214, 15, 21, 0, 18, 0, 0, 172, 31, 244, 171, 15, 119, 137, 152, 190, 4, 171, 160, 190, 38, 39, 113, 63, 58, 51, 51, 63, 145, 246, 106, 181, 102, 166, 31, 183, ...
adjust_bottle-demo_clean_collect_200-50/data/chunk-000/episode_000000
hf://datasets/FreDERicia/SWAM-Posttrain@fdffaa1cfb0a9b52a7941d47e6eedbdafaf6bf25/data/adjust_bottle-demo_clean_collect_200-50.tar
[ 80, 65, 82, 49, 21, 4, 21, 200, 64, 21, 210, 64, 76, 21, 146, 16, 21, 0, 18, 0, 0, 164, 32, 244, 35, 16, 119, 137, 152, 190, 4, 171, 160, 190, 38, 39, 113, 63, 58, 51, 51, 63, 145, 246, 106, 181, 102, 166, 31, 183, 1...
adjust_bottle-demo_clean_collect_200-50/data/chunk-000/episode_000001
hf://datasets/FreDERicia/SWAM-Posttrain@fdffaa1cfb0a9b52a7941d47e6eedbdafaf6bf25/data/adjust_bottle-demo_clean_collect_200-50.tar
[ 80, 65, 82, 49, 21, 4, 21, 208, 60, 21, 218, 60, 76, 21, 148, 15, 21, 0, 18, 0, 0, 168, 30, 244, 39, 15, 119, 137, 152, 190, 4, 171, 160, 190, 38, 39, 113, 63, 58, 51, 51, 63, 145, 246, 106, 181, 102, 166, 31, 183, 1...
adjust_bottle-demo_clean_collect_200-50/data/chunk-000/episode_000002
hf://datasets/FreDERicia/SWAM-Posttrain@fdffaa1cfb0a9b52a7941d47e6eedbdafaf6bf25/data/adjust_bottle-demo_clean_collect_200-50.tar
[ 80, 65, 82, 49, 21, 4, 21, 184, 62, 21, 194, 62, 76, 21, 206, 15, 21, 0, 18, 0, 0, 156, 31, 244, 155, 15, 119, 137, 152, 190, 4, 171, 160, 190, 38, 39, 113, 63, 58, 51, 51, 63, 145, 246, 106, 181, 102, 166, 31, 183, ...
adjust_bottle-demo_clean_collect_200-50/data/chunk-000/episode_000003
hf://datasets/FreDERicia/SWAM-Posttrain@fdffaa1cfb0a9b52a7941d47e6eedbdafaf6bf25/data/adjust_bottle-demo_clean_collect_200-50.tar
[ 80, 65, 82, 49, 21, 4, 21, 248, 65, 21, 130, 66, 76, 21, 190, 16, 21, 0, 18, 0, 0, 252, 32, 244, 123, 16, 119, 137, 152, 190, 4, 171, 160, 190, 38, 39, 113, 63, 58, 51, 51, 63, 145, 246, 106, 181, 102, 166, 31, 183, ...
adjust_bottle-demo_clean_collect_200-50/data/chunk-000/episode_000004
hf://datasets/FreDERicia/SWAM-Posttrain@fdffaa1cfb0a9b52a7941d47e6eedbdafaf6bf25/data/adjust_bottle-demo_clean_collect_200-50.tar
[ 80, 65, 82, 49, 21, 4, 21, 192, 64, 21, 202, 64, 76, 21, 144, 16, 21, 0, 18, 0, 0, 160, 32, 244, 31, 16, 119, 137, 152, 190, 4, 171, 160, 190, 38, 39, 113, 63, 58, 51, 51, 63, 145, 246, 106, 181, 102, 166, 31, 183, 1...
adjust_bottle-demo_clean_collect_200-50/data/chunk-000/episode_000005
hf://datasets/FreDERicia/SWAM-Posttrain@fdffaa1cfb0a9b52a7941d47e6eedbdafaf6bf25/data/adjust_bottle-demo_clean_collect_200-50.tar
[ 80, 65, 82, 49, 21, 4, 21, 184, 64, 21, 194, 64, 76, 21, 142, 16, 21, 0, 18, 0, 0, 156, 32, 244, 27, 16, 119, 137, 152, 190, 4, 171, 160, 190, 38, 39, 113, 63, 58, 51, 51, 63, 145, 246, 106, 181, 102, 166, 31, 183, 1...
adjust_bottle-demo_clean_collect_200-50/data/chunk-000/episode_000006
hf://datasets/FreDERicia/SWAM-Posttrain@fdffaa1cfb0a9b52a7941d47e6eedbdafaf6bf25/data/adjust_bottle-demo_clean_collect_200-50.tar
"UEFSMRUEFeBCFepCTBXYEBUAEgAAsCH0rxB3iZi+BKugviYncT86MzM/kfZqtWamH7cL0jY/AACAP8zknD5sJ6C+meVwP6kcND+(...TRUNCATED)
adjust_bottle-demo_clean_collect_200-50/data/chunk-000/episode_000007
"hf://datasets/FreDERicia/SWAM-Posttrain@fdffaa1cfb0a9b52a7941d47e6eedbdafaf6bf25/data/adjust_bottle(...TRUNCATED)
"UEFSMRUEFag9FbI9TBWqDxUAEgAA1B70Uw93iZi+BKugviYncT86MzM/kfZqtWamH7cL0jY/AACAP8zknD5sJ6C+meVwP6kcND+(...TRUNCATED)
adjust_bottle-demo_clean_collect_200-50/data/chunk-000/episode_000008
"hf://datasets/FreDERicia/SWAM-Posttrain@fdffaa1cfb0a9b52a7941d47e6eedbdafaf6bf25/data/adjust_bottle(...TRUNCATED)
"UEFSMRUEFahCFbJCTBXKEBUAEgAAlCH0kxB3iZi+BKugviYncT86MzM/kfZqtWamH7cL0jY/AACAP8zknD5sJ6C+meVwP6kcND+(...TRUNCATED)
adjust_bottle-demo_clean_collect_200-50/data/chunk-000/episode_000009
"hf://datasets/FreDERicia/SWAM-Posttrain@fdffaa1cfb0a9b52a7941d47e6eedbdafaf6bf25/data/adjust_bottle(...TRUNCATED)
End of preview.

SWAM-Posttrain

SWAM project cover

GitHub codeProject websitearXiv paper

This repository provides the RoboTwin Clean posttraining data used in SWAM: Scaling World Action Models with Cross-Modal Alignment.

The release contains 50 tasks and 2,500 episodes, distributed as 50 TAR archives totaling approximately 3.94 GB. Browse all data

Data format and directory structure

Each task follows a LeRobot-style layout with data/, videos/, and meta/ directories, containing actions and states, videos, language instructions, and statistics. Original episode IDs are preserved. Latents are not included.

The archives retain 16 episodes listed in the per-task meta/episode_exclusions_20261023.jsonl files. Apply these exclusions during training to obtain 2,484 eligible episodes. Task instructions are stored in meta/tasks_v1.jsonl.

Download and extract

Install the Hugging Face CLI.

pip install -U huggingface_hub

Download the dataset.

hf download FreDERicia/SWAM-Posttrain \
  --repo-type dataset --local-dir ./SWAM-Posttrain

Extract all task archives into the same directory on Linux or macOS.

mkdir -p ./lerobot_robotwin_eef_clean_50
for archive in ./SWAM-Posttrain/data/*.tar; do
  tar -xf "$archive" -C ./lerobot_robotwin_eef_clean_50
done

The extracted layout is lerobot_robotwin_eef_clean_50/<task-directory>/{data,videos,meta}/.

Source terms and attribution

The source data declares a CC BY-NC-SA 4.0 license. Please follow the upstream license and attribution requirements. The original documentation is retained in SOURCE_README.md.

Related resources

Model checkpoints · Pretraining data

Code and citation

Code is available in the SWAM code repository.

If you use this dataset, please cite the SWAM paper.

@misc{zhou2026swam,
  title = {SWAM: Scaling World Action Models with Cross-Modal Alignment},
  author = {Yu Zhou and Xinyuan Xia and Xuankun Yang and Yinghao Yang and Wendi Chen and Bowen Liu and Jianhan Ma and Weicheng Duan and Jun Lv and Cewu Lu and Yanwei Li},
  year = {2026},
  eprint = {2611.12870},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.12870}
}
Downloads last month
8

Models trained or fine-tuned on FreDERicia/SWAM-Posttrain

Collection including FreDERicia/SWAM-Posttrain

Paper for FreDERicia/SWAM-Posttrain