Download README.md from UCSC-VLAA/OpenEmbed-WebPool: direct link, hf CLI and curl.
- Browser
- Download file 6.44 kB
-
https://huggingface.co/datasets/UCSC-VLAA/OpenEmbed-WebPool/resolve/fa480de88f2bbb651f00ec2900df33f463eba557/README.md
- Command line
-
hf download hf://datasets/UCSC-VLAA/OpenEmbed-WebPool@fa480de88f2bbb651f00ec2900df33f463eba557/README.md
-
curl -L -o README.md https://huggingface.co/datasets/UCSC-VLAA/OpenEmbed-WebPool/resolve/fa480de88f2bbb651f00ec2900df33f463eba557/README.md
license: other
pretty_name: OpenEmbed Web Pool (text)
task_categories:
- feature-extraction
- image-to-text
- text-to-image
- visual-question-answering
language:
- en
size_categories:
- 100M<n<1B
configs:
- config_name: enrich
data_files:
- split: train
path: enrich/train-*.parquet
- config_name: gen_vqa
data_files:
- split: train
path: gen_vqa/train-*.parquet
- config_name: gen_cls_attr
data_files:
- split: train
path: gen_cls_attr/train-*.parquet
- config_name: gen_ocr_count_spatial
data_files:
- split: train
path: gen_ocr_count_spatial/train-*.parquet
OpenEmbed Web Pool (text)
The text side of the web pool that OpenEmbed-9B sampled in stage 1 of its training: 204,825,490 DataComp-1B images, each with its alt-text, a Recap-DataComp-1B caption, and a search query and question–answer pairs generated with Gemma 4; and 28,892,434 generated question–answer pairs over 9,033,226 DataComp-1B images. The 0.8B, 2B and 4B models did not use the web pool.
No images are included. Every row gives its image's DataComp-1B id and URL, so the images can be downloaded from their original sources.
Configs
| Config | Rows | Images | Training datasets |
|---|---|---|---|
enrich |
204,825,490 | 204,825,490 | enrich/cap_web, enrich/cap_dense, enrich/ret, enrich/qa_attribute, enrich/qa_count, enrich/qa_misc, enrich/qa_object, enrich/qa_ocr, enrich/qa_spatial, enrich/qa_state |
gen_vqa |
12,649,067 | 7,588,950 | gen/vqa |
gen_cls_attr |
9,033,980 | 6,504,135 | gen/cls_attr |
gen_ocr_count_spatial |
7,209,387 | 5,771,614 | gen/ocr_count_spatial |
1,849,615 images appear in both enrich and the gen configs. 271 Parquet files, 84.5 GB.
from datasets import load_dataset
enrich = load_dataset("UCSC-VLAA/OpenEmbed-WebPool", "enrich", split="train", streaming=True)
print(next(iter(enrich)))
Columns
All configs:
| Column | Meaning |
|---|---|
uid |
DataComp-1B image id |
url, datacomp_sha256, original_width, original_height |
from the DataComp-1B metadata (mlfoundations/datacomp_1b, revision 086ebeee); datacomp_sha256 is DataComp's checksum of the image file it downloaded |
jpg_sha256, jpg_bytes |
sha256 and size of the JPEG bytes in our training shards, which hold a resized copy of the DataComp-1B images |
shard, ordinal, content_key |
the record's training shard, its position in that shard, and its content key (blake2b-64 of the serialized tf.train.Example, read as a signed little-endian int64) |
enrich:
| Column | Meaning |
|---|---|
web_caption |
DataComp-1B alt-text, as stored (HTML entities are not decoded) |
detailed_caption |
Recap-DataComp-1B caption (the dense caption, or the LLaVA caption where the dense one is missing) |
ret_query, ret_conf |
a search query for the image, generated with Gemma 4, and the generator's confidence |
qa_question, qa_answer, qa_conf, qa_subtype |
question–answer pairs about the image, generated with Gemma 4; qa_subtype: 0 object, 1 attribute, 2 count, 3 spatial, 4 action, 5 state, 6 ocr, 7 entity, 8 knowledge, 9 other |
ann_status |
generation status: 0 ok, 1 empty, 2 failed |
gen_*:
| Column | Meaning |
|---|---|
dir |
training shard directory (vqa_generated, vqa_generated2, vqa_generated3) |
src |
generated task type (stage0/vqa, stage0/cls_attr, stage0/ocr_count_spatial) |
query_text, text |
the generated question and its answer (Gemma 4) |
How training used the pool
- The enrich datasets use only rows with
ann_status= 0. enrich/cap_web:web_caption, with HTML entities decoded, paired with the image (text to image and image to text).enrich/cap_dense:detailed_captionpaired with the image.enrich/ret:ret_queryto image, whereret_conf≥ 0.8 and the query is not empty.enrich/qa_<subtype>: image and question to answer, for pairs withqa_conf≥ 0.8;qa_misccovers action, entity, knowledge and other.gen/*: image andquery_texttotext, one dataset persrc.- Rows that matched test items of the evaluation benchmarks were skipped during training, using exclusion lists keyed by (
shard,ordinal,content_key); the lists are not part of this dataset.
The OpenEmbed training code does not read this dataset; run with the released data, its OpenEmbed-9B stage-1 recipe leaves the web pool out.
Images
The images are not part of this dataset. As with DataComp-1B and Recap-DataComp-1B, they can be downloaded from their URLs with img2dataset. Each enrich row is a different image, so the enrich files can serve as the URL list:
img2dataset --url_list enrich --input_format parquet --url_col url \
--save_additional_columns '["uid"]' --output_format webdataset \
--output_folder webpool_images --processes_count 16 --thread_count 128
In the gen_* configs an image can have several rows, and 1,849,615 of their images are also in enrich. To list each image once, for example with DuckDB:
duckdb -c "COPY (SELECT DISTINCT uid, url, datacomp_sha256 FROM 'gen_*/*.parquet') TO 'gen_images.parquet'"
img2dataset records the sha256 of each downloaded file (--compute_hash, on by default). A download whose sha256 equals datacomp_sha256 is the file DataComp-1B downloaded. --verify_hash '["datacomp_sha256","sha256"]' keeps only those, so it also drops images that a website has changed slightly.
DataComp's own download script blurs faces with the face boxes in the DataComp-1B metadata (face_bboxes). To do the same, join that column by uid and pass it to img2dataset with --bbox_col face_bboxes.
URLs can stop working, and an image downloaded now can differ from the copy we trained on.
Licenses
uid,url,web_caption,datacomp_sha256and the image sizes come from the DataComp-1B metadata (CC BY 4.0).detailed_captioncomes from Recap-DataComp-1B, under the terms set by its authors; it was generated with a LLaMA-3-based model.ret_query, theqa_*columns and thegen_*texts were generated with Gemma 4 (Apache-2.0).- The images belong to their owners and are not included.
To request the removal of an item, open a discussion on this repository.
Citation
To be added with the paper.