--- language: - en license: apache-2.0 size_categories: - 1M) | Base vectors from shards 0-199 | | `test.parquet` | 10,000 | `id` (int64), `emb` (list\) | Query vectors from shards 200-201 | | `neighbors.parquet` | 10,000 | `id` (int64), `neighbors` (list\) | Ground truth: top-100 nearest neighbors by Inner Product | ## Key Properties | Property | Value | |----------|-------| | Dimension | 4096 | | Distance metric | Inner Product (IP) | | Base size | 1,000,000 | | Query size | 10,000 | | Top-K (ground truth) | 100 | | Vector dtype | float32 | | Base/Query overlap | None (disjoint shards) | ## Usage ```python from datasets import load_dataset # Load base and query splits ds = load_dataset("WenxingZhu/multimodal-embedding-1M") train = ds["train"] # 1M base vectors test = ds["test"] # 10K query vectors # Load ground truth import pyarrow.parquet as pq gt = pq.read_table("neighbors.parquet").to_pandas() # Access embeddings import numpy as np base_emb = np.array(train["emb"]) # (1000000, 4096) query_emb = np.array(test["emb"]) # (10000, 4096) neighbors = np.array(gt["neighbors"].tolist()) # (10000, 100) ``` ## Generation Details - **Hardware**: 4x NVIDIA A100-80GB (DGX) - **Inference**: vLLM v0.17.1, pooling mode, batch size 16 - **Throughput**: ~25 samples/sec per GPU - **Total time**: ~2.75 hours for 1M embeddings - **Prompt template**: System message "Represent the user's input." + User message with image and text content ## License This dataset is released under the Apache 2.0 license. The source images and captions are from Conceptual Captions 3M.