| --- |
| 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 | |