dcvlm_pool_medium
收藏资源简介:
DCVLM-Pool (medium) 是 DataComp-VLM 基准测试的原始候选池,属于 medium 规模版本。该数据集包含约 4.84 亿个样本,总大小约 41.1 TB,涵盖 166 个源数据集,以 WebDataset tar 分片形式存储。数据集未经任何过滤和混合,专为数据策展实验设计,用户可根据需要自行选择过滤器和混合比例来构建训练集。该 medium 池是 small 池的超集,需将两个仓库合并才能获得完整数据。数据内容覆盖多种模态:包括指令数据(含图像和对话)、纯文本数据、图像描述数据以及多模态文档数据。每个样本依据其 data_type 包含不同成员,如对话文件、图像文件、过滤信息 JSON 等。数据集的样本模式支持视觉问答、图像文本理解等任务,适用于多模态大语言模型的数据策展研究。
DCVLM-Pool (medium) is the raw candidate pool of the DataComp-VLM benchmark, belonging to the medium-scale version. The dataset contains approximately 484 million samples, with a total size of about 41.1 TB, covering 166 source datasets, stored in WebDataset tar shards. The dataset is unfiltered and unblended, designed specifically for data curation experiments, allowing users to choose filters and mixing ratios as needed to construct training sets. This medium pool is a superset of the small pool, and merging the two repositories is required to obtain the complete data. The data content covers multiple modalities: including instruction data (with images and dialogues), pure text data, image caption data, and multimodal document data. Each sample includes different members based on its data_type, such as dialogue files, image files, filtering information JSON, etc. The sample schema supports tasks like visual question answering and image-text understanding, suitable for data curation research on multimodal large language models.
DCVLM-Pool (medium) 数据集详情
数据集概述
DCVLM-Pool (medium) 是 DataComp-VLM 基准测试中 medium 规模的原始候选池,包含 483,576,747 个样本 / 41.1 TB 数据,跨越 166 个源数据集,以 WebDataset tar 分片格式存储。该池的规模约为 small pool 的 4 倍,且未经过滤和混合,是数据整理实验的输入而非训练集。用户需自行选择过滤器与混合比例来构建训练集。
存储结构说明
该仓库是 small pool 的增量补充,medium pool 包含 small pool 的完整内容。为避免重复存储约 10 TB 数据,本仓库仅保存 medium 新增的 36,364 个分片(30.8 TB),其余 12,206 个分片(10.3 TB)已在 dcvlm_pool_small 中发布。
| 位置 | 分片数 | 大小 |
|---|---|---|
| 本仓库(medium 新增) | 36,364 | 30.8 TB |
| small pool | 12,206 | 10.3 TB |
| 完整 medium pool | 48,570 | 41.1 TB |
使用方式:下载两个仓库并合并到同一目录。分片索引按源数据集连续编号且不重叠,合并后即为完整的 medium pool。
仓库布局
- 每个源数据集一个目录,延续 small pool 的分片编号。
- 仅
datacomp_1b为嵌套目录(分片数超过 Hugging Face 每个目录 10,000 文件限制,按千分桶),下载后需执行扁平化命令。 - 分片大小因源而异(文本约 20 MB 至交错文档约 4 GB)。
- 每个源目录携带元数据文件
num_saved_samples.txt,记录该源在完整 medium pool 中的样本数(累计值,非增量值)。合并时用本仓库文件覆盖 small pool 版本,不可相加。
样本格式
每个样本由共享同一 key 的多个 tar 成员组成,根据源的 data_type 分为四类:
data_type |
源数量 | 成员组成 |
|---|---|---|
instruction |
108 | <key>.conversations.txt,一张或多张图片(.jpg),<key>.filters.json |
text |
33 | <key>.conversations.txt,<key>.filters.json — 无图片 |
captioning |
15 | <key>.jpg/.webp,<key>.txt(说明文字),<key>.json(img2dataset 原始记录),<key>.filters.json |
mmdoc |
9 | 位置交错的片段(如 .0.txt、.1.jpg、.2.txt),需按整数索引排序重建文档,无 conversations.txt |
每张图片附带计算产物:<key>.sha256.txt、<key>.phash.txt(感知哈希)和 <key>.sscd_disc_mixup.pt(SSCD 拷贝检测嵌入),可用于复现或重做去污染流程。<key>.filters.json 包含每样本的少量标注子集(长度/词元计数)。
命名注意:使用 img2dataset 构建的 captioning 源在产物扩展名前使用双点(如 <key>..phash.txt);relaion-*-unpacked-TEST 目录尽管带 TEST 后缀,仍是普通训练卷。
conversations.txt 格式
对话轮次为 role:value 格式,以 "<EOCL> " 分隔。角色为 human 和 gpt,<image> 占位符内联出现,第 N 个 <image> 对应第 N 个图片成员。代码示例展示了如何将文本解析为 ShareGPT 风格对话列表。
加载方式
由于池总量达 41.1 TB,建议逐源下载:
- 使用
snapshot_download配合allow_patterns参数按源下载。 - 或使用 WebDataset 配合 Hugging Face token 直接流式读取分片。
- 注意:单个源的完整分片列表需跨越两个仓库(small 和 medium)。
- 合并时小池的
full_token_sum.txt和extracted_percentiles.json不会被覆盖,它们仅描述 small pool。
引用
该数据集基于论文《DataComp-VLM: Improved Open Datasets for Vision-Language Models》(arXiv:2606.28551)。




