Dataset Viewer
Auto-converted to Parquet Duplicate
shard
string
n
int64
err
int64
sec
float64
cc12m-train-0000.tar
5,041
0
9.9
cc12m-train-0001.tar
5,041
0
8.3
cc12m-train-0002.tar
5,041
0
8.9
cc12m-train-0003.tar
5,041
0
10.9
cc12m-train-0004.tar
5,041
0
8.8
cc12m-train-0005.tar
5,041
0
8.7
cc12m-train-0006.tar
5,041
0
12.3
cc12m-train-0007.tar
5,041
0
8.8
cc12m-train-0008.tar
5,041
0
8.8
cc12m-train-0009.tar
5,041
0
8.6
cc12m-train-0010.tar
5,041
0
8.9
cc12m-train-0011.tar
5,041
0
10.2
cc12m-train-0012.tar
5,041
0
8.7
cc12m-train-0013.tar
5,041
0
8.8
cc12m-train-0014.tar
5,041
0
8.7
cc12m-train-0015.tar
5,041
0
8.7
cc12m-train-0016.tar
5,041
0
8.7
cc12m-train-0017.tar
5,041
0
10.7
cc12m-train-0018.tar
5,041
0
8.8
cc12m-train-0019.tar
5,041
0
8.6
cc12m-train-0020.tar
5,041
0
8.9
cc12m-train-0021.tar
5,041
0
8.8
cc12m-train-0022.tar
5,041
0
8.8
cc12m-train-0023.tar
5,041
0
8.5
cc12m-train-0024.tar
5,041
0
8.9
cc12m-train-0025.tar
5,041
0
8.7
cc12m-train-0026.tar
5,041
0
8.8
cc12m-train-0027.tar
5,041
0
8.6
cc12m-train-0028.tar
5,041
0
8.6
cc12m-train-0029.tar
5,041
0
8.8
cc12m-train-0030.tar
5,041
0
9
cc12m-train-0031.tar
5,041
0
8.7
cc12m-train-0032.tar
5,041
0
8.7
cc12m-train-0033.tar
5,041
0
8.9
cc12m-train-0034.tar
5,041
0
9.4
cc12m-train-0035.tar
5,041
0
11.2
cc12m-train-0036.tar
5,041
0
8.7
cc12m-train-0037.tar
5,041
0
8.6
cc12m-train-0038.tar
5,041
0
8.9
cc12m-train-0039.tar
5,041
0
8.9
cc12m-train-0040.tar
5,041
0
8.7
cc12m-train-0041.tar
5,041
0
11.1
cc12m-train-0042.tar
5,041
0
8.9
cc12m-train-0043.tar
5,041
0
8.8
cc12m-train-0044.tar
5,041
0
8.7
cc12m-train-0045.tar
5,041
0
8.8
cc12m-train-0046.tar
5,041
0
8.9
cc12m-train-0047.tar
5,041
0
8.7
cc12m-train-0048.tar
5,041
0
8.9
cc12m-train-0049.tar
5,041
0
9.1
cc12m-train-0050.tar
5,041
0
8.8
cc12m-train-0051.tar
5,041
0
8.6
cc12m-train-0052.tar
5,041
0
8.8
cc12m-train-0053.tar
5,041
0
8.8
cc12m-train-0054.tar
5,041
0
8.8
cc12m-train-0055.tar
5,041
0
8.8
cc12m-train-0056.tar
5,041
0
8.7
cc12m-train-0057.tar
5,041
0
9
cc12m-train-0058.tar
5,041
0
8.8
cc12m-train-0059.tar
5,041
0
8.8
cc12m-train-0060.tar
5,041
0
8.9
cc12m-train-0061.tar
5,041
0
10.7
cc12m-train-0062.tar
5,041
0
8.8
cc12m-train-0063.tar
5,041
0
8.8
cc12m-train-0064.tar
5,041
0
8.8
cc12m-train-0065.tar
5,041
0
8.9
cc12m-train-0066.tar
5,041
0
10.8
cc12m-train-0067.tar
5,041
0
9
cc12m-train-0068.tar
5,041
0
8.9
cc12m-train-0069.tar
5,041
0
8.9
cc12m-train-0070.tar
5,041
0
8.8
cc12m-train-0071.tar
5,041
0
8.6
cc12m-train-0072.tar
5,041
0
8.8
cc12m-train-0073.tar
5,041
0
9
cc12m-train-0074.tar
5,041
0
8.8
cc12m-train-0075.tar
5,041
0
8.6
cc12m-train-0076.tar
5,041
0
10.6
cc12m-train-0077.tar
5,041
0
8.9
cc12m-train-0078.tar
5,041
0
10.9
cc12m-train-0079.tar
5,041
0
8.7
cc12m-train-0080.tar
5,041
0
8.8
cc12m-train-0081.tar
5,041
0
8.8
cc12m-train-0082.tar
5,041
0
9.1
cc12m-train-0083.tar
5,041
0
11.2
cc12m-train-0084.tar
5,041
0
8.9
cc12m-train-0085.tar
5,041
0
8.8
cc12m-train-0086.tar
5,041
0
10.7
cc12m-train-0087.tar
5,041
0
8.8
cc12m-train-0088.tar
5,041
0
10.6
cc12m-train-0089.tar
5,041
0
8.7
cc12m-train-0090.tar
5,041
0
8.7
cc12m-train-0091.tar
5,041
0
8.9
cc12m-train-0092.tar
5,041
0
8.8
cc12m-train-0093.tar
5,041
0
8.9
cc12m-train-0094.tar
5,041
0
11.3
cc12m-train-0095.tar
5,041
0
8.8
cc12m-train-0096.tar
5,041
0
8.6
cc12m-train-0097.tar
5,041
0
8.8
cc12m-train-0098.tar
5,041
0
8.6
cc12m-train-0099.tar
5,041
0
9.1
End of preview. Expand in Data Studio

bulk-cc12m-features — CLIP-B/16 (LAION-2B) image features for CC12M

Precomputed image-tower projection features for 10,968,539 CC12M images (all 2,176 shards of pixparse/cc12m-wds), embedded with CLIP ViT-B/16 trained on LAION-2B (laion/CLIP-ViT-B-16-laion2B-s34B-b88K). Built for CLIP distillation research — a student can train against these targets with zero teacher inference, cutting distillation compute by roughly a third. Captions are included per sample, so contrastive and text-side objectives work from this file set alone.

12.7 GB total (vs 1.18 TB for the source images): fp16, 512-d, one .pt file per source shard.

Exact preprocessing (this is the part banks usually leave undocumented)

Feature parity requires bit-level preprocessing agreement. Everything below was verified against live-tower recomputation at cosine 1.00000 before extraction started, and the extractor re-proved it at startup on reference images:

  • Model: laion/CLIP-ViT-B-16-laion2B-s34B-b88K (open_clip weights, deterministically converted to transformers CLIPModel format)
  • Activation: plain GELU — NOT QuickGELU. (The open_clip default for some checkpoints silently differs; the mismatch reads as cosine ~0.975 and is easy to miss.)
  • Geometry: torchvision.transforms.Resize(224, InterpolationMode.BICUBIC) (shortest side) → CenterCrop(224) on the PIL image
  • Normalization: CLIP mean (0.48145466, 0.4578275, 0.40821073), std (0.26862954, 0.26130258, 0.27577711)
  • Compute: fp32, TF32 disabled; readout get_image_features (CLS → visual projection)
  • Storage: fp16, UNNORMALIZED (L2-normalize at load if you need unit vectors; mean norm ≈ 12.76)

Layout

clip_b16_laion2b/features_0000.pt ... features_2175.pt   # one per wds shard
ledger.jsonl                                             # per-shard counts
extract.log                                              # full run log

Each .pt (loadable with weights_only=True) contains:

field type meaning
keys list[str] sample keys, exactly the pixparse/cc12m-wds keys
captions list[str] the paired CC12M captions
emb float16 (N, 512) unnormalized projection features, row-aligned
tower / precision / normalized str/str/bool provenance markers

Shards hold 5,040–5,041 samples; row order within a shard is decode-completion order (keys are the join handle, not position).

Usage

import torch
import torch.nn.functional as F
from huggingface_hub import hf_hub_download

p = hf_hub_download("AbstractPhil/bulk-cc12m-features",
                    "clip_b16_laion2b/features_0000.pt", repo_type="dataset")
d = torch.load(p, map_location="cpu", weights_only=True)
z = F.normalize(d["emb"].float(), dim=-1)      # (5041, 512) unit vectors
print(d["keys"][0], d["captions"][0])

To pair features with pixels, stream the matching tar from pixparse/cc12m-wds and join on keys (shard numbering is identical).

Provenance and quality

  • Extracted 2026-07-27 in a single 8.1-hour streaming pass (download → decode → embed → discard images), ~376 img/s sustained on one consumer GPU.
  • Zero decode errors and zero download failures across all 2,176 shards (ledger.jsonl has per-shard counts; truncated-JPEG tolerance was enabled).
  • Full-bank integrity sweep after extraction: every file loads, key/caption/ embedding row counts agree with the ledger, no non-finite values, feature norms stable (12.75–12.77) across the whole run.
  • Startup parity gate: 8 held-out reference images through the extraction path vs independently stored features of the same tower — cosine 1.00000.

Licensing note

These are derived features and captions, not images. CC12M imagery remains the property of its owners; captions and the underlying URL list are provided by Google's Conceptual 12M under its stated terms, and the image snapshot mirrored by pixparse/cc12m-wds. Intended for research use.

References

Downloads last month
13

Papers for AbstractPhil/bulk-cc12m-features