CoolFace
Datasetpublic

hakari-bench/NanoMIRACL

NanoMIRACL This dataset is a Nano-style retrieval dataset for HAKARI-bench. NanoMIRACL is a compact multilingual benchmark derived from MIRACL. Each language split evaluates monolingual retrieval of Wikipedia passages for natural-language questions. This rebuild uses hotchpotch/miracl-hf-unified dev queries at source revision 21ad00eb467639e927b5badb7c49f4947c6c24ca. For each sampled query, it preserves all source positive passages and expands the split-local corpus to 10,000… See the full description on the dataset page: https://huggingface.co/datasets/hakari-bench/NanoMIRACL.

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes558downloads
Dataset Card

NanoMIRACL

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

NanoMIRACL is a compact multilingual benchmark derived from MIRACL. Each language split evaluates monolingual retrieval of Wikipedia passages for natural-language questions.

This rebuild uses hotchpotch/miracl-hf-unified dev queries at source revision 21ad00eb467639e927b5badb7c49f4947c6c24ca. For each sampled query, it preserves all source positive passages and expands the split-local corpus to 10,000 documents using source negatives as hard-negative candidates plus deterministic random fill.

Usage

python
from datasets import load_dataset

dataset_id = "hakari-bench/NanoMIRACL"
split = "ar"

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
ar2001000038630.127.035.0392.3276.0520.0
bn2001000040747.243.558.0446.2359.0597.0
de2001000053845.443.052.0457.2372.0612.0
en2001000056039.937.548.0471.8392.0645.0
es2001000093447.647.055.0453.2370.0597.0
fa2001000042740.038.046.0310.7213.0413.0
fi2001000032837.233.546.2393.6326.0522.0
fr2001000041743.343.051.0385.3296.0513.0
hi2001000041054.852.065.0419.3320.0559.0
id2001000065438.337.045.0416.5316.0567.0
ja2001000037317.517.021.0173.4135.0231.0
ko2001000050821.719.022.0205.3163.0273.0
ru2001000055545.541.053.5423.3313.0569.0
sw2001000040538.337.044.0278.0204.0338.0
te2001000021138.436.543.0409.0295.0486.0
th2001000034343.640.050.2409.9346.0538.0
yo1191000014437.736.042.0176.781.0187.0
zh2001000047110.911.012.0133.4105.0176.0

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-57.1576.2769.0093.3294.0299.26-19
arstemmer@arabic63.5282.2375.1497.4096.5899.831000
bnwhitespace50.3376.6165.3795.1795.5799.751000
destemmer@german51.7273.8964.1891.7893.1098.27100-1011
enenglishporterstop67.7477.2174.7499.3895.0099.751000
esstemmer@spanish68.6177.9374.7898.0693.31100.001000
faregex57.8864.7663.3496.2288.9999.30100-1011
fistemmer@finnish77.3486.3483.3298.5895.42100.001000
frstemmer@french46.5868.2858.9697.9691.3599.881000
histemmer@hindi30.3768.4751.7470.1891.9996.00100-1017
idstemmer@indonesian67.7370.7671.7198.0195.0499.831000
jawordseg@ja66.0177.4572.2397.3391.78100.001000
kowordseg@ko49.9469.1070.2695.7492.0298.12100-1013
rustemmer@russian58.8776.9368.1689.5093.2098.43100-1013
swregex58.5278.7272.9294.8994.9599.751000
tewhitespace52.9287.2069.5387.9292.5098.25100-1013
thwordseg@th62.2981.0172.9695.5895.2599.50100-1011
yoregex58.1684.1676.5192.4497.48100.001000
zhwordseg@zh40.2271.9156.1983.6298.90100.001000

Hybrid Safeguard Summary

  • —Safeguard positives: 19
  • —Rows limited by corpus size: 0
  • —Metadata file: reranking_hybrid_metadata.json

Source Links

License

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