FreDERicia commited on
Commit
1d16996
·
verified ·
1 Parent(s): 619e558

Publish English dataset card and download instructions

Browse files
Files changed (1) hide show
  1. README.md +74 -11
README.md CHANGED
@@ -1,5 +1,7 @@
1
  ---
2
  pretty_name: SWAM Pretraining Data
 
 
3
  tags:
4
  - robotics
5
  - world-action-models
@@ -13,21 +15,82 @@ tags:
13
 
14
  **Scaling World Action Models with Cross-Modal Alignment**
15
 
16
- 多源预训练数据整理,汇集机器人演示、第一视角视频和通用视频,用于世界动作模型研究。
17
 
18
- ## 数据范围
19
 
20
- 计划发布 26 个来源目录,覆盖 AgiBot World、RoboCoin、RoboMIND、InternData A1、Galaxea、ABC-130K、EgoVerse 和 OpenVid。各来源的子集划分随发布清单提供。
21
 
22
- ## 数据格式
23
 
24
- - 视频统一为 **320 × 256、AV1 编码、MP4 容器**,保留源帧率和时序。
25
- - 保留各来源提供的 parquet 记录,以及其中的动作、状态和语言标注。
26
- - 沿用 LeRobot 风格的 `data/`、`meta/` 和 `videos/` 目录,更新视频相关元信息。
27
- - 按子集和 chunk 打包,解压后恢复对应目录结构。
28
 
29
- ## 发布状态
30
 
31
- 数据转换与核验正在进行,数据文件尚待上传。可下载内容以仓库文件列表和后续发布清单为准,各来源沿用其对应的使用条款和署名要求。
 
 
 
32
 
33
- 配套代码整合 RLinf、DreamZero、DMuon 和 RoboTwin,提供训练、checkpoint 转换及 RoboTwin 评测入口。代码仓库目前为私有,访问需要授权。[SWAM 代码仓库](https://github.com/shaaaaron/SWAM)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  pretty_name: SWAM Pretraining Data
3
+ language:
4
+ - en
5
  tags:
6
  - robotics
7
  - world-action-models
 
15
 
16
  **Scaling World Action Models with Cross-Modal Alignment**
17
 
18
+ A collection of robot demonstrations, egocentric videos, and general videos prepared for world action model research. This repository distributes processed data from multiple upstream datasets in a consistent video format while preserving source-specific episode records and annotations.
19
 
20
+ ## Release status
21
 
22
+ **This is an incremental release.** As of November 9, 2026, all **22 Galaxea archives (111.90 GB)** have been uploaded and checked against their local SHA-256 hashes. Further subsets will be uploaded in batches; the complete collection is not yet available. Download and sample-loading validation is tracked separately from upload completion.
23
 
24
+ The planned release contains **26 source directories, 1,238 TAR archives, and approximately 2.94 TB** (decimal units). It covers AgiBot World, RoboCoin, RoboMIND, InternData A1, Galaxea, ABC-130K, EgoVerse, and OpenVid. Panda70M, Ego4D, EgoSuite, and UMI are excluded from this release.
25
 
26
+ Use the [Files and versions](https://huggingface.co/datasets/FreDERicia/SWAM-Pretrain/tree/main/data) tab to check which archives are currently available. Directory names preserve the original organization; resolution labels in those names describe the source data, not the resized videos.
 
 
 
27
 
28
+ ## Data format
29
 
30
+ - **Video:** 320 pixels wide by 256 pixels high, AV1 encoded in MP4 containers. Source frame rates and temporal ordering are preserved.
31
+ - **Episode records:** Parquet files retain the actions, states, and language annotations provided by each source. Available fields vary across datasets.
32
+ - **Metadata:** Source-specific metadata is retained, with video-related dimensions and codec information updated for the processed files.
33
+ - **Layout:** LeRobot-style `data/`, `meta/`, and `videos/` directories are packaged as TAR archives. This is an archive distribution, not a single uniform tabular dataset.
34
 
35
+ Each source directory contains `metadata.tar` and one or more `chunk-*.tar` archives. Extract all archives for a source into the **same source directory**. For example:
36
+
37
+ ```text
38
+ archives/data/galaxea/
39
+ metadata.tar
40
+ chunk-000.tar
41
+ ...
42
+ chunk-020.tar
43
+
44
+ # After extraction:
45
+ data/galaxea/
46
+ meta/
47
+ data/chunk-000/...
48
+ videos/chunk-000/...
49
+ ...
50
+ ```
51
+
52
+ ## Download and extract
53
+
54
+ Install the Hugging Face CLI:
55
+
56
+ ```bash
57
+ pip install -U huggingface_hub
58
+ ```
59
+
60
+ Download the complete Galaxea subset:
61
+
62
+ ```bash
63
+ hf download FreDERicia/SWAM-Pretrain \
64
+ --repo-type dataset \
65
+ --include "data/galaxea/*.tar" \
66
+ --local-dir ./archives
67
+ ```
68
+
69
+ Extract it on Linux or macOS:
70
+
71
+ ```bash
72
+ mkdir -p ./data/galaxea
73
+ for archive in ./archives/data/galaxea/*.tar; do
74
+ tar -xf "$archive" -C ./data/galaxea
75
+ done
76
+ ```
77
+
78
+ For a smaller download, fetch `metadata.tar` and one chunk:
79
+
80
+ ```bash
81
+ hf download FreDERicia/SWAM-Pretrain \
82
+ data/galaxea/metadata.tar data/galaxea/chunk-019.tar \
83
+ --repo-type dataset --local-dir ./sample-archives
84
+ ```
85
+
86
+ Extract those two archives into a separate sample directory using the same pattern. Metadata may describe the full source dataset, so a partial download requires a loader restricted to the downloaded episodes. For reproducible downloads, add `--revision <commit-hash>` to the download command.
87
+
88
+ Use a video reader with **AV1 decoding support**, such as a recent FFmpeg build with dav1d. Encoding libraries such as SVT-AV1 are not required to read these videos. Dataset schemas and action conventions remain source-specific; consult each source's `meta/info.json` before loading.
89
+
90
+ ## Source terms and attribution
91
+
92
+ This collection includes data from multiple upstream projects. Their respective licenses, attribution requirements, and usage restrictions continue to apply, including non-commercial restrictions where specified. Processing and repackaging do not grant additional rights or place the entire collection under a single permissive license.
93
+
94
+ ## Code
95
+
96
+ The accompanying [SWAM code repository](https://github.com/shaaaaron/SWAM) integrates RLinf, DreamZero, DMuon, and RoboTwin, with entry points for training, checkpoint conversion, and RoboTwin evaluation. The code repository is currently private and requires authorized access.