Datasets:
Update dataset card: queries + ground truth, image join
Browse files
README.md
CHANGED
|
@@ -4,53 +4,123 @@ license: cc-by-4.0
|
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
---
|
| 7 |
-
|
| 8 |
-
# Coyo-VE
|
| 9 |
|
| 10 |
## Overview
|
| 11 |
-
Coyo-VE is a large-scale visual-embedding slice of the COYO subset from the [LLaVA-OneVision-1.5-Mid-Training-85M](https://huggingface.co/datasets/mvp-lab/LLaVA-OneVision-1.5-Mid-Training-85M) dataset. Embedded using [Qwen3-VL-Embedding-2B](https://huggingface.co/Qwen/Qwen2.5-VL-3B-Instruct) (or `qwen3-vl-embedding-2b`), this dataset provides high-dimensional vector representations coupled with multimodal metadata to support web-scale visual and multimodal retrieval benchmarks, vector database indexing, and similarity search.
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
## Dataset Contents
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
Each row contains the document/image payload along with its high-dimensional vector embedding:
|
| 22 |
|
| 23 |
-
| Field
|
| 24 |
-
|---|---|---|
|
| 25 |
-
| `id`
|
| 26 |
-
| `text`
|
| 27 |
-
| `qwen_multimodal_embedding`
|
|
|
|
| 28 |
|
| 29 |
|
| 30 |
### Embeddings
|
| 31 |
-
Each entry is represented using **[Qwen3-VL-Embedding-2B](https://huggingface.co/Qwen/Qwen3-VL-Embedding-2B)**.
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
### Intended Uses
|
| 37 |
|
| 38 |
-
Coyo-VE is intended for
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
- Visual and multimodal dense vector search
|
| 41 |
-
- Image-text and cross-modal retrieval systems
|
| 42 |
-
- Vector database ingestion, indexing, and ANN benchmark testing
|
| 43 |
-
- Quantization, compression, and memory-footprint evaluation at web scale
|
| 44 |
-
- Distributed retrieval, sharding, and routing strategies
|
| 45 |
|
| 46 |
## Licensing
|
| 47 |
|
| 48 |
This dataset slice and its metadata are made available under the **CC-BY-4.0** license, following the upstream license terms of the COYO dataset and LLaVA-OneVision-1.5 release.
|
| 49 |
|
| 50 |
## Acknowledgments
|
| 51 |
-
This dataset would not exist without the upstream work it is built on:
|
| 52 |
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
---
|
| 7 |
+
# Coyo-Vector-Embeddings (Coyo-VE)
|
|
|
|
| 8 |
|
| 9 |
## Overview
|
|
|
|
| 10 |
|
| 11 |
+
Coyo-VE is a large-scale visual-text-embedding slice of the COYO subset from the [LLaVA-OneVision-1.5-Mid-Training-85M](https://huggingface.co/datasets/mvp-lab/LLaVA-OneVision-1.5-Mid-Training-85M) dataset, with the original images being sourced from [coyo-700m](https://huggingface.co/datasets/kakaobrain/coyo-700m). Each image-caption pair is jointly embedded using [Qwen3-VL-Embedding-2B](https://huggingface.co/Qwen/Qwen3-VL-Embedding-2B), which accepts mixed image-and-text inputs and encodes their combined visual and textual content into a single **2,048-dimensional dense vector**. This produces a unified multimodal representation for each data point, enabling retrieval based jointly on its visual and textual semantics.
|
| 12 |
+
|
| 13 |
+
The benchmark includes 25,000 joint image-text queries selected from the ImageNet subset of LLaVA-OneVision-1.5-Mid-Training-85M. These queries model a social-media retrieval scenario in which a user searches for posts related to a given image-text query.
|
| 14 |
|
| 15 |
+
Headline statistics:
|
| 16 |
+
|
| 17 |
+
| Statistic | Value |
|
| 18 |
+
|---|---|
|
| 19 |
+
| Corpus items (image-caption pairs) | 15,380,795 |
|
| 20 |
+
| Embedding dimensions | 2,048 (dense, `float32`) |
|
| 21 |
+
| Corpus size, with inline images | 5.81 TiB |
|
| 22 |
+
| Queries | 25,000 |
|
| 23 |
+
| Ground truth | exact brute force, k = 1,000, cosine |
|
| 24 |
|
| 25 |
## Dataset Contents
|
| 26 |
|
| 27 |
+
The corpus is derived from the COYO subset of [LLaVA-OneVision-1.5-Mid-Training-85M](https://huggingface.co/datasets/mvp-lab/LLaVA-OneVision-1.5-Mid-Training-85M), which is itself derived from [COYO-700M](https://huggingface.co/datasets/kakaobrain/coyo-700m). Embeddings and ground truth were produced with the `nova-embed` and `nova-bf` components of the [Supernova](https://github.com/qdrant-labs/supernova) pipeline
|
| 28 |
+
|
| 29 |
+
Each corpus item contains a paired image and textual caption.
|
| 30 |
+
|
| 31 |
Each row contains the document/image payload along with its high-dimensional vector embedding:
|
| 32 |
|
| 33 |
+
| **Field** | **Type** | **Notes** |
|
| 34 |
+
| ----------------------------- | --------- | ------------------------------------- |
|
| 35 |
+
| `id` | `string` | Unique document / image identifier |
|
| 36 |
+
| `text` | `string` | Associated caption or textual content |
|
| 37 |
+
| `qwen_multimodal_embedding` | `float[]` | Multimodal embedding (2048 dim) |
|
| 38 |
+
|
| 39 |
|
| 40 |
|
| 41 |
### Embeddings
|
|
|
|
| 42 |
|
| 43 |
+
Each image-caption pair is jointly embedded using **Qwen3-VL-Embedding-2B**.
|
| 44 |
+
|
| 45 |
+
- **Modality:** joint image + text (`input_column: text=caption,image=image`, `modality: multimodal`)
|
| 46 |
+
- **Representation:** dense
|
| 47 |
+
- **Dimensions:** 2,048
|
| 48 |
+
- **Datatype:** `float32`
|
| 49 |
+
- **Similarity:** cosine
|
| 50 |
+
|
| 51 |
+
### Queries and Ground Truth
|
| 52 |
+
|
| 53 |
+
The benchmark includes 25,000 joint image-text queries and ground truth results at k=1000, together in `queries/queries_gt_k1000.parquet`. Each query consists of an image and associated text that are jointly embedded using the same Qwen3-VL-Embedding-2B representation as the corpus. The queries were selected from the ImageNet subset of LLaVA-OneVision-1.5-Mid-Training-85M, and include the following fields.
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
| Column | Type | Meaning |
|
| 57 |
+
|---|---|---|
|
| 58 |
+
| `query_id` | `string` | query identifier (`q000000` ... `q024999`) |
|
| 59 |
+
| `query` | `string` | query text |
|
| 60 |
+
| `id` | `string` | source image path of the query item |
|
| 61 |
+
| `qwen_multimodal_embedding` | `list<float>` | the 2,048-dim query vector used for the search, unit-norm |
|
| 62 |
+
| `hit_ids` | `list<string>` | 1,000 corpus `id` values, best first |
|
| 63 |
+
| `hit_scores` | `list<float>` | 1,000 cosine scores, descending |
|
| 64 |
+
|
| 65 |
+
Ground truth is exact: every hit list holds 1,000 unique corpus ids in strictly descending score order, and `hit_ids` joins directly against the corpus `id` column.
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
## Downloading and Joining the Images
|
| 70 |
+
|
| 71 |
+
This release contains embeddings and captions but no image bytes. The images live upstream in [`mvp-lab/LLaVA-OneVision-1.5-Mid-Training-85M`](https://huggingface.co/datasets/mvp-lab/LLaVA-OneVision-1.5-Mid-Training-85M), keyed by the same `id` this release uses, and `join_image_urls.py` fetches them and joins them to the rows for you:
|
| 72 |
+
|
| 73 |
+
```bash
|
| 74 |
+
# Try it on 1,000 rows first.
|
| 75 |
+
./join_image_urls.py --limit 1000
|
| 76 |
+
|
| 77 |
+
# The whole corpus (15.4M rows, several TB read from upstream).
|
| 78 |
+
./join_image_urls.py
|
| 79 |
+
|
| 80 |
+
# The benchmark queries instead of the corpus.
|
| 81 |
+
./join_image_urls.py --what queries --limit 100
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
The script needs only `pyarrow` and `huggingface_hub`.
|
| 85 |
+
|
| 86 |
+
It writes the image files into `./images/` and a Parquet — `corpus_with_images.parquet`, or `queries_with_images.parquet` for queries — carrying the release's own columns plus `image_path`:
|
| 87 |
+
|
| 88 |
+
| Column | Notes |
|
| 89 |
+
|---|---|
|
| 90 |
+
| `id` | this release's row id |
|
| 91 |
+
| `caption` | the recaptioned text (`query_id`, `query` for queries) |
|
| 92 |
+
| `qwen_multimodal_embedding` | the 2,048-dim vector; `--no-embeddings` leaves it out |
|
| 93 |
+
| `image_path` | the image file on disk, or null if the row's image could not be found |
|
| 94 |
+
|
| 95 |
+
Useful flags: `--images DIR` to write elsewhere, `--limit N` to stop early, `--shards` to point at part of the corpus (say `'hf://datasets/Qdrant/Coyo-VE/data/000/*.parquet'`) or at a local copy.
|
| 96 |
+
|
| 97 |
+
Only what you ask for is downloaded. Each upstream file's footer statistics rule the file out without reading a single column, so the `id` column is read only for the surviving row groups and the image bytes only where a wanted id actually sits — fetching two images touched columns in 5 of 63 upstream shards.
|
| 98 |
|
| 99 |
### Intended Uses
|
| 100 |
|
| 101 |
+
Coyo-VE is intended for evaluating multimodal retrieval systems in workloads where images and text jointly determine semantic similarity.
|
| 102 |
+
|
| 103 |
+
Potential uses include:
|
| 104 |
+
|
| 105 |
+
* multimodal vector search
|
| 106 |
+
* image-text retrieval
|
| 107 |
+
* approximate nearest-neighbor search
|
| 108 |
+
* vector database ingestion and indexing
|
| 109 |
+
* distributed retrieval systems
|
| 110 |
+
* retrieval over social-media-style image-text posts
|
| 111 |
+
* large-scale multimodal embedding evaluation
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
## Licensing
|
| 115 |
|
| 116 |
This dataset slice and its metadata are made available under the **CC-BY-4.0** license, following the upstream license terms of the COYO dataset and LLaVA-OneVision-1.5 release.
|
| 117 |
|
| 118 |
## Acknowledgments
|
|
|
|
| 119 |
|
| 120 |
+
We thank [HuggingFace](https://huggingface.co/) for providing a grant to offset a portion of the cost of hosting this dataset. Additionally, Coyo-VE would not exist without the upstream work it builds on:
|
| 121 |
+
|
| 122 |
+
* the **MVP-Lab / LLaVA-OneVision-1.5** authors, for assembling and recaptioning the 85M mid-training corpus;
|
| 123 |
+
* **Kakao Brain**, for collecting and releasing COYO-700M;
|
| 124 |
+
* the **Qwen** team, for releasing Qwen3-VL-Embedding-2;
|
| 125 |
+
* the **ImageNet** authors, whose collection supplies the benchmark query items;
|
| 126 |
+
* the **vLLM** project, which serves the embedding model in this pipeline.
|