--- configs: - config_name: corpus data_files: - split: cqadupstack_android path: corpus/cqadupstack_android-00000-of-00001.parquet - split: cqadupstack_english path: corpus/cqadupstack_english-00000-of-00001.parquet - split: cqadupstack_gis path: corpus/cqadupstack_gis-00000-of-00001.parquet - split: cqadupstack_mathematica path: corpus/cqadupstack_mathematica-00000-of-00001.parquet - split: cqadupstack_physics path: corpus/cqadupstack_physics-00000-of-00001.parquet - split: cqadupstack_programmers path: corpus/cqadupstack_programmers-00000-of-00001.parquet - split: cqadupstack_stats path: corpus/cqadupstack_stats-00000-of-00001.parquet - split: cqadupstack_tex path: corpus/cqadupstack_tex-00000-of-00001.parquet - split: cqadupstack_webmasters path: corpus/cqadupstack_webmasters-00000-of-00001.parquet - split: cqadupstack_wordpress path: corpus/cqadupstack_wordpress-00000-of-00001.parquet - split: fiqa path: corpus/fiqa-00000-of-00001.parquet - split: nq path: corpus/nq-00000-of-00001.parquet - split: pugg path: corpus/pugg-00000-of-00001.parquet - split: quora path: corpus/quora-00000-of-00001.parquet - config_name: queries data_files: - split: cqadupstack_android path: queries/cqadupstack_android-00000-of-00001.parquet - split: cqadupstack_english path: queries/cqadupstack_english-00000-of-00001.parquet - split: cqadupstack_gis path: queries/cqadupstack_gis-00000-of-00001.parquet - split: cqadupstack_mathematica path: queries/cqadupstack_mathematica-00000-of-00001.parquet - split: cqadupstack_physics path: queries/cqadupstack_physics-00000-of-00001.parquet - split: cqadupstack_programmers path: queries/cqadupstack_programmers-00000-of-00001.parquet - split: cqadupstack_stats path: queries/cqadupstack_stats-00000-of-00001.parquet - split: cqadupstack_tex path: queries/cqadupstack_tex-00000-of-00001.parquet - split: cqadupstack_webmasters path: queries/cqadupstack_webmasters-00000-of-00001.parquet - split: cqadupstack_wordpress path: queries/cqadupstack_wordpress-00000-of-00001.parquet - split: fiqa path: queries/fiqa-00000-of-00001.parquet - split: nq path: queries/nq-00000-of-00001.parquet - split: pugg path: queries/pugg-00000-of-00001.parquet - split: quora path: queries/quora-00000-of-00001.parquet default: true - config_name: qrels data_files: - split: cqadupstack_android path: qrels/cqadupstack_android-00000-of-00001.parquet - split: cqadupstack_english path: qrels/cqadupstack_english-00000-of-00001.parquet - split: cqadupstack_gis path: qrels/cqadupstack_gis-00000-of-00001.parquet - split: cqadupstack_mathematica path: qrels/cqadupstack_mathematica-00000-of-00001.parquet - split: cqadupstack_physics path: qrels/cqadupstack_physics-00000-of-00001.parquet - split: cqadupstack_programmers path: qrels/cqadupstack_programmers-00000-of-00001.parquet - split: cqadupstack_stats path: qrels/cqadupstack_stats-00000-of-00001.parquet - split: cqadupstack_tex path: qrels/cqadupstack_tex-00000-of-00001.parquet - split: cqadupstack_webmasters path: qrels/cqadupstack_webmasters-00000-of-00001.parquet - split: cqadupstack_wordpress path: qrels/cqadupstack_wordpress-00000-of-00001.parquet - split: fiqa path: qrels/fiqa-00000-of-00001.parquet - split: nq path: qrels/nq-00000-of-00001.parquet - split: pugg path: qrels/pugg-00000-of-00001.parquet - split: quora path: qrels/quora-00000-of-00001.parquet - config_name: bm25 data_files: - split: cqadupstack_android path: bm25/cqadupstack_android-00000-of-00001.parquet - split: cqadupstack_english path: bm25/cqadupstack_english-00000-of-00001.parquet - split: cqadupstack_gis path: bm25/cqadupstack_gis-00000-of-00001.parquet - split: cqadupstack_mathematica path: bm25/cqadupstack_mathematica-00000-of-00001.parquet - split: cqadupstack_physics path: bm25/cqadupstack_physics-00000-of-00001.parquet - split: cqadupstack_programmers path: bm25/cqadupstack_programmers-00000-of-00001.parquet - split: cqadupstack_stats path: bm25/cqadupstack_stats-00000-of-00001.parquet - split: cqadupstack_tex path: bm25/cqadupstack_tex-00000-of-00001.parquet - split: cqadupstack_webmasters path: bm25/cqadupstack_webmasters-00000-of-00001.parquet - split: cqadupstack_wordpress path: bm25/cqadupstack_wordpress-00000-of-00001.parquet - split: fiqa path: bm25/fiqa-00000-of-00001.parquet - split: nq path: bm25/nq-00000-of-00001.parquet - split: pugg path: bm25/pugg-00000-of-00001.parquet - split: quora path: bm25/quora-00000-of-00001.parquet - config_name: harrier_oss_v1_270m data_files: - split: cqadupstack_android path: harrier_oss_v1_270m/cqadupstack_android-00000-of-00001.parquet - split: cqadupstack_english path: harrier_oss_v1_270m/cqadupstack_english-00000-of-00001.parquet - split: cqadupstack_gis path: harrier_oss_v1_270m/cqadupstack_gis-00000-of-00001.parquet - split: cqadupstack_mathematica path: harrier_oss_v1_270m/cqadupstack_mathematica-00000-of-00001.parquet - split: cqadupstack_physics path: harrier_oss_v1_270m/cqadupstack_physics-00000-of-00001.parquet - split: cqadupstack_programmers path: harrier_oss_v1_270m/cqadupstack_programmers-00000-of-00001.parquet - split: cqadupstack_stats path: harrier_oss_v1_270m/cqadupstack_stats-00000-of-00001.parquet - split: cqadupstack_tex path: harrier_oss_v1_270m/cqadupstack_tex-00000-of-00001.parquet - split: cqadupstack_webmasters path: harrier_oss_v1_270m/cqadupstack_webmasters-00000-of-00001.parquet - split: cqadupstack_wordpress path: harrier_oss_v1_270m/cqadupstack_wordpress-00000-of-00001.parquet - split: fiqa path: harrier_oss_v1_270m/fiqa-00000-of-00001.parquet - split: nq path: harrier_oss_v1_270m/nq-00000-of-00001.parquet - split: pugg path: harrier_oss_v1_270m/pugg-00000-of-00001.parquet - split: quora path: harrier_oss_v1_270m/quora-00000-of-00001.parquet - config_name: reranking_hybrid data_files: - split: cqadupstack_android path: reranking_hybrid/cqadupstack_android-00000-of-00001.parquet - split: cqadupstack_english path: reranking_hybrid/cqadupstack_english-00000-of-00001.parquet - split: cqadupstack_gis path: reranking_hybrid/cqadupstack_gis-00000-of-00001.parquet - split: cqadupstack_mathematica path: reranking_hybrid/cqadupstack_mathematica-00000-of-00001.parquet - split: cqadupstack_physics path: reranking_hybrid/cqadupstack_physics-00000-of-00001.parquet - split: cqadupstack_programmers path: reranking_hybrid/cqadupstack_programmers-00000-of-00001.parquet - split: cqadupstack_stats path: reranking_hybrid/cqadupstack_stats-00000-of-00001.parquet - split: cqadupstack_tex path: reranking_hybrid/cqadupstack_tex-00000-of-00001.parquet - split: cqadupstack_webmasters path: reranking_hybrid/cqadupstack_webmasters-00000-of-00001.parquet - split: cqadupstack_wordpress path: reranking_hybrid/cqadupstack_wordpress-00000-of-00001.parquet - split: fiqa path: reranking_hybrid/fiqa-00000-of-00001.parquet - split: nq path: reranking_hybrid/nq-00000-of-00001.parquet - split: pugg path: reranking_hybrid/pugg-00000-of-00001.parquet - split: quora path: reranking_hybrid/quora-00000-of-00001.parquet tags: - information-retrieval - retrieval - nano - bm25 - hakari-bench - dense-retrieval - reranking dataset_info: - config_name: bm25 features: - name: query-id dtype: string - name: corpus-ids list: string splits: - name: cqadupstack_android num_bytes: 889250 num_examples: 200 - name: cqadupstack_english num_bytes: 942180 num_examples: 200 - name: cqadupstack_gis num_bytes: 908062 num_examples: 200 - name: cqadupstack_mathematica num_bytes: 885093 num_examples: 200 - name: cqadupstack_physics num_bytes: 921380 num_examples: 200 - name: cqadupstack_programmers num_bytes: 972735 num_examples: 200 - name: cqadupstack_stats num_bytes: 911380 num_examples: 200 - name: cqadupstack_tex num_bytes: 948964 num_examples: 200 - name: cqadupstack_webmasters num_bytes: 887493 num_examples: 200 - name: cqadupstack_wordpress num_bytes: 938060 num_examples: 200 - name: fiqa num_bytes: 898683 num_examples: 200 - name: nq num_bytes: 1179217 num_examples: 200 - name: pugg num_bytes: 1266952 num_examples: 200 - name: quora num_bytes: 865057 num_examples: 200 download_size: 13432035 dataset_size: 13414506 - config_name: corpus features: - name: _id dtype: string - name: text dtype: string splits: - name: cqadupstack_android num_bytes: 6738774 num_examples: 10000 - name: cqadupstack_english num_bytes: 5414440 num_examples: 10000 - name: cqadupstack_gis num_bytes: 10214356 num_examples: 10000 - name: cqadupstack_mathematica num_bytes: 11471754 num_examples: 10000 - name: cqadupstack_physics num_bytes: 8748780 num_examples: 10000 - name: cqadupstack_programmers num_bytes: 11495664 num_examples: 10000 - name: cqadupstack_stats num_bytes: 10822396 num_examples: 10000 - name: cqadupstack_tex num_bytes: 11609922 num_examples: 10000 - name: cqadupstack_webmasters num_bytes: 7908919 num_examples: 10000 - name: cqadupstack_wordpress num_bytes: 10940072 num_examples: 10000 - name: fiqa num_bytes: 8733332 num_examples: 10000 - name: nq num_bytes: 6672901 num_examples: 10000 - name: pugg num_bytes: 9164421 num_examples: 10000 - name: quora num_bytes: 809676 num_examples: 10000 download_size: 72681263 dataset_size: 120745407 - config_name: harrier_oss_v1_270m features: - name: query-id dtype: string - name: corpus-ids list: string splits: - name: cqadupstack_android num_bytes: 888429 num_examples: 200 - name: cqadupstack_english num_bytes: 945540 num_examples: 200 - name: cqadupstack_gis num_bytes: 906479 num_examples: 200 - name: cqadupstack_mathematica num_bytes: 887798 num_examples: 200 - name: cqadupstack_physics num_bytes: 921579 num_examples: 200 - name: cqadupstack_programmers num_bytes: 962625 num_examples: 200 - name: cqadupstack_stats num_bytes: 910838 num_examples: 200 - name: cqadupstack_tex num_bytes: 954986 num_examples: 200 - name: cqadupstack_webmasters num_bytes: 886097 num_examples: 200 - name: cqadupstack_wordpress num_bytes: 938608 num_examples: 200 - name: fiqa num_bytes: 900649 num_examples: 200 - name: nq num_bytes: 1176505 num_examples: 200 - name: pugg num_bytes: 1278188 num_examples: 200 - name: quora num_bytes: 865777 num_examples: 200 download_size: 13441719 dataset_size: 13424098 - config_name: qrels features: - name: query-id dtype: string - name: corpus-id dtype: string splits: - name: cqadupstack_android num_bytes: 14206 num_examples: 809 - name: cqadupstack_english num_bytes: 25424 num_examples: 1356 - name: cqadupstack_gis num_bytes: 5664 num_examples: 313 - name: cqadupstack_mathematica num_bytes: 8917 num_examples: 506 - name: cqadupstack_physics num_bytes: 11349 num_examples: 621 - name: cqadupstack_programmers num_bytes: 12079 num_examples: 634 - name: cqadupstack_stats num_bytes: 6658 num_examples: 373 - name: cqadupstack_tex num_bytes: 15668 num_examples: 843 - name: cqadupstack_webmasters num_bytes: 15549 num_examples: 882 - name: cqadupstack_wordpress num_bytes: 6490 num_examples: 344 - name: fiqa num_bytes: 9485 num_examples: 534 - name: nq num_bytes: 5586 num_examples: 251 - name: pugg num_bytes: 4578 num_examples: 200 - name: quora num_bytes: 8745 num_examples: 485 download_size: 98932 dataset_size: 150398 - config_name: queries features: - name: _id dtype: string - name: text dtype: string splits: - name: cqadupstack_android num_bytes: 15038 num_examples: 200 - name: cqadupstack_english num_bytes: 13227 num_examples: 200 - name: cqadupstack_gis num_bytes: 15306 num_examples: 200 - name: cqadupstack_mathematica num_bytes: 13210 num_examples: 200 - name: cqadupstack_physics num_bytes: 15162 num_examples: 200 - name: cqadupstack_programmers num_bytes: 15177 num_examples: 200 - name: cqadupstack_stats num_bytes: 15432 num_examples: 200 - name: cqadupstack_tex num_bytes: 13253 num_examples: 200 - name: cqadupstack_webmasters num_bytes: 15075 num_examples: 200 - name: cqadupstack_wordpress num_bytes: 14343 num_examples: 200 - name: fiqa num_bytes: 16832 num_examples: 200 - name: nq num_bytes: 13202 num_examples: 200 - name: pugg num_bytes: 10901 num_examples: 200 - name: quora num_bytes: 13629 num_examples: 200 download_size: 161842 dataset_size: 199787 - config_name: reranking_hybrid features: - name: query-id dtype: string - name: corpus-ids list: string splits: - name: cqadupstack_android num_bytes: 179852 num_examples: 200 - name: cqadupstack_english num_bytes: 190887 num_examples: 200 - name: cqadupstack_gis num_bytes: 184148 num_examples: 200 - name: cqadupstack_mathematica num_bytes: 180094 num_examples: 200 - name: cqadupstack_physics num_bytes: 186321 num_examples: 200 - name: cqadupstack_programmers num_bytes: 195803 num_examples: 200 - name: cqadupstack_stats num_bytes: 184586 num_examples: 200 - name: cqadupstack_tex num_bytes: 192851 num_examples: 200 - name: cqadupstack_webmasters num_bytes: 179718 num_examples: 200 - name: cqadupstack_wordpress num_bytes: 190180 num_examples: 200 - name: fiqa num_bytes: 182515 num_examples: 200 - name: nq num_bytes: 236945 num_examples: 200 - name: pugg num_bytes: 255705 num_examples: 200 - name: quora num_bytes: 175238 num_examples: 200 download_size: 2731254 dataset_size: 2714843 --- # NanoMTEB-Polish This dataset is a Nano-style retrieval dataset for [HAKARI-bench](https://github.com/hakari-bench/hakari-bench). NanoMTEB-Polish is a compact Polish retrieval benchmark assembled from Polish MTEB-family retrieval tasks. It includes Polish CQADupStack domains, FiQA, Natural Questions, PUGG information retrieval, and Quora-style duplicate-question retrieval. ## Usage ```python from datasets import load_dataset dataset_id = "hakari-bench/NanoMTEB-Polish" split = "cqadupstack_android" 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 split | Queries | Corpus | Qrels | Query chars avg | Query chars p50 | Query chars p75 | Doc chars avg | Doc chars p50 | Doc chars p75 | |---|---:|---:|---:|---:|---:|---:|---:|---:|---:| | cqadupstack_android | 200 | 10000 | 809 | 59.3 | 56.5 | 72.0 | 626.7 | 484.0 | 733.0 | | cqadupstack_english | 200 | 10000 | 1356 | 46.5 | 43.0 | 58.0 | 488.1 | 383.0 | 596.0 | | cqadupstack_gis | 200 | 10000 | 313 | 60.6 | 58.0 | 74.0 | 966.0 | 667.0 | 1098.0 | | cqadupstack_mathematica | 200 | 10000 | 506 | 50.4 | 46.0 | 62.2 | 1088.5 | 782.0 | 1304.0 | | cqadupstack_physics | 200 | 10000 | 621 | 58.8 | 51.5 | 74.0 | 814.7 | 622.0 | 1014.0 | | cqadupstack_programmers | 200 | 10000 | 634 | 59.1 | 57.0 | 71.2 | 1075.3 | 843.0 | 1343.0 | | cqadupstack_stats | 200 | 10000 | 373 | 61.0 | 60.0 | 76.2 | 1016.6 | 792.0 | 1253.0 | | cqadupstack_tex | 200 | 10000 | 843 | 50.3 | 46.0 | 60.2 | 1106.1 | 753.0 | 1285.0 | | cqadupstack_webmasters | 200 | 10000 | 882 | 59.8 | 59.0 | 74.2 | 739.2 | 592.0 | 886.2 | | cqadupstack_wordpress | 200 | 10000 | 344 | 55.8 | 54.0 | 66.0 | 1040.6 | 736.5 | 1220.2 | | fiqa | 200 | 10000 | 534 | 68.5 | 66.5 | 83.0 | 808.8 | 551.0 | 991.0 | | nq | 200 | 10000 | 251 | 48.6 | 46.0 | 56.0 | 616.8 | 528.0 | 831.0 | | pugg | 200 | 10000 | 200 | 36.2 | 33.0 | 43.0 | 850.3 | 861.0 | 902.0 | | quora | 200 | 10000 | 485 | 52.5 | 47.0 | 62.0 | 64.6 | 55.0 | 77.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 split | BM25 tokenizer | BM25 nDCG@10 | Dense nDCG@10 | Hybrid nDCG@10 | BM25 Recall@100 | Dense Recall@100 | Hybrid Recall@100 | Hybrid candidates | Safeguard positives | |---|---|---:|---:|---:|---:|---:|---:|---:|---:| | Mean | - | 34.24 | 42.71 | 40.88 | 60.23 | 69.78 | 73.42 | - | 505 | | cqadupstack_android | regex | 33.79 | 41.39 | 41.21 | 60.67 | 71.38 | 74.98 | 100-101 | 25 | | cqadupstack_english | regex | 31.88 | 39.26 | 37.25 | 46.63 | 61.06 | 61.90 | 100-101 | 45 | | cqadupstack_gis | regex | 24.23 | 28.61 | 31.43 | 56.21 | 60.21 | 67.65 | 100-101 | 56 | | cqadupstack_mathematica | regex | 21.29 | 21.71 | 24.11 | 39.69 | 48.61 | 50.69 | 100-101 | 75 | | cqadupstack_physics | regex | 33.59 | 43.06 | 40.24 | 60.11 | 76.83 | 75.88 | 100-101 | 27 | | cqadupstack_programmers | regex | 31.91 | 32.75 | 36.07 | 58.86 | 64.23 | 70.23 | 100-101 | 41 | | cqadupstack_stats | regex | 26.62 | 33.75 | 33.14 | 52.86 | 60.71 | 64.13 | 100-101 | 55 | | cqadupstack_tex | regex | 25.55 | 28.05 | 31.47 | 51.62 | 56.92 | 61.82 | 100-101 | 50 | | cqadupstack_webmasters | regex | 24.40 | 30.45 | 31.62 | 49.85 | 63.50 | 66.71 | 100-101 | 42 | | cqadupstack_wordpress | regex | 31.39 | 29.51 | 32.89 | 57.79 | 60.76 | 69.66 | 100-101 | 50 | | fiqa | regex | 23.53 | 38.90 | 35.74 | 52.41 | 70.98 | 72.20 | 100-101 | 26 | | nq | regex | 30.26 | 61.54 | 43.63 | 76.92 | 92.58 | 94.75 | 100-101 | 9 | | pugg | regex | 63.90 | 78.17 | 71.46 | 87.50 | 93.00 | 98.00 | 100-101 | 4 | | quora | regex | 77.04 | 90.73 | 82.07 | 92.04 | 96.13 | 99.25 | 100 | 0 | ## Hybrid Safeguard Summary - Safeguard positives: 505 - Rows limited by corpus size: 0 - Metadata file: `reranking_hybrid_metadata.json` ## Source Links - [mteb/CQADupstack-Android-PL](https://huggingface.co/datasets/mteb/CQADupstack-Android-PL) - [mteb/CQADupstack-English-PL](https://huggingface.co/datasets/mteb/CQADupstack-English-PL) - [mteb/CQADupstack-Gis-PL](https://huggingface.co/datasets/mteb/CQADupstack-Gis-PL) - [mteb/CQADupstack-Mathematica-PL](https://huggingface.co/datasets/mteb/CQADupstack-Mathematica-PL) - [mteb/CQADupstack-Physics-PL](https://huggingface.co/datasets/mteb/CQADupstack-Physics-PL) - [mteb/CQADupstack-Programmers-PL](https://huggingface.co/datasets/mteb/CQADupstack-Programmers-PL) - [mteb/CQADupstack-Stats-PL](https://huggingface.co/datasets/mteb/CQADupstack-Stats-PL) - [mteb/CQADupstack-Tex-PL](https://huggingface.co/datasets/mteb/CQADupstack-Tex-PL) - [mteb/CQADupstack-Webmasters-PL](https://huggingface.co/datasets/mteb/CQADupstack-Webmasters-PL) - [mteb/CQADupstack-Wordpress-PL](https://huggingface.co/datasets/mteb/CQADupstack-Wordpress-PL) - [mteb/FiQA-PL](https://huggingface.co/datasets/mteb/FiQA-PL) - [mteb/NQ-PLHardNegatives](https://huggingface.co/datasets/mteb/NQ-PLHardNegatives) - [clarin-pl/PUGG_IR](https://huggingface.co/datasets/clarin-pl/PUGG_IR) - [mteb/Quora-PLHardNegatives](https://huggingface.co/datasets/mteb/Quora-PLHardNegatives) ## License NanoMTEB-Polish is a derived dataset. Users must comply with the licenses, terms, and attribution requirements of the upstream MTEB task sources and their original datasets.