Datasets:
product_id stringlengths 3 3 | title stringlengths 21 52 | brand stringlengths 3 8 | category stringlengths 4 18 | price stringlengths 6 16 | description stringlengths 28 68 |
|---|---|---|---|---|---|
p01 | Apple iPhone 15 128GB Black | Apple | Smartphones | 799 USD | 6.1 inch Super Retina XDR display, A16 Bionic chip, USB-C port. |
p02 | Samsung Galaxy S24 256GB Onyx Black | Samsung | Smartphones | 859 USD | 6.2 inch Dynamic AMOLED 2X display, Galaxy AI features, 50MP camera. |
p03 | Samsung Galaxy A55 5G 128GB Awesome Navy | Samsung | Smartphones | 449 USD | 6.6 inch Super AMOLED display, 5000mAh battery, IP67. |
p04 | Xiaomi Redmi Note 13 Pro 256GB | Xiaomi | Smartphones | 329 USD | 200MP camera, 67W turbo charging, 120Hz AMOLED. |
p05 | Apple AirPods Pro (2nd generation) with USB-C | Apple | Earbuds | 249 USD | Active noise cancellation, adaptive audio, MagSafe charging case. |
p06 | Sony WH-1000XM5 Wireless Noise Cancelling Headphones | Sony | Headphones | 399 USD | Industry leading noise cancellation, 30 hour battery, over-ear. |
p07 | Samsung Galaxy Buds2 Pro | Samsung | Earbuds | 229 USD | Wireless earbuds with intelligent active noise cancelling. |
p08 | Anker 735 USB-C Charger 65W GaN | Anker | Chargers | 49 USD | Three port fast wall charger for laptops and phones. |
p09 | Apple 20W USB-C Power Adapter | Apple | Chargers | 19 USD | Fast charging for iPhone and iPad. |
p10 | Silicone Case for iPhone 15 with MagSafe | Apple | Phone Cases | 49 USD | Soft touch finish, microfiber lining. |
p11 | Lenovo IdeaPad Slim 5 Laptop 16GB RAM 512GB SSD | Lenovo | Laptops | 699 USD | 14 inch OLED, AMD Ryzen 7, integrated graphics. |
p12 | ASUS ROG Strix G16 Gaming Laptop RTX 4060 | ASUS | Laptops | 1399 USD | Intel Core i7, 16 inch 165Hz display, NVIDIA GeForce RTX 4060. |
p13 | Apple MacBook Air 13 M3 8GB 256GB | Apple | Laptops | 1099 USD | Fanless design, 18 hour battery life. |
p14 | Logitech MX Master 3S Wireless Mouse | Logitech | Mice | 99 USD | 8K DPI sensor, quiet clicks, USB-C rechargeable. |
p15 | گوشی موبایل سامسونگ گلکسی A55 ظرفیت 128 گیگابایت | سامسونگ | گوشی موبایل | 22,500,000 تومان | صفحه نمایش 6.6 اینچ سوپر امولد، باتری 5000 میلی آمپر ساعت |
p16 | هدفون بی سیم سونی WH-1000XM5 با قابلیت نویز کنسلینگ | سونی | هدفون | 18,900,000 تومان | حذف نویز فعال، 30 ساعت شارژدهی |
p17 | شارژر دیواری انکر 65 وات USB-C | انکر | شارژر | 2,400,000 تومان | شارژ سریع لپ تاپ و موبایل با سه درگاه |
p18 | لپ تاپ گیمینگ ایسوس ROG Strix G16 با گرافیک RTX 4060 | ایسوس | لپ تاپ | 79,000,000 تومان | پردازنده Core i7 و نمایشگر 165 هرتز |
p19 | قاب سیلیکونی آیفون 15 | اپل | قاب گوشی | 1,200,000 تومان | جنس سیلیکون نرم با پوشش داخلی |
p20 | ماوس بی سیم لاجیتک MX Master 3S | لاجیتک | ماوس | 5,900,000 تومان | سنسور 8000 DPI و کلیک بی صدا |
p21 | کتری برقی فیلیپس 1.7 لیتر | فیلیپس | لوازم آشپزخانه | 3,100,000 تومان | بدنه استیل، خاموش شدن خودکار |
p22 | Philips Electric Kettle 1.7L | Philips | Kitchen Appliances | 39 USD | Stainless steel, auto shut-off. |
llm-search-eval electronics example
A small bilingual (English and Persian) product search evaluation set from the llm-search-eval project. It has queries, a product catalog, graded gold labels, and the ranked results of three search systems, so you can try every part of an offline search evaluation end to end: metrics, LLM judges that fill label gaps, judge agreement, confidence intervals, pairwise comparison, and CI quality gates.
It is a worked example and a regression fixture, not a benchmark. Ten queries are far too few to rank real systems.
Try it in the browser: llm-search-eval demo Space · Docs: https://sadrmanesh.github.io/llm-search-eval/ · Package: llm-search-eval on PyPI
Contents
| Config | Rows | Fields |
|---|---|---|
queries |
10 | query_id, text, lang (en, fa, or empty) |
products |
22 | product_id, title, brand, category, price, description |
qrels |
30 | query_id, product_id, relevance (graded 0 to 3) |
runs |
107 | system (bm25, semantic, hybrid), query_id, product_id, rank |
Notes on the design:
- Five queries are English and five are Persian.
q09has nolangand uses Arabic letter forms (ي and ك), to exercise language detection and normalization. - The catalog includes Persian listings and kitchen distractors.
- The gold labels are deliberately incomplete, so systems surface unlabeled products and a judge has gaps to fill.
bm25is a lexical baseline that is weak on Persian and returns nothing forq09.semanticis an embedding retriever andhybridcombines the two.
The original/ folder has the same data in the input formats the library reads directly: queries.jsonl, products.jsonl, qrels.csv, and one run per system as JSONL (runs/bm25.jsonl), CSV with scores (runs/semantic.csv), and a TREC run file (runs/hybrid.trec). The sample-report/ folder is the output of the command below: report.md, report.json, the self-contained report.html dashboard, cost.json, and judgments.jsonl.
Usage
pip install llm-search-eval
hf download sadrmanesh/llm-search-eval-electronics --repo-type dataset --local-dir electronics
llm-search-eval run \
-q electronics/original/queries.jsonl \
-p electronics/original/products.jsonl \
--qrels electronics/original/qrels.csv \
-s bm25=electronics/original/runs/bm25.jsonl \
-s semantic=electronics/original/runs/semantic.csv \
-s hybrid=electronics/original/runs/hybrid.trec \
--judge mock --calibrate --pairwise-judge mock \
-o reports
--judge mock is a deterministic offline judge that grades by query term coverage, which is useful for trying the pipeline. Use --judge openai=MODEL (or any OpenAI-compatible endpoint) for meaningful labels, and add --max-cost to cap the spend.
With the datasets library:
from datasets import load_dataset
queries = load_dataset("sadrmanesh/llm-search-eval-electronics", "queries", split="test")
runs = load_dataset("sadrmanesh/llm-search-eval-electronics", "runs", split="test")
License and citation
MIT, like the library. Product names are used only as realistic test data.
@software{sadrmanesh_llm_search_eval,
author = {Sadrmanesh, Naser},
title = {llm-search-eval: product search evaluation with IR metrics and LLM judges},
url = {https://github.com/sadrmanesh/llm-search-eval},
year = {2026}
}
- Downloads last month
- 34