File size: 3,438 Bytes
cfaf485
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
---
task_categories:
  - feature-extraction
language:
  - en
license: apache-2.0
size_categories:
  - 10M<n<100M
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*.parquet
      - split: test
        path: data/test-*.parquet
      - split: neighbors
        path: data/neighbors.parquet
dataset_info:
  features:
    - name: id
      dtype: int64
    - name: emb
      sequence: float32
  splits:
    - name: train
      num_examples: 10000000
    - name: test
      num_examples: 10000
    - name: neighbors
      num_examples: 10000
tags:
  - multimodal
  - embeddings
  - vector-search
  - benchmark
  - image-text
---

# Multimodal Embedding 10M Benchmark Dataset

A large-scale vector search benchmark dataset containing **10M base vectors** and **10K query vectors** with pre-computed ground truth (top-100 nearest neighbors by Inner Product), generated from multimodal (image + text) inputs.

## Dataset Summary

| Property | Value |
|----------|-------|
| Base Vectors | 10,000,000 |
| Query Vectors | 10,000 |
| Dimension | 4,096 |
| Distance Metric | Inner Product (IP) |
| Top-K Ground Truth | 100 |
| Vector dtype | float32 |
| Embedding Model | [Qwen3-VL-Embedding-8B](https://huggingface.co/Qwen/Qwen3-VL-Embedding-8B) |
| Source Data | [pixparse/cc12m-wds](https://huggingface.co/datasets/pixparse/cc12m-wds) (Conceptual Captions 12M) |
| Base/Query Overlap | Yes (0.1%, query shards 40-41 included in base) |

## Splits

| Split | Rows | Description |
|-------|------|-------------|
| `train` | 10,000,000 | Base vectors (20 parquet shards, 500K rows each) |
| `test` | 10,000 | Query vectors |
| `neighbors` | 10,000 | Ground truth: top-100 nearest neighbor IDs per query |

## Schema

**train / test:**
| Column | Type | Description |
|--------|------|-------------|
| `id` | int64 | Sequential identifier (0-indexed) |
| `emb` | list\<float32\> | 4096-dim L2-normalized embedding |

**neighbors:**
| Column | Type | Description |
|--------|------|-------------|
| `id` | int64 | Query ID (matches test split) |
| `neighbors` | list\<int64\> | Top-100 base vector IDs by IP score (descending) |

## Usage

```python
from datasets import load_dataset
import numpy as np

ds = load_dataset("WenxingZhu/multimodal-embedding-10M")

# Base and query embeddings
base_emb = np.array(ds["train"]["emb"])    # (10_000_000, 4096) - streams from 20 shards
query_emb = np.array(ds["test"]["emb"])    # (10_000, 4096)

# Ground truth neighbors
neighbors = ds["neighbors"]["neighbors"]   # list of 10K lists, each 100 int64 IDs
```

### Streaming (recommended for 10M)

```python
from datasets import load_dataset

ds = load_dataset("WenxingZhu/multimodal-embedding-10M", split="train", streaming=True)
for row in ds:
    emb = row["emb"]  # list of 4096 floats
    break
```

## Generation Details

- **Model**: Qwen3-VL-Embedding-8B via vLLM (pooling runner, bfloat16)
- **Input**: Image-text pairs from cc12m-wds WebDataset shards, streamed from HuggingFace
- **Normalization**: L2 normalized post-embedding
- **Hardware**: 6x NVIDIA A100-80GB (DGX)
- **Throughput**: ~25 samples/sec per GPU
- **Total Generation Time**: ~3 days for 10M embeddings
- **Ground Truth**: Brute-force inner product, chunked numpy computation

## Related

- [multimodal-embedding-1M](https://huggingface.co/datasets/WenxingZhu/multimodal-embedding-1M) — 1M version from cc3m-wds

## License

Apache 2.0