Datasets:
Tasks:
Sentence Similarity
Modalities:
Text
Formats:
json
Languages:
English
Size:
10K - 100K
Tags:
text
License:
metadata
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 compatible format:
{
{
"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 dataset with the following additions:
- for all queries, extra 32 negatives were genererated
- negative generation was done with a RRF-based hybrid search, mixing the BM25 score with cosine-similarity based on [intfloat/e5-base-v2] emnbedding model.
- can be loaded with HF datasets directly.
Usage
from datasets import load_dataset
data = load_dataset('nixiesearch/amazon-esci-hardnegatives', split="train")
License
Apache 2.0