CoolFace
Datasetpublic

hakari-bench/NanoBEIR-pt

NanoBEIR-pt This dataset is a Nano-style retrieval dataset for HAKARI-bench. NanoBEIR-pt is the Portuguese language-specific component of MNanoBEIR. It groups compact BEIR-derived retrieval tasks for efficient evaluation of document ranking in that language. Usage from datasets import load_dataset dataset_id = "hakari-bench/NanoBEIR-pt" split = "NanoArguAna" queries = load_dataset(dataset_id, "queries", split=split) corpus = load_dataset(dataset_id, "corpus"… See the full description on the dataset page: https://huggingface.co/datasets/hakari-bench/NanoBEIR-pt.

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

NanoBEIR-pt

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

NanoBEIR-pt is the Portuguese language-specific component of MNanoBEIR. It groups compact BEIR-derived retrieval tasks for efficient evaluation of document ranking in that language.

Usage

python
from datasets import load_dataset

dataset_id = "hakari-bench/NanoBEIR-pt"
split = "NanoArguAna"

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. NanoNFCorpus includes the full positive qrels (2,518 rows); qrels are not capped to the top-100 reranking depth.

Candidate Construction

  • —bm25: local BM25 top-500 with automatic tokenizer selection. Auto mode uses wordseg for ja, zh, th, ko, and vi, and regex otherwise. The resolved tokenizer is shown for each split in the Candidate Quality table.
  • —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. Qrels are not capped to fit the top-100 reranking depth. For NanoNFCorpus, some queries have more than 100 positive qrels, so top-100 hybrid candidate coverage is expected to be below 100%; this is a candidate-list diagnostic, not a qrels filtering rule.

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
NanoArguAna503635501158.51163.51331.81064.3954.01337.0
NanoClimateFEVER503408148147.8139.5186.81680.21518.52161.2
NanoDBPedia506045115836.635.048.5354.4386.0466.0
NanoFEVER5049965749.044.557.51245.71060.51668.0
NanoFiQA201850459812371.969.585.8972.5706.01238.0
NanoHotpotQA50509010091.178.5115.0377.5317.0507.0
NanoMSMARCO5050435040.236.548.0344.7315.0392.0
NanoNFCorpus502953251826.924.537.81650.11673.01942.0
NanoNQ5050355751.649.058.5549.8461.0789.0
NanoQuoraRetrieval5050467054.251.564.862.554.074.0
NanoSCIDOCS50221024483.083.095.51028.81002.01357.0
NanoSciFact50291956105.998.0142.51562.71468.01889.0
NanoTouche202049574593249.144.064.02264.91053.03182.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-48.4853.5853.4074.4778.9982.62-26
NanoArguAnaregex41.3149.1844.7488.0096.00100.001000
NanoClimateFEVERregex26.3125.0829.5862.0365.6070.93100-1012
NanoDBPediaregex51.1058.1656.2071.3674.6280.591000
NanoFEVERregex80.4384.6185.11100.0097.33100.001000
NanoFiQA2018regex26.2138.5334.7855.5775.0376.07100-1017
NanoHotpotQAregex76.0479.4881.4593.0096.0096.001000
NanoMSMARCOregex34.9451.2148.7376.0096.0098.00100-1011
NanoNFCorpusregex@regex33.8932.9835.1921.8125.0527.88100-1015
NanoNQregex36.4551.0345.2283.0084.0089.00100-1015
NanoQuoraRetrievalregex72.4781.7276.3495.0090.0098.00100-1011
NanoSCIDOCSregex29.1131.6332.0156.4763.9362.97100-1011
NanoSciFactregex68.2768.0171.1890.0085.0092.00100-1014
NanoTouche2020regex53.6644.9653.7175.8678.2782.571000

Hybrid Safeguard Summary

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

Source Links

License

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