File size: 2,027 Bytes
0f389b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cc8e2d5
 
12e6260
ea5eb20
 
cc8e2d5
32b0c1b
 
ea5eb20
 
 
 
5e367ae
 
 
12e6260
32b0c1b
12e6260
ea5eb20
 
 
 
 
 
 
 
32b0c1b
 
 
ea5eb20
 
 
 
5e367ae
12e6260
5e367ae
ea5eb20
12e6260
32b0c1b
12e6260
 
 
 
 
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
---
license: cc-by-nc-4.0
tags:
- vector-search
- multi-vector-search
- nearest-neighbors
- high-dimensional-data
- political-science
pretty_name: Multi-Vector Search Datasets
size_categories:
- 1M<n<10M
language:
- en
---

## Multi-Vector Search Datasets

The datasets listed below are used in the [Multi-Vector HNSW](https://github.com/habedi/multi-vector-hnsw) project for testing and benchmarking multi-vector approximate nearest neighbor search algorithms and their implementations.

---

### Stack Exchange Datasets

Source: [habedi/stack-exchange-dataset](https://huggingface.co/datasets/habedi/stack-exchange-dataset)

Each row contains:
- `id`: unique post ID
- `title`: the post title
- `body`: the main body content (with HTML tags removed)
- `tags`: associated tags
- `embedding`: a list of three 768-dimensional vectors for `[title, body, tags]`

Text embeddings were generated using [`all-mpnet-base-v2`](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) from Sentence Transformers.

| Index | Dataset             | Size    |
|-------|---------------------|--------:|
| 1     | Computer Science    | 40,792  |
| 2     | Data Science        | 28,950  |
| 3     | Political Science   | 12,416  |

---

### Flickr8k Dataset

Source: [habedi/flickr-8k-dataset-clean](https://www.kaggle.com/datasets/habedi/flickr-8k-dataset-clean)

Each row contains:
- `id`: image filename
- `captions`: a list of five human-written captions
- `image`: raw image data (JPEG format)
- `embedding`: a list of six 768-dimensional vectors: five for captions, one for the image

Caption embeddings were generated using [`all-mpnet-base-v2`](https://huggingface.co/sentence-transformers/all-mpnet-base-v2).

Image embeddings were generated using [`openai/clip-vit-base-patch32`](https://huggingface.co/openai/clip-vit-base-patch32) via the Hugging Face Transformers library.

| Index | Dataset                      | Size   |
|-------|------------------------------|-------:|
| 1     | Flickr8k (captions + image)  | 8,091  |