Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
36
36
product_id
stringlengths
10
10
title
stringlengths
1
400
brand
stringlengths
1
100
⌀
color
stringlengths
1
100
⌀
text
stringlengths
1
2.72k
vector
listlengths
384
384
0000dacc-eabb-52d7-a30e-9a149e82b604
B01MT0QDPO
Nature Valley Sweet and Salty Nut Granola Bars, Cashew, 12 ct, 14.8 oz
Nature Valley
null
Nature Valley Sweet and Salty Nut Granola Bars, Cashew, 12 ct, 14.8 oz Brand: Nature Valley GRANOLA BAR: Nature Valley granola bars are made with whole grain oats roasted peanuts and peanut butter REAL INGREDIENTS: Hearty whole grain oats with no artificial flavors artificial colors or high fructose corn syrup SWEET AN...
[ 0.018586209043860435, -0.01165090687572956, -0.024452796205878258, -0.05392153188586235, 0.07704507559537888, -0.03708997741341591, 0.06716407835483551, 0.04439833387732506, 0.007969892583787441, 0.023189786821603775, 0.07116521894931793, 0.04586169868707657, 0.0034669518936425447, -0.0394...
000129f9-e0fb-5e13-b71c-c9e8157a4eb1
1439806519
Biology and Management of White-tailed Deer
CRC Press
null
Biology and Management of White-tailed Deer Brand: CRC Press Used Book in Good Condition
[ 0.05331616848707199, 0.0035534976050257683, -0.07050030678510666, -0.049555953592061996, 0.08622346073389053, -0.038359034806489944, 0.008225012570619583, 0.05161723494529724, 0.0850556492805481, -0.0004466325044631958, 0.018963469192385674, 0.012272548861801624, 0.10687504708766937, -0.07...
0001a793-1c49-5b0e-9f01-fad032b57f13
B00004SDBL
Kings in the Corner - The Traditional Gameplay of Solitaire with a Twist, for the Whole Family!
Jax
Family Fun
Kings in the Corner - The Traditional Gameplay of Solitaire with a Twist, for the Whole Family! Brand: Jax A classic card game of skill and chance, played Solitaire style The first player to reach 100 points wins An exciting game for the whole family! Includes a unique fold-away control center For 2-6 players, ages 7 a...
[ 0.012453206814825535, -0.019047599285840988, -0.033647071570158005, -0.0465238057076931, 0.0679902732372284, -0.014648695476353168, 0.030675143003463745, 0.011114861816167831, 0.06219460815191269, 0.014669537544250488, 0.048942238092422485, 0.018252326175570488, 0.05744472146034241, -0.058...
0001b96b-150c-5af8-9bb5-7a4f7a25e402
B01MT7IM7V
100% Blackout Curtains for Bedroom 96 Inches Long Thermal Insulated Lined Curtains for Living Room Double Layer Full Light Blocking Energy Saving Grommet Drapes Draperies, 2 Panels, White
Flamingo P
White
100% Blackout Curtains for Bedroom 96 Inches Long Thermal Insulated Lined Curtains for Living Room Double Layer Full Light Blocking Energy Saving Grommet Drapes Draperies, 2 Panels, White Brand: Flamingo P 100% BLACKOUT: Innovated with high technology on real blackout feature, these magic window curtain draperies can c...
[ 0.01843874342739582, -0.041285883635282516, -0.037655092775821686, -0.0353788323700428, 0.035268720239400864, -0.04111203923821449, 0.04212886467576027, 0.047815583646297455, 0.07139505445957184, -0.027623476460576057, 0.014508162625133991, 0.03567029535770416, 0.06964761763811111, -0.0188...
0002751a-29a9-540c-bb68-6d2a02fe68e3
B07DBX67NC
Anker 10W Max Wireless Charger, 313 Wireless Charger (Pad), Qi-Certified Wireless Charging 7.5W for iPhone 12/12 Pro/12 mini/12 Pro Max, 10W for Galaxy S10 S9 S8, S9 Plus, Note 9 (No AC Adapter)
Anker
Black
Anker 10W Max Wireless Charger, 313 Wireless Charger (Pad), Qi-Certified Wireless Charging 7.5W for iPhone 12/12 Pro/12 mini/12 Pro Max, 10W for Galaxy S10 S9 S8, S9 Plus, Note 9 (No AC Adapter) Brand: Anker The Anker Advantage: Enjoyed by over 50 million users worldwide, our leading technology will change the way you ...
[ 0.022559424862265587, -0.006203529890626669, 0.008705965243279934, -0.06296592205762863, 0.044258806854486465, -0.032038625329732895, -0.007791643496602774, 0.04020453616976738, 0.040714990347623825, -0.00436044204980135, 0.030244408175349236, 0.04697705805301666, 0.027504105120897293, -0....
00027582-f29f-5c8c-b510-4842e115b2f9
B07RFHCQKN
Watch Repair Tool Kit, Professional Case Opener Link Spring Bar Remover Watchmaker Tool
YUYTE
null
Watch Repair Tool Kit, Professional Case Opener Link Spring Bar Remover Watchmaker Tool Brand: YUYTE SELF RELIANCE: Small, clean and functional,Ideal for professional or home use; Tools are beautifully presented in a smart, branded, zip-up case, it makes the perfect gift for any watch-lover EASY TO STORE AND CARRY: Com...
[ 0.011899764649569988, -0.07878641784191132, -0.06506218761205673, -0.03343912586569786, 0.026074014604091644, 0.03168870881199837, 0.020319368690252304, 0.009953705593943596, 0.06526432931423187, -0.026782071217894554, 0.00857106689363718, 0.05825912207365036, 0.0015967852668836713, -0.046...
0003145a-b604-5c7b-9ced-090b6491d305
B01C6YT8AA
Mad Catz Rock Band 4 Wireless Fender Stratocaster Guitar Controller and Software Bundle for PlayStation 4 - Red
Mad Catz
Red
Mad Catz Rock Band 4 Wireless Fender Stratocaster Guitar Controller and Software Bundle for PlayStation 4 - Red Brand: Mad Catz Start a Band. Rock the World-Rock Band 4 delivers the ecstatic rush of a live band performance like never before Most Music Available-Over 65 new songs from rock's biggest names. Access thousa...
[ 0.056010901927948, -0.008543984033167362, -0.013088992796838284, -0.005587249994277954, 0.033115237951278687, -0.0765930563211441, 0.01066893246024847, 0.011030097492039204, 0.04056103155016899, -0.004780797753483057, 0.01681765541434288, -0.007344487123191357, -0.012241759337484837, -0.02...
0004aa65-5f13-5f34-bf17-7a180380f629
B07THTGGRN
Blessliving 3 Piece Pink Comforter Set with Pillow Shams Marble Bedding Set with 3D Printed Designs Reversible Comforter Twin Size Soft Comfortable Machine Washable Girls Abstract Pastel Pink Purple
BlessLiving
3
Blessliving 3 Piece Pink Comforter Set with Pillow Shams Marble Bedding Set with 3D Printed Designs Reversible Comforter Twin Size Soft Comfortable Machine Washable Girls Abstract Pastel Pink Purple Brand: BlessLiving THE SOLUTION IS HERE: Are you looking for a fluffy, soft, and comfortable comforter that also has an e...
[ 0.029168521985411644, 0.0010455367155373096, -0.0328366756439209, -0.058609772473573685, 0.030263857915997505, -0.04004201665520668, 0.03447484225034714, 0.029797790572047234, 0.02089158445596695, 0.02985377423465252, 0.04861725494265556, 0.04443937540054321, 0.03525117039680481, -0.027182...
00052afd-ac73-53bf-b570-7d8c6219bebb
B075W9SKKB
IHClink Window Curtain Tiebacks Clips VS Strong Magnetic Tie Band Home Office Decorative Drapes Weave Holdbacks Holders European Style 1 Pair
IHClink
Grey
IHClink Window Curtain Tiebacks Clips VS Strong Magnetic Tie Band Home Office Decorative Drapes Weave Holdbacks Holders European Style 1 Pair Brand: IHClink New style and Powerful: our curtain holdbacks with Beautiful woven texture appearance,upgrade strong magnet with nickel plating which is smooth and anti-rust,perfe...
[ 0.007950473576784134, -0.043853648006916046, -0.016032513231039047, -0.016977926716208458, 0.017937926575541496, -0.040165141224861145, 0.05828145891427994, 0.06832000613212585, 0.04406579211354256, -0.023588702082633972, 0.02738848142325878, 0.013867811299860477, 0.04844033718109131, -0.0...
00056a7c-514c-576d-bc1d-f04b33820a84
B0765CFY5P
mDesign Decorative Metal Closet Wall Mount Jewelry Accessory Organizer for Storage of Necklaces, Bracelets, Rings, Earrings, Sunglasses, Wallets - 8 Large /11 Small Hooks, 1 Basket - 2 Pack - White
mDesign
White
mDesign Decorative Metal Closet Wall Mount Jewelry Accessory Organizer for Storage of Necklaces, Bracelets, Rings, Earrings, Sunglasses, Wallets - 8 Large /11 Small Hooks, 1 Basket - 2 Pack - White Brand: mDesign ORGANIZING MADE EASY: It is easy to add convenient custom storage to any closet or room with this wall moun...
[ 0.0112046729773283, -0.010355989448726177, -0.007297821342945099, -0.00104722089599818, 0.011409887112677097, -0.04332435876131058, 0.01160704717040062, 0.04624022915959358, 0.04276430606842041, 0.022402508184313774, 0.05263276770710945, 0.04024861752986908, 0.027253219857811928, 0.0024219...
00059ab9-476a-5c69-a4dd-098d04f40c25
B0721LRV72
Chaco J106572 Women's Z/2 Classic, Brocade Pine - 5
Chaco
Brocade Pine
Chaco J106572 Women's Z/2 Classic, Brocade Pine - 5 Brand: Chaco
[ 0.03981742635369301, 0.011396714486181736, -0.03854091838002205, -0.03354603424668312, 0.024671727791428566, -0.04653617739677429, -0.007050878368318081, 0.0090080127120018, 0.045506034046411514, 0.022426214069128036, 0.025246338918805122, 0.05568573996424675, 0.025126414373517036, -0.0158...
0005bc6a-fdb3-54d6-a392-4dcd05a5e63c
8120820487
The Bodhisattva Path: Based on the Ugrapariprccha a Mahayana Sutra
null
null
The Bodhisattva Path: Based on the Ugrapariprccha a Mahayana Sutra
[ 0.07588248699903488, -0.019898835569620132, -0.05824608728289604, -0.02870304137468338, 0.025563262403011322, -0.04055633395910263, 0.017650403082370758, 0.0013490470591932535, 0.03536864370107651, 0.029580259695649147, 0.06340909749269485, -0.03594914823770523, 0.07389021664857864, -0.047...
0006a295-8e7f-5bb3-8dcc-e07e8e7ef977
B0778LT3NW
LookbookStore Women's Oversized Open Front Hooded Draped Pocketed Cardigan Coat Fleece Sherpa Cardigan Size M (Fit US 8 - US 10) Dark Grey Fluffy Coat Oversized Bear Coat
LookbookStore
Dark Grey
LookbookStore Women's Oversized Open Front Hooded Draped Pocketed Cardigan Coat Fleece Sherpa Cardigan Size M (Fit US 8 - US 10) Dark Grey Fluffy Coat Oversized Bear Coat Brand: LookbookStore Women oversized cozy fleece cardigan features hooded at back and draped open front design, long sleeves with fuzzy finishes. Wom...
[ 0.06283700466156006, -0.016067473217844963, -0.042155664414167404, -0.04745771363377571, 0.05148948356509209, -0.0513598807156086, 0.04135247319936752, 0.002661843551322818, 0.004695185460150242, 0.025532420724630356, 0.0285737756639719, 0.05169227719306946, 0.016551919281482697, -0.048363...
0006ee7d-f02c-54ac-9795-d4a8a2b86471
B071FGC83Z
Hanes Men's Lightweight Graphic T-Shirt Collection, Chicago Style, X-Large
Hanes
Chicago Style
Hanes Men's Lightweight Graphic T-Shirt Collection, Chicago Style, X-Large Brand: Hanes Machine Wash Short-sleeve graphic T-shirt in lightweight ring-spun cotton featuring ribbed crew neckline Pre-shrunk contemporary fit Double-stitched hem and sleeves for durability Contemporary styling for a slimmer fit. Size up for ...
[ 0.015672938898205757, -0.03170794993638992, -0.09216942638158798, -0.05748946964740753, 0.05708155781030655, -0.05690084770321846, 0.01702352985739708, -0.01796792261302471, 0.00830664299428463, 0.026258867233991623, 0.06765013933181763, 0.015220865607261658, 0.04098338261246681, -0.010172...
0007be38-ac06-5c06-9421-ce867260a691
B081GTHSVV
Hois Halloween Children Costume Cosplay Kids Bodysuit Jumpsuit Zentai Onesie Spandex 3D Style,Kid S
kidsnado W
null
Hois Halloween Children Costume Cosplay Kids Bodysuit Jumpsuit Zentai Onesie Spandex 3D Style,Kid S Brand: kidsnado W
[ 0.04975896328687668, 0.007248807232826948, -0.038220785558223724, -0.07246376574039459, 0.014722409658133984, -0.023097189143300056, 0.0464077927172184, 0.0040547107346355915, 0.05577734857797623, -0.028176002204418182, 0.05605221912264824, 0.028979239985346794, 0.04624558612704277, -0.029...
0007ca0c-e5a6-5fb5-83d8-27fccffb6809
1368052401
The Inheritance Games (The Inheritance Games, 1)
Little, Brown Books for Young Readers
null
The Inheritance Games (The Inheritance Games, 1) Brand: Little, Brown Books for Young Readers
[ 0.026866499334573746, 0.0327121764421463, -0.05134700983762741, -0.05670752748847008, 0.058480698615312576, -0.026994099840521812, -0.0014805753016844392, 0.029360922053456306, 0.052431054413318634, 0.0011813066666945815, 0.05902711674571037, 0.022906700149178505, 0.0897817388176918, -0.02...
0008a241-da68-589e-9a17-dd1faef44a0d
B07KLST91R
Sound Bar, Bestisan 80W Home Theater Soundbar System with IR Remote Function, Wired and Wireless Bluetooth 5.0 Audio Speaker (Treble/Bass Adjustable,34-Inch, 2021 Beef Up Version)
BYL
34inch 80Watt
Sound Bar, Bestisan 80W Home Theater Soundbar System with IR Remote Function, Wired and Wireless Bluetooth 5.0 Audio Speaker (Treble/Bass Adjustable,34-Inch, 2021 Beef Up Version) Brand: BYL 【POWERFUL LOUD SOUND SOUNDBAR】: Fantastic Room-filling Sound- two 3”drivers and two 2”tweeter deliver 80-watt powerful wallop to ...
[ -0.005546880420297384, -0.01893453113734722, -0.00575582729652524, -0.018311290070414543, 0.024001773446798325, -0.03360943868756294, 0.02962000109255314, 0.012315711006522179, 0.0340382382273674, -0.010475542396306992, 0.02296675741672516, 0.05353813245892525, -0.0035118230152875185, -0.0...
0008c14e-6f69-5710-805c-32e42430bf93
B01HYUHXN0
Authentic Russian Tactical/Hiking SWAT Boots"COBRA 12100" by BYTEKS. Made in Russia! (10)
BYTEKS
Black
Authentic Russian Tactical/Hiking SWAT Boots"COBRA 12100" by BYTEKS. Made in Russia! (10) Brand: BYTEKS Authentic Russian Tactical/Hiking SWAT Boots
[ -0.017598580569028854, 0.023462770506739616, -0.04579654335975647, -0.0793280154466629, 0.04115752503275871, -0.012221568264067173, 0.014421595260500908, -0.003658466972410679, 0.030820393934845924, 0.0009975261054933071, 0.055516455322504044, -0.026589669287204742, 0.027329865843057632, -...
0008f0b3-4de2-550e-a47e-5cd121068d0f
B01GG2EGSC
Cressi Pano 3
Cressi
Clear/Yellow
Cressi Pano 3 Brand: Cressi Three-lens panoramic design for excellent peripheral vision ideal for both scuba diving and snorkeling. Lightweight, durable polycarbonate frame. Soft silicone skirt fits a wide range of face shapes. Fast-adjust ratcheting strap buckles. Easy-access nose pocket for equalization.
[ 0.035417843610048294, 0.008091823197901249, -0.021975185722112656, -0.06829948723316193, 0.028945758938789368, -0.0667259469628334, 0.026198860257864, 0.02995006926357746, 0.023453030735254288, -0.0283680260181427, 0.00942650530487299, -0.022936703637242317, 0.04173412546515465, 0.00188682...
00095802-a4d9-5f80-b8e1-a5ecd40f9a3d
B077HQZ3JF
YOPO Bob Wavy Wig Short Black Hair Wigs No Bangs Shoulder Length Middle Part Wigs Natural Looking Fluffy Wig for Black Women with Wig Cap(Short Natural Black Wavy)
YOPO
188 ABlack
YOPO Bob Wavy Wig Short Black Hair Wigs No Bangs Shoulder Length Middle Part Wigs Natural Looking Fluffy Wig for Black Women with Wig Cap(Short Natural Black Wavy) Brand: YOPO Natural looking wig: the wig made from imported synthetic fiber, soft and natural to like Remy hair. The shoulder length wig is with a fixed sty...
[ 0.0431845560669899, -0.007410455495119095, -0.051363080739974976, -0.0927785187959671, 0.08592899143695831, -0.026573756709694862, 0.07091144472360611, 0.026542872190475464, 0.053503040224313736, 0.009170831181108952, 0.013813707046210766, 0.02538187801837921, 0.05765987187623978, -0.01115...
00095974-2ca1-5df9-8a13-2b2682e73ca7
0830846425
The Path Between Us: An Enneagram Journey to Healthy Relationships
IVP Books
null
The Path Between Us: An Enneagram Journey to Healthy Relationships Brand: IVP Books
[ 0.06377975642681122, -0.010090751573443413, -0.09470856934785843, -0.018532482907176018, 0.08034711331129074, -0.03732961788773537, 0.023226788267493248, 0.038382213562726974, 0.03008088283240795, 0.006542258895933628, 0.028920872136950493, 0.012048115953803062, 0.08161283284425735, -0.056...
0009a1e5-84f8-56f3-9b79-fd8766be5751
B07B4KVZK9
Ridgid 57398 RP 240 Compact Press Tool
Ridgid
1
Ridgid 57398 RP 240 Compact Press Tool Brand: Ridgid Smaller tool: 16% shorter and 10% lighter than the previous RIDGID compact tools Better Weight Balanced: While about 1 pound lighter than the prior models, with a better balance of weight, the tool will feel even lighter than that Multiple Size & System: the ONLY com...
[ -0.02271178551018238, -0.03736200928688049, -0.04747164621949196, -0.06282496452331543, 0.06847168505191803, -0.07493354380130768, 0.02159467525780201, 0.04546738415956497, 0.05134527012705803, -0.05226403847336769, 0.025826003402471542, -0.007981023751199245, 0.005189348012208939, -0.0459...
End of preview. Expand in Data Studio

esci-products-multilingual-e5-small-embeddings

This dataset contains 164,900 product listings from the Amazon Shopping Queries Dataset (ESCI): every product judged for the US test queries of the dataset's small version. It also contains those 8,956 queries with their 181,701 relevance judgments, so you can measure how well a search setup ranks the products.

The products configuration holds one row per product:

Column Type Description
id string Point ID in the Qdrant collection
product_id string Amazon product ID (ASIN)
title string Product title
brand string Brand, empty for about 5% of products
color string Color, empty for about 31% of products
text string The title, a Brand: line when the brand is known, and the bullet points
vector list of float32 multilingual-e5-small embedding, 384 dimensions, cosine

The judgments configuration holds one row per query, with a list of its judged products and their labels:

{"query_id": 2, "query": "!qscreen fence without holes", "judgments": [{"product_id": "B07DHX8YH2", "label": "E"}, {"product_id": "B07DS1YCRZ", "label": "S"}, {"product_id": "B07D7TBSGH", "label": "I"}]}

The same judgments are also in queries.jsonl at the root of the repository, with each query's judgments as a mapping from product ID to label.

The labels are E for exact, S for substitute, C for complement, and I for irrelevant. For nDCG, the ESCI paper uses gains of 1.0, 0.1, 0.01, and 0.0. Products a search returns without a judgment count as irrelevant.

Generation process

The embeddings were generated with the multilingual-e5-small model from the text field with the passage: prefix. Embed your search queries with the query: prefix instead. The model reads up to 512 tokens, so for about 3% of products the embedding covers only the start of the text.

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("intfloat/multilingual-e5-small")
text = "Nature Valley Sweet and Salty Nut Granola Bars, Cashew, 12 ct, 14.8 oz\nBrand: Nature Valley"
embeddings = model.encode([f"passage: {text}"], normalize_embeddings=True)
query_embedding = model.encode(
    ["cashew granola bars"], prompt="query: ", normalize_embeddings=True
)

Using the dataset with Qdrant

The quickest way is to restore the ready-made snapshot, which includes the payload indexes. It requires Qdrant 1.20 or later:

PUT /collections/esci-products/snapshots/recover
{
  "location": "https://snapshots.qdrant.io/esci-products.snapshot"
}

To load the rows yourself, create the collection with a vector named dense, upload the rows, then create the payload indexes. The full-text index on text uses BM25 scoring, which also requires Qdrant 1.20 or later:

from datasets import load_dataset
from qdrant_client import QdrantClient, models

client = QdrantClient(url="http://localhost:6333")
client.create_collection(
    "esci-products",
    vectors_config={
        "dense": models.VectorParams(size=384, distance=models.Distance.COSINE)
    },
)

products = load_dataset(
    "Qdrant/esci-products-multilingual-e5-small-embeddings", "products", split="train"
)
for batch in products.iter(batch_size=256):
    payload_fields = [name for name in batch if name not in ("id", "vector")]
    client.upsert(
        "esci-products",
        points=[
            models.PointStruct(
                id=batch["id"][i],
                vector={"dense": batch["vector"][i]},
                payload={
                    name: batch[name][i]
                    for name in payload_fields
                    if batch[name][i] is not None
                },
            )
            for i in range(len(batch["id"]))
        ],
    )

for field in ("product_id", "brand", "color"):
    client.create_payload_index(
        "esci-products", field, models.PayloadSchemaType.KEYWORD
    )
client.create_payload_index(
    "esci-products",
    "text",
    models.TextIndexParams(
        type=models.TextIndexType.TEXT,
        tokenizer=models.TokenizerType.WORD,
        lowercase=True,
        stemmer=models.SnowballParams(
            type=models.Snowball.SNOWBALL, language=models.SnowballLanguage.ENGLISH
        ),
        stopwords=models.Language.ENGLISH,
        scoring=models.TextScoringParams(type=models.TextScoringType.BM25),
    ),
)

judgments = load_dataset(
    "Qdrant/esci-products-multilingual-e5-small-embeddings", "judgments", split="test"
)

Pass using="dense" when you query the vector.

License and attribution

The Shopping Queries Dataset is released by Amazon Science under the Apache 2.0 license. This dataset is a subset of it with embeddings added. If you use it in research, cite the paper:

Chandan K. Reddy, Lluís Màrquez, Fran Valero, Nikhil Rao, Hugo Zaragoza, Sambaran Bandyopadhyay, Arnab Biswas, Anlu Xing, and Karthik Subbian. 2022. Shopping Queries Dataset: A Large-Scale ESCI Benchmark for Improving Product Search. arXiv:2206.06588.

Downloads last month
46

Paper for Qdrant/esci-products-multilingual-e5-small-embeddings