Datasets:
Tasks:
Sentence Similarity
Modalities:
Text
Formats:
json
Languages:
English
Size:
10K - 100K
Tags:
text
License:
File size: 2,377 Bytes
7a145aa 07df4eb 2eeb31c 07df4eb 2eeb31c 07df4eb 7a145aa 7db955b 7a145aa 7db955b 7a145aa 07df4eb 7a145aa 07df4eb 7a145aa 07df4eb 7a145aa 07df4eb 7a145aa 07df4eb 7a145aa b3b2fb0 7a145aa |
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 |
---
language:
- en
license: apache-2.0
tags:
- text
pretty_name: Amazon ESCI Hard Negatives
size_categories:
- "100K<n<1M"
source_datasets:
- Amazon ESCI
task_categories:
- sentence-similarity
dataset_info:
config_name: default
features:
- name: query
dtype: string
- name: positive
sequence: string
- name: negative
sequence: string
splits:
- name: train
num_bytes: 361711993
num_examples: 74589
- name: test
num_bytes: 109820429
num_examples: 22398
train-eval-index:
- config: default
task: sentence-similarity
splits:
train_split: train
eval_split: test
configs:
- config_name: default
data_files:
- split: train
path: "data/train/*"
- split: test
path: "data/test/*"
---
# Amazon ESCI hard-negatives dataset
A dataset in a [nixietune](https://github.com/nixiesearch/nixietune) compatible format:
```json
{
{
"query": "# cellist thats not a hashtag",
"pos": [
"Funny Cellists That's Not A Hashtag Music Sweatshirt",
"Marvel Deadpool Crunch Cereal Comics Funny Adult Men’s Graphic T-Shirt (Black, Medium)",
"Womens Funny Cellists That's Not A Hashtag Music V-Neck T-Shirt",
"Cellist Gift Orchestra Conductor Thats A Sharp Not A Hashtag T-Shirt",
],
"neg": [
"Feelin Good Tees My Opinion Offended You Adult Humor T Shirt XL Black",
"Christian Faith & Cross T-Shirt - Christian Faith T Shirts T-Shirt",
"PLUS PLUS - 240 Piece Basic Mix - Construction Building Stem/Steam Toy, Mini Puzzle Blocks for Kids",
"Caution I Learned to Drive Through Video Games - Funny Gamer T-Shirt",
"People Who Tolerate Me On A Daily Basis T Shirt L Black",
]
}
```
This is the expanded version of the [Amazon ESCI small-en](https://github.com/amazon-science/esci-data) dataset with the following additions:
* for all queries, extra 32 negatives were genererated
* negative generation was done with a [RRF](https://www.elastic.co/guide/en/elasticsearch/reference/current/rrf.html)-based hybrid search, mixing the BM25 score with cosine-similarity based on [intfloat/e5-base-v2] emnbedding model.
* can be loaded with [HF datasets](https://huggingface.co/docs/datasets/index) directly.
## Usage
```python
from datasets import load_dataset
data = load_dataset('nixiesearch/amazon-esci-hardnegatives', split="train")
```
## License
Apache 2.0 |