CoolFace
Datasetpublic

WangSenQWQ/Constrained-IR-Benchmark

Constrained-IR-Benchmark 10-domain retrieval test set. Each domain is a separate config with a test split. Domains config samples business_selection 25 company 25 course_selection 25 drug 25 enterprise_collaboration 25 phone 25 rental_house 25 restaurant 25 resume 25 vector_database 25 Load from datasets import load_dataset # 单个 domain ds = load_dataset("WangSenQWQ/Constrained-IR-Benchmark", "phone", split="test")… See the full description on the dataset page: https://huggingface.co/datasets/WangSenQWQ/Constrained-IR-Benchmark.

sourceHugging Faceapache-2.0updated 27d agoView on Hugging Face
0likes174downloads
Dataset Card

Constrained-IR-Benchmark

10-domain retrieval test set. Each domain is a separate config with a test split.

Domains

configsamples
business_selection25
company25
course_selection25
drug25
enterprise_collaboration25
phone25
rental_house25
restaurant25
resume25
vector_database25

Load

python
from datasets import load_dataset

# 单个 domain
ds = load_dataset("WangSenQWQ/Constrained-IR-Benchmark", "phone", split="test")

# 遍历全部 domain 做实测
domains = ['business_selection', 'company', 'course_selection', 'drug', 'enterprise_collaboration', 'phone', 'rental_house', 'restaurant', 'resume', 'vector_database']
for name in domains:
    test = load_dataset("WangSenQWQ/Constrained-IR-Benchmark", name, split="test")
    # evaluate(test)

Fields

  • —domain: domain name
  • —query: query text
  • —pos: list of positive passages ({"text": ...})
  • —neg: list of negative passages ({"text": ...})