CoolFace
Datasetpublic

hakari-bench/NanoMedical

NanoMedical This dataset is a Nano-style retrieval dataset for HAKARI-bench. NanoMedical contains 10 Nano retrieval splits derived from MTEB(Medical, v1). Each split keeps up to 200 eligible queries and up to 10000 corpus documents, with exact duplicate query and document text removed where the generator records that policy. Usage from datasets import load_dataset dataset_id = "hakari-bench/NanoMedical" split = "NanoCMedQAv2reranking" queries =… See the full description on the dataset page: https://huggingface.co/datasets/hakari-bench/NanoMedical.

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes340downloads
Dataset Card

NanoMedical

This dataset is a Nano-style retrieval dataset for HAKARI-bench.

NanoMedical contains 10 Nano retrieval splits derived from MTEB(Medical, v1). Each split keeps up to 200 eligible queries and up to 10000 corpus documents, with exact duplicate query and document text removed where the generator records that policy.

Usage

python
from datasets import load_dataset

dataset_id = "hakari-bench/NanoMedical"
split = "NanoCMedQAv2reranking"

queries = load_dataset(dataset_id, "queries", split=split)
corpus = load_dataset(dataset_id, "corpus", split=split)
qrels = load_dataset(dataset_id, "qrels", split=split)
reranking_candidates = load_dataset(dataset_id, "reranking_hybrid", split=split)

Data Layout

This dataset uses six Hugging Face Datasets configs:

  • —corpus: documents with _id and text
  • —queries: queries with _id and text
  • —qrels: positive relevance labels with query-id and corpus-id
  • —bm25: BM25 candidate lists with query-id and corpus-ids
  • —harrier_oss_v1_270m: dense candidate lists from microsoft/harrier-oss-v1-270m
  • —reranking_hybrid: RRF candidate lists built from bm25 and harrier_oss_v1_270m

Each config has the same Nano split names.

Candidate Construction

  • —bm25: local BM25 top-500 with automatic language-aware tokenization. The resolved tokenizer is shown in the Candidate Quality table, for example wordseg@ja.
  • —harrier_oss_v1_270m: dense top-500 from microsoft/harrier-oss-v1-270m. In tables this is shown as Dense; Dense means microsoft/harrier-oss-v1-270m with the web_search_query prompt for queries and cosine similarity over normalized embeddings.
  • —reranking_hybrid: RRF over bm25 and harrier_oss_v1_270m using rrf_k=100, keeping the RRF top-100.

Safeguard means rank 101 is appended only when RRF top-100 contains no qrels-positive document.

Split Statistics

Length statistics are character counts computed with len(str(text)).

Nano splitQueriesCorpusQrelsQuery chars avgQuery chars p50Query chars p75Doc chars avgDoc chars p50Doc chars p75
NanoCMedQAv2reranking2001000037750.139.069.2100.991.0128.0
NanoCUREv120010000518175.978.091.0604.2511.0757.0
NanoCmedqa2001000032452.044.069.0157.6112.0203.0
NanoMedicalQA200200720054.250.064.01102.4683.01251.0
NanoNFCorpus2003593371817.111.520.21589.51612.01868.0
NanoPublicHealthQA86868679.870.092.8828.2625.01041.8
NanoSciFact200518322690.183.0107.21499.41426.01811.5
NanoSciFactPL200518322695.588.0117.01554.51467.01871.0
NanoTRECCOVID50100005069.264.576.81208.81318.01735.0
NanoTRECCOVIDPL50100005069.466.080.21251.91360.01789.2

Candidate Quality

nDCG@10 and Recall@100 are computed from the included candidate rankings against the included qrels, then reported as 0-100 scores such as 52.45. Recall@100 uses only the top 100 candidates; an optional rank-101 safeguard positive is not counted in Recall@100.

Dense means microsoft/harrier-oss-v1-270m with the web_search_query prompt and cosine similarity.

Nano splitBM25 tokenizerBM25 nDCG@10Dense nDCG@10Hybrid nDCG@10BM25 Recall@100Dense Recall@100Hybrid Recall@100Hybrid candidatesSafeguard positives
Mean-43.6451.0049.0268.2076.9880.78-206
NanoCMedQAv2rerankingwordseg@zh15.2732.0925.2934.9167.2162.06100-10159
NanoCUREv1englishporterstop46.9350.0352.6260.4266.2068.15100-10114
NanoCmedqawordseg@zh16.6933.8025.9139.1271.9765.62100-10157
NanoMedicalQAenglishporterstop54.3973.0865.1092.0092.5097.00100-1016
NanoNFCorpusenglishporterstop29.2130.7031.8224.9634.2932.57100-10148
NanoPublicHealthQAstemmer@arabic73.7981.7678.47100.00100.00100.00860
NanoSciFactenglishporterstop70.1773.3475.0694.4093.2597.50100-1015
NanoSciFactPLregex57.5060.6165.3886.2288.4092.90100-10113
NanoTRECCOVIDenglishporterstop39.8338.7531.9380.0070.0096.00100-1012
NanoTRECCOVIDPLregex32.6635.8538.6470.0086.0096.00100-1012

Hybrid Safeguard Summary

  • —Safeguard positives: 206
  • —Rows limited by corpus size: 86
  • —Metadata file: reranking_hybrid_metadata.json

Source Links

  • —Source benchmark: MTEB(Medical, v1)
  • —clinia/CUREv1: https://huggingface.co/datasets/clinia/CUREv1
  • —mteb/CMedQAv2-reranking: https://huggingface.co/datasets/mteb/CMedQAv2-reranking
  • —mteb/CmedqaRetrieval: https://huggingface.co/datasets/mteb/CmedqaRetrieval
  • —mteb/SciFact-PL: https://huggingface.co/datasets/mteb/SciFact-PL
  • —mteb/TRECCOVID-PL: https://huggingface.co/datasets/mteb/TRECCOVID-PL
  • —mteb/medical_qa: https://huggingface.co/datasets/mteb/medical_qa
  • —mteb/nfcorpus: https://huggingface.co/datasets/mteb/nfcorpus
  • —mteb/scifact: https://huggingface.co/datasets/mteb/scifact
  • —mteb/trec-covid: https://huggingface.co/datasets/mteb/trec-covid
  • —xhluca/publichealth-qa: https://huggingface.co/datasets/xhluca/publichealth-qa

License

NanoMedical is a derived dataset. Users must comply with the licenses, terms, and attribution requirements of the upstream datasets and benchmarks.