Datasets:
Update dataset README for reranking_hybrid candidates
Browse files
README.md
CHANGED
|
@@ -1,173 +1,174 @@
|
|
| 1 |
---
|
| 2 |
configs:
|
| 3 |
-
- config_name:
|
| 4 |
data_files:
|
| 5 |
- split: NanoArguAna
|
| 6 |
-
path:
|
| 7 |
- split: NanoClimateFEVER
|
| 8 |
-
path:
|
| 9 |
- split: NanoDBPedia
|
| 10 |
-
path:
|
| 11 |
- split: NanoFEVER
|
| 12 |
-
path:
|
| 13 |
- split: NanoFiQA2018
|
| 14 |
-
path:
|
| 15 |
- split: NanoHotpotQA
|
| 16 |
-
path:
|
| 17 |
- split: NanoMSMARCO
|
| 18 |
-
path:
|
| 19 |
- split: NanoNFCorpus
|
| 20 |
-
path:
|
| 21 |
- split: NanoNQ
|
| 22 |
-
path:
|
| 23 |
- split: NanoQuoraRetrieval
|
| 24 |
-
path:
|
| 25 |
- split: NanoSCIDOCS
|
| 26 |
-
path:
|
| 27 |
- split: NanoSciFact
|
| 28 |
-
path:
|
| 29 |
- split: NanoTouche2020
|
| 30 |
-
path:
|
| 31 |
-
- config_name:
|
| 32 |
data_files:
|
| 33 |
- split: NanoArguAna
|
| 34 |
-
path:
|
| 35 |
- split: NanoClimateFEVER
|
| 36 |
-
path:
|
| 37 |
- split: NanoDBPedia
|
| 38 |
-
path:
|
| 39 |
- split: NanoFEVER
|
| 40 |
-
path:
|
| 41 |
- split: NanoFiQA2018
|
| 42 |
-
path:
|
| 43 |
- split: NanoHotpotQA
|
| 44 |
-
path:
|
| 45 |
- split: NanoMSMARCO
|
| 46 |
-
path:
|
| 47 |
- split: NanoNFCorpus
|
| 48 |
-
path:
|
| 49 |
- split: NanoNQ
|
| 50 |
-
path:
|
| 51 |
- split: NanoQuoraRetrieval
|
| 52 |
-
path:
|
| 53 |
- split: NanoSCIDOCS
|
| 54 |
-
path:
|
| 55 |
- split: NanoSciFact
|
| 56 |
-
path:
|
| 57 |
- split: NanoTouche2020
|
| 58 |
-
path:
|
| 59 |
-
|
|
|
|
| 60 |
data_files:
|
| 61 |
- split: NanoArguAna
|
| 62 |
-
path:
|
| 63 |
- split: NanoClimateFEVER
|
| 64 |
-
path:
|
| 65 |
- split: NanoDBPedia
|
| 66 |
-
path:
|
| 67 |
- split: NanoFEVER
|
| 68 |
-
path:
|
| 69 |
- split: NanoFiQA2018
|
| 70 |
-
path:
|
| 71 |
- split: NanoHotpotQA
|
| 72 |
-
path:
|
| 73 |
- split: NanoMSMARCO
|
| 74 |
-
path:
|
| 75 |
- split: NanoNFCorpus
|
| 76 |
-
path:
|
| 77 |
- split: NanoNQ
|
| 78 |
-
path:
|
| 79 |
- split: NanoQuoraRetrieval
|
| 80 |
-
path:
|
| 81 |
- split: NanoSCIDOCS
|
| 82 |
-
path:
|
| 83 |
- split: NanoSciFact
|
| 84 |
-
path:
|
| 85 |
- split: NanoTouche2020
|
| 86 |
-
path:
|
| 87 |
-
- config_name:
|
| 88 |
data_files:
|
| 89 |
- split: NanoArguAna
|
| 90 |
-
path:
|
| 91 |
- split: NanoClimateFEVER
|
| 92 |
-
path:
|
| 93 |
- split: NanoDBPedia
|
| 94 |
-
path:
|
| 95 |
- split: NanoFEVER
|
| 96 |
-
path:
|
| 97 |
- split: NanoFiQA2018
|
| 98 |
-
path:
|
| 99 |
- split: NanoHotpotQA
|
| 100 |
-
path:
|
| 101 |
- split: NanoMSMARCO
|
| 102 |
-
path:
|
| 103 |
- split: NanoNFCorpus
|
| 104 |
-
path:
|
| 105 |
- split: NanoNQ
|
| 106 |
-
path:
|
| 107 |
- split: NanoQuoraRetrieval
|
| 108 |
-
path:
|
| 109 |
- split: NanoSCIDOCS
|
| 110 |
-
path:
|
| 111 |
- split: NanoSciFact
|
| 112 |
-
path:
|
| 113 |
- split: NanoTouche2020
|
| 114 |
-
path:
|
| 115 |
-
- config_name:
|
| 116 |
data_files:
|
| 117 |
- split: NanoArguAna
|
| 118 |
-
path:
|
| 119 |
- split: NanoClimateFEVER
|
| 120 |
-
path:
|
| 121 |
- split: NanoDBPedia
|
| 122 |
-
path:
|
| 123 |
- split: NanoFEVER
|
| 124 |
-
path:
|
| 125 |
- split: NanoFiQA2018
|
| 126 |
-
path:
|
| 127 |
- split: NanoHotpotQA
|
| 128 |
-
path:
|
| 129 |
- split: NanoMSMARCO
|
| 130 |
-
path:
|
| 131 |
- split: NanoNFCorpus
|
| 132 |
-
path:
|
| 133 |
- split: NanoNQ
|
| 134 |
-
path:
|
| 135 |
- split: NanoQuoraRetrieval
|
| 136 |
-
path:
|
| 137 |
- split: NanoSCIDOCS
|
| 138 |
-
path:
|
| 139 |
- split: NanoSciFact
|
| 140 |
-
path:
|
| 141 |
- split: NanoTouche2020
|
| 142 |
-
path:
|
| 143 |
- config_name: reranking_hybrid
|
| 144 |
data_files:
|
| 145 |
- split: NanoArguAna
|
| 146 |
-
path: reranking_hybrid/NanoArguAna
|
| 147 |
- split: NanoClimateFEVER
|
| 148 |
-
path: reranking_hybrid/NanoClimateFEVER
|
| 149 |
- split: NanoDBPedia
|
| 150 |
-
path: reranking_hybrid/NanoDBPedia
|
| 151 |
- split: NanoFEVER
|
| 152 |
-
path: reranking_hybrid/NanoFEVER
|
| 153 |
- split: NanoFiQA2018
|
| 154 |
-
path: reranking_hybrid/NanoFiQA2018
|
| 155 |
- split: NanoHotpotQA
|
| 156 |
-
path: reranking_hybrid/NanoHotpotQA
|
| 157 |
- split: NanoMSMARCO
|
| 158 |
-
path: reranking_hybrid/NanoMSMARCO
|
| 159 |
- split: NanoNFCorpus
|
| 160 |
-
path: reranking_hybrid/NanoNFCorpus
|
| 161 |
- split: NanoNQ
|
| 162 |
-
path: reranking_hybrid/NanoNQ
|
| 163 |
- split: NanoQuoraRetrieval
|
| 164 |
-
path: reranking_hybrid/NanoQuoraRetrieval
|
| 165 |
- split: NanoSCIDOCS
|
| 166 |
-
path: reranking_hybrid/NanoSCIDOCS
|
| 167 |
- split: NanoSciFact
|
| 168 |
-
path: reranking_hybrid/NanoSciFact
|
| 169 |
- split: NanoTouche2020
|
| 170 |
-
path: reranking_hybrid/NanoTouche2020
|
| 171 |
language:
|
| 172 |
- ko
|
| 173 |
tags:
|
|
@@ -176,6 +177,8 @@ tags:
|
|
| 176 |
- nano
|
| 177 |
- bm25
|
| 178 |
- hakari-bench
|
|
|
|
|
|
|
| 179 |
dataset_info:
|
| 180 |
- config_name: bm25
|
| 181 |
features:
|
|
@@ -466,173 +469,99 @@ dataset_info:
|
|
| 466 |
download_size: 1476357
|
| 467 |
dataset_size: 1458705
|
| 468 |
---
|
| 469 |
-
|
| 470 |
# NanoBEIR-ko
|
| 471 |
|
| 472 |
-
This dataset is a Nano-style retrieval dataset
|
| 473 |
-
be run easily with [HAKARI-Bench](https://github.com/hotchpotch/hakari-bench).
|
| 474 |
-
|
| 475 |
-
NanoBEIR-ko is derived from MNanoBEIR / NanoBEIR. It follows the
|
| 476 |
-
Hugging Face Datasets layout convention used by
|
| 477 |
-
[sentence-transformers/NanoBEIR-en](https://huggingface.co/datasets/sentence-transformers/NanoBEIR-en):
|
| 478 |
-
each Nano split has separate `corpus`, `queries`, and `qrels` tables, and BM25
|
| 479 |
-
candidates are provided separately in a `bm25` table. This layout follows
|
| 480 |
-
the NanoBEIR-style evaluation approach summarized in
|
| 481 |
-
[NanoBEIR](https://huggingface.co/blog/sionic-ai/eval-sionic-nano-beir).
|
| 482 |
|
| 483 |
NanoBEIR-ko is the Korean language-specific component of MNanoBEIR. It groups compact BEIR-derived retrieval tasks for efficient evaluation of document ranking in that language.
|
| 484 |
|
|
|
|
| 485 |
|
|
|
|
|
|
|
| 486 |
|
| 487 |
-
|
|
|
|
| 488 |
|
| 489 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 490 |
|
| 491 |
## Data Layout
|
| 492 |
|
| 493 |
-
This dataset uses
|
| 494 |
|
| 495 |
- `corpus`: documents with `_id` and `text`
|
| 496 |
- `queries`: queries with `_id` and `text`
|
| 497 |
- `qrels`: positive relevance labels with `query-id` and `corpus-id`
|
| 498 |
- `bm25`: BM25 candidate lists with `query-id` and `corpus-ids`
|
|
|
|
|
|
|
| 499 |
|
| 500 |
Each config has the same Nano split names.
|
| 501 |
|
| 502 |
-
|
| 503 |
-
as non-relevant or hard-negative annotations and are not included in `qrels`.
|
| 504 |
-
When the source provides such rows, their documents are preferentially used as
|
| 505 |
-
hard negatives in the `corpus` config before generic corpus-fill documents.
|
| 506 |
-
Source hard negatives are sampled deterministically with query round-robin so
|
| 507 |
-
one query's negative pool does not dominate the corpus.
|
| 508 |
-
|
| 509 |
-
## Split Statistics
|
| 510 |
-
|
| 511 |
-
Length statistics are computed with `len(str(text))` over the `queries` and
|
| 512 |
-
`corpus` tables. `std` is the population standard deviation over the rows in
|
| 513 |
-
each split.
|
| 514 |
-
|
| 515 |
-
| Nano split | Queries | Corpus | Qrels | Query avg | Query std | Query median | Query p25 | Query p75 | Doc avg | Doc std | Doc median | Doc p25 | Doc p75 |
|
| 516 |
-
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 517 |
-
| NanoArguAna | 50 | 3635 | 50 | 619.4 | 212.6 | 604.0 | 471.5 | 768.2 | 519.6 | 290.0 | 464.0 | 317.0 | 659.5 |
|
| 518 |
-
| NanoClimateFEVER | 50 | 3408 | 148 | 66.0 | 26.4 | 64.5 | 44.0 | 82.8 | 779.7 | 427.6 | 704.0 | 473.0 | 1005.0 |
|
| 519 |
-
| NanoDBPedia | 50 | 6045 | 1158 | 16.8 | 7.7 | 15.5 | 11.0 | 21.8 | 187.6 | 89.4 | 198.0 | 130.0 | 244.0 |
|
| 520 |
-
| NanoFEVER | 50 | 4996 | 57 | 26.4 | 9.2 | 25.0 | 21.0 | 29.0 | 648.1 | 441.0 | 551.5 | 327.8 | 870.0 |
|
| 521 |
-
| NanoFiQA2018 | 50 | 4598 | 123 | 29.6 | 11.9 | 29.5 | 20.5 | 36.8 | 490.3 | 440.7 | 361.0 | 195.2 | 622.8 |
|
| 522 |
-
| NanoHotpotQA | 50 | 5090 | 100 | 49.5 | 18.5 | 46.0 | 34.5 | 59.8 | 197.1 | 142.0 | 170.0 | 88.0 | 269.0 |
|
| 523 |
-
| NanoMSMARCO | 50 | 5043 | 50 | 19.1 | 11.7 | 17.0 | 11.0 | 23.8 | 169.2 | 71.0 | 152.0 | 122.0 | 202.5 |
|
| 524 |
-
| NanoNFCorpus | 50 | 2953 | 1651 | 10.8 | 7.5 | 10.0 | 5.0 | 14.8 | 752.7 | 268.7 | 758.0 | 591.0 | 895.0 |
|
| 525 |
-
| NanoNQ | 50 | 5035 | 57 | 29.3 | 13.7 | 25.0 | 21.0 | 31.8 | 274.2 | 227.0 | 231.0 | 93.0 | 394.5 |
|
| 526 |
-
| NanoQuoraRetrieval | 50 | 5046 | 70 | 28.7 | 11.5 | 28.0 | 21.2 | 32.0 | 32.8 | 29.6 | 28.0 | 22.0 | 37.0 |
|
| 527 |
-
| NanoSCIDOCS | 50 | 2210 | 244 | 32.1 | 9.0 | 30.0 | 25.0 | 39.0 | 452.8 | 339.0 | 444.0 | 281.0 | 609.8 |
|
| 528 |
-
| NanoSciFact | 50 | 2919 | 56 | 46.3 | 18.7 | 42.0 | 32.0 | 59.2 | 723.6 | 305.0 | 679.0 | 532.0 | 869.0 |
|
| 529 |
-
| NanoTouche2020 | 49 | 5745 | 932 | 21.7 | 6.8 | 20.0 | 17.0 | 26.0 | 1032.8 | 1085.4 | 543.0 | 176.0 | 1629.0 |
|
| 530 |
-
|
| 531 |
-
## Construction Steps
|
| 532 |
-
|
| 533 |
-
This dataset is constructed as follows.
|
| 534 |
-
|
| 535 |
-
1. Use MNanoBEIR / NanoBEIR as the upstream benchmark or dataset family.
|
| 536 |
-
2. Load source datasets from the `hakari-bench/NanoBEIR-ko` corpus, queries, and qrels tables.
|
| 537 |
-
3. Source evaluation split policy: the NanoBEIR split set.
|
| 538 |
-
4. Create one Nano split for each selected source retrieval task.
|
| 539 |
-
5. Keep up to 200 eligible queries per Nano split.
|
| 540 |
-
6. Treat source relevance rows with `score > 0` as qrels-positive documents.
|
| 541 |
-
If the source has no score column, treat its qrels as positive-only only when
|
| 542 |
-
that is the source task convention.
|
| 543 |
-
7. Exclude source rows with `score <= 0` from `qrels`. When such rows are
|
| 544 |
-
available for selected queries, use their documents as hard-negative corpus
|
| 545 |
-
candidates before generic fill documents.
|
| 546 |
-
8. Include all qrels-positive documents for the selected queries.
|
| 547 |
-
9. Use the included corpus tables for each Nano split; no additional document resampling is performed.
|
| 548 |
-
10. Remove exact duplicate query text and document text within each split. If a
|
| 549 |
-
removed document duplicate was referenced by qrels,
|
| 550 |
-
the qrels row was removed.
|
| 551 |
-
11. Store corpus text as `title` plus body text when available.
|
| 552 |
-
12. Generate BM25 top-100 candidates with
|
| 553 |
-
`wordseg:ko` tokenization.
|
| 554 |
-
13. If a qrels-positive document is missing from the raw BM25 result, insert it
|
| 555 |
-
into the final `bm25` candidate list by replacing a tail non-positive
|
| 556 |
-
candidate.
|
| 557 |
|
| 558 |
-
|
|
|
|
|
|
|
| 559 |
|
| 560 |
-
|
| 561 |
|
| 562 |
-
|
| 563 |
-
|
| 564 |
-
## BM25 Subset Policy
|
| 565 |
-
|
| 566 |
-
The `bm25` config is a candidate subset for first-stage retrieval and reranking.
|
| 567 |
-
It is not a separate source dataset. Each row contains one query id and a ranked
|
| 568 |
-
list of up to 100 corpus ids.
|
| 569 |
-
|
| 570 |
-
BM25 candidates are generated from the selected corpus for each split. When a
|
| 571 |
-
qrels-positive document is not present in the raw BM25 top-100
|
| 572 |
-
results, the missing positive is forced into the final candidate list by
|
| 573 |
-
replacing a tail candidate that is not positive for that query. Candidate ids
|
| 574 |
-
are kept unique after replacement.
|
| 575 |
-
|
| 576 |
-
Concretely, each `bm25` row is produced by tokenizing the selected split corpus
|
| 577 |
-
and query texts with `wordseg:ko`, ranking the corpus with BM25,
|
| 578 |
-
then writing the ranked corpus ids as `corpus-ids` for that query. The list is a
|
| 579 |
-
candidate subset for downstream evaluation, not a full-corpus ranking.
|
| 580 |
-
|
| 581 |
-
Source hard negatives, including documents referenced by source rows with
|
| 582 |
-
`score <= 0`, may appear in the selected corpus and can naturally appear in BM25
|
| 583 |
-
candidates. They are still non-relevant and are not listed in `qrels`.
|
| 584 |
-
|
| 585 |
-
When source hard negatives are available, the default corpus sampling policy is
|
| 586 |
-
query round-robin: group hard negatives by selected query, preserve source
|
| 587 |
-
rank/order within each query, add at most one new hard negative from each query
|
| 588 |
-
per pass, remove duplicate IDs and exact duplicate text, then fill any remaining
|
| 589 |
-
slots from source corpus order.
|
| 590 |
-
|
| 591 |
-
## Split Mapping
|
| 592 |
-
|
| 593 |
-
Each Nano split maps to one source retrieval task unless noted otherwise.
|
| 594 |
-
|
| 595 |
-
| Nano split | Source task | Source dataset | Queries | Corpus | Qrels |
|
| 596 |
-
|---|---|---|---:|---:|---:|
|
| 597 |
-
| NanoArguAna | NanoArguAna | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 3635 | 50 |
|
| 598 |
-
| NanoClimateFEVER | NanoClimateFEVER | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 3408 | 148 |
|
| 599 |
-
| NanoDBPedia | NanoDBPedia | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 6045 | 1158 |
|
| 600 |
-
| NanoFEVER | NanoFEVER | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 4996 | 57 |
|
| 601 |
-
| NanoFiQA2018 | NanoFiQA2018 | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 4598 | 123 |
|
| 602 |
-
| NanoHotpotQA | NanoHotpotQA | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 5090 | 100 |
|
| 603 |
-
| NanoMSMARCO | NanoMSMARCO | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 5043 | 50 |
|
| 604 |
-
| NanoNFCorpus | NanoNFCorpus | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 2953 | 1651 |
|
| 605 |
-
| NanoNQ | NanoNQ | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 5035 | 57 |
|
| 606 |
-
| NanoQuoraRetrieval | NanoQuoraRetrieval | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 5046 | 70 |
|
| 607 |
-
| NanoSCIDOCS | NanoSCIDOCS | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 2210 | 244 |
|
| 608 |
-
| NanoSciFact | NanoSciFact | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 50 | 2919 | 56 |
|
| 609 |
-
| NanoTouche2020 | NanoTouche2020 | [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko) | 49 | 5745 | 932 |
|
| 610 |
-
|
| 611 |
-
## BM25 nDCG@10
|
| 612 |
-
|
| 613 |
-
`nDCG@10` is computed from the included BM25 ranking against the included qrels.
|
| 614 |
-
|
| 615 |
-
Coverage is measured against included qrels at the same BM25 top-k used for reranking diagnostics. The included BM25 candidate subset has 100.00% query coverage and 100.00% relevant coverage for every split.
|
| 616 |
|
| 617 |
-
|
| 618 |
-
|
| 619 |
-
|
|
| 620 |
-
|
|
| 621 |
-
|
|
| 622 |
-
|
|
| 623 |
-
|
|
| 624 |
-
|
|
| 625 |
-
|
|
| 626 |
-
|
|
| 627 |
-
|
|
| 628 |
-
|
|
| 629 |
-
|
|
| 630 |
-
|
|
| 631 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 632 |
|
| 633 |
-
##
|
| 634 |
|
| 635 |
-
|
| 636 |
|
| 637 |
## License
|
| 638 |
|
|
|
|
| 1 |
---
|
| 2 |
configs:
|
| 3 |
+
- config_name: corpus
|
| 4 |
data_files:
|
| 5 |
- split: NanoArguAna
|
| 6 |
+
path: corpus/NanoArguAna.parquet
|
| 7 |
- split: NanoClimateFEVER
|
| 8 |
+
path: corpus/NanoClimateFEVER.parquet
|
| 9 |
- split: NanoDBPedia
|
| 10 |
+
path: corpus/NanoDBPedia.parquet
|
| 11 |
- split: NanoFEVER
|
| 12 |
+
path: corpus/NanoFEVER.parquet
|
| 13 |
- split: NanoFiQA2018
|
| 14 |
+
path: corpus/NanoFiQA2018.parquet
|
| 15 |
- split: NanoHotpotQA
|
| 16 |
+
path: corpus/NanoHotpotQA.parquet
|
| 17 |
- split: NanoMSMARCO
|
| 18 |
+
path: corpus/NanoMSMARCO.parquet
|
| 19 |
- split: NanoNFCorpus
|
| 20 |
+
path: corpus/NanoNFCorpus.parquet
|
| 21 |
- split: NanoNQ
|
| 22 |
+
path: corpus/NanoNQ.parquet
|
| 23 |
- split: NanoQuoraRetrieval
|
| 24 |
+
path: corpus/NanoQuoraRetrieval.parquet
|
| 25 |
- split: NanoSCIDOCS
|
| 26 |
+
path: corpus/NanoSCIDOCS.parquet
|
| 27 |
- split: NanoSciFact
|
| 28 |
+
path: corpus/NanoSciFact.parquet
|
| 29 |
- split: NanoTouche2020
|
| 30 |
+
path: corpus/NanoTouche2020.parquet
|
| 31 |
+
- config_name: queries
|
| 32 |
data_files:
|
| 33 |
- split: NanoArguAna
|
| 34 |
+
path: queries/NanoArguAna.parquet
|
| 35 |
- split: NanoClimateFEVER
|
| 36 |
+
path: queries/NanoClimateFEVER.parquet
|
| 37 |
- split: NanoDBPedia
|
| 38 |
+
path: queries/NanoDBPedia.parquet
|
| 39 |
- split: NanoFEVER
|
| 40 |
+
path: queries/NanoFEVER.parquet
|
| 41 |
- split: NanoFiQA2018
|
| 42 |
+
path: queries/NanoFiQA2018.parquet
|
| 43 |
- split: NanoHotpotQA
|
| 44 |
+
path: queries/NanoHotpotQA.parquet
|
| 45 |
- split: NanoMSMARCO
|
| 46 |
+
path: queries/NanoMSMARCO.parquet
|
| 47 |
- split: NanoNFCorpus
|
| 48 |
+
path: queries/NanoNFCorpus.parquet
|
| 49 |
- split: NanoNQ
|
| 50 |
+
path: queries/NanoNQ.parquet
|
| 51 |
- split: NanoQuoraRetrieval
|
| 52 |
+
path: queries/NanoQuoraRetrieval.parquet
|
| 53 |
- split: NanoSCIDOCS
|
| 54 |
+
path: queries/NanoSCIDOCS.parquet
|
| 55 |
- split: NanoSciFact
|
| 56 |
+
path: queries/NanoSciFact.parquet
|
| 57 |
- split: NanoTouche2020
|
| 58 |
+
path: queries/NanoTouche2020.parquet
|
| 59 |
+
default: true
|
| 60 |
+
- config_name: qrels
|
| 61 |
data_files:
|
| 62 |
- split: NanoArguAna
|
| 63 |
+
path: qrels/NanoArguAna.parquet
|
| 64 |
- split: NanoClimateFEVER
|
| 65 |
+
path: qrels/NanoClimateFEVER.parquet
|
| 66 |
- split: NanoDBPedia
|
| 67 |
+
path: qrels/NanoDBPedia.parquet
|
| 68 |
- split: NanoFEVER
|
| 69 |
+
path: qrels/NanoFEVER.parquet
|
| 70 |
- split: NanoFiQA2018
|
| 71 |
+
path: qrels/NanoFiQA2018.parquet
|
| 72 |
- split: NanoHotpotQA
|
| 73 |
+
path: qrels/NanoHotpotQA.parquet
|
| 74 |
- split: NanoMSMARCO
|
| 75 |
+
path: qrels/NanoMSMARCO.parquet
|
| 76 |
- split: NanoNFCorpus
|
| 77 |
+
path: qrels/NanoNFCorpus.parquet
|
| 78 |
- split: NanoNQ
|
| 79 |
+
path: qrels/NanoNQ.parquet
|
| 80 |
- split: NanoQuoraRetrieval
|
| 81 |
+
path: qrels/NanoQuoraRetrieval.parquet
|
| 82 |
- split: NanoSCIDOCS
|
| 83 |
+
path: qrels/NanoSCIDOCS.parquet
|
| 84 |
- split: NanoSciFact
|
| 85 |
+
path: qrels/NanoSciFact.parquet
|
| 86 |
- split: NanoTouche2020
|
| 87 |
+
path: qrels/NanoTouche2020.parquet
|
| 88 |
+
- config_name: bm25
|
| 89 |
data_files:
|
| 90 |
- split: NanoArguAna
|
| 91 |
+
path: bm25/NanoArguAna.parquet
|
| 92 |
- split: NanoClimateFEVER
|
| 93 |
+
path: bm25/NanoClimateFEVER.parquet
|
| 94 |
- split: NanoDBPedia
|
| 95 |
+
path: bm25/NanoDBPedia.parquet
|
| 96 |
- split: NanoFEVER
|
| 97 |
+
path: bm25/NanoFEVER.parquet
|
| 98 |
- split: NanoFiQA2018
|
| 99 |
+
path: bm25/NanoFiQA2018.parquet
|
| 100 |
- split: NanoHotpotQA
|
| 101 |
+
path: bm25/NanoHotpotQA.parquet
|
| 102 |
- split: NanoMSMARCO
|
| 103 |
+
path: bm25/NanoMSMARCO.parquet
|
| 104 |
- split: NanoNFCorpus
|
| 105 |
+
path: bm25/NanoNFCorpus.parquet
|
| 106 |
- split: NanoNQ
|
| 107 |
+
path: bm25/NanoNQ.parquet
|
| 108 |
- split: NanoQuoraRetrieval
|
| 109 |
+
path: bm25/NanoQuoraRetrieval.parquet
|
| 110 |
- split: NanoSCIDOCS
|
| 111 |
+
path: bm25/NanoSCIDOCS.parquet
|
| 112 |
- split: NanoSciFact
|
| 113 |
+
path: bm25/NanoSciFact.parquet
|
| 114 |
- split: NanoTouche2020
|
| 115 |
+
path: bm25/NanoTouche2020.parquet
|
| 116 |
+
- config_name: harrier_oss_v1_270m
|
| 117 |
data_files:
|
| 118 |
- split: NanoArguAna
|
| 119 |
+
path: harrier_oss_v1_270m/NanoArguAna.parquet
|
| 120 |
- split: NanoClimateFEVER
|
| 121 |
+
path: harrier_oss_v1_270m/NanoClimateFEVER.parquet
|
| 122 |
- split: NanoDBPedia
|
| 123 |
+
path: harrier_oss_v1_270m/NanoDBPedia.parquet
|
| 124 |
- split: NanoFEVER
|
| 125 |
+
path: harrier_oss_v1_270m/NanoFEVER.parquet
|
| 126 |
- split: NanoFiQA2018
|
| 127 |
+
path: harrier_oss_v1_270m/NanoFiQA2018.parquet
|
| 128 |
- split: NanoHotpotQA
|
| 129 |
+
path: harrier_oss_v1_270m/NanoHotpotQA.parquet
|
| 130 |
- split: NanoMSMARCO
|
| 131 |
+
path: harrier_oss_v1_270m/NanoMSMARCO.parquet
|
| 132 |
- split: NanoNFCorpus
|
| 133 |
+
path: harrier_oss_v1_270m/NanoNFCorpus.parquet
|
| 134 |
- split: NanoNQ
|
| 135 |
+
path: harrier_oss_v1_270m/NanoNQ.parquet
|
| 136 |
- split: NanoQuoraRetrieval
|
| 137 |
+
path: harrier_oss_v1_270m/NanoQuoraRetrieval.parquet
|
| 138 |
- split: NanoSCIDOCS
|
| 139 |
+
path: harrier_oss_v1_270m/NanoSCIDOCS.parquet
|
| 140 |
- split: NanoSciFact
|
| 141 |
+
path: harrier_oss_v1_270m/NanoSciFact.parquet
|
| 142 |
- split: NanoTouche2020
|
| 143 |
+
path: harrier_oss_v1_270m/NanoTouche2020.parquet
|
| 144 |
- config_name: reranking_hybrid
|
| 145 |
data_files:
|
| 146 |
- split: NanoArguAna
|
| 147 |
+
path: reranking_hybrid/NanoArguAna.parquet
|
| 148 |
- split: NanoClimateFEVER
|
| 149 |
+
path: reranking_hybrid/NanoClimateFEVER.parquet
|
| 150 |
- split: NanoDBPedia
|
| 151 |
+
path: reranking_hybrid/NanoDBPedia.parquet
|
| 152 |
- split: NanoFEVER
|
| 153 |
+
path: reranking_hybrid/NanoFEVER.parquet
|
| 154 |
- split: NanoFiQA2018
|
| 155 |
+
path: reranking_hybrid/NanoFiQA2018.parquet
|
| 156 |
- split: NanoHotpotQA
|
| 157 |
+
path: reranking_hybrid/NanoHotpotQA.parquet
|
| 158 |
- split: NanoMSMARCO
|
| 159 |
+
path: reranking_hybrid/NanoMSMARCO.parquet
|
| 160 |
- split: NanoNFCorpus
|
| 161 |
+
path: reranking_hybrid/NanoNFCorpus.parquet
|
| 162 |
- split: NanoNQ
|
| 163 |
+
path: reranking_hybrid/NanoNQ.parquet
|
| 164 |
- split: NanoQuoraRetrieval
|
| 165 |
+
path: reranking_hybrid/NanoQuoraRetrieval.parquet
|
| 166 |
- split: NanoSCIDOCS
|
| 167 |
+
path: reranking_hybrid/NanoSCIDOCS.parquet
|
| 168 |
- split: NanoSciFact
|
| 169 |
+
path: reranking_hybrid/NanoSciFact.parquet
|
| 170 |
- split: NanoTouche2020
|
| 171 |
+
path: reranking_hybrid/NanoTouche2020.parquet
|
| 172 |
language:
|
| 173 |
- ko
|
| 174 |
tags:
|
|
|
|
| 177 |
- nano
|
| 178 |
- bm25
|
| 179 |
- hakari-bench
|
| 180 |
+
- dense-retrieval
|
| 181 |
+
- reranking
|
| 182 |
dataset_info:
|
| 183 |
- config_name: bm25
|
| 184 |
features:
|
|
|
|
| 469 |
download_size: 1476357
|
| 470 |
dataset_size: 1458705
|
| 471 |
---
|
|
|
|
| 472 |
# NanoBEIR-ko
|
| 473 |
|
| 474 |
+
This dataset is a Nano-style retrieval dataset for [HAKARI-bench](https://github.com/hakari-bench/hakari-bench).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 475 |
|
| 476 |
NanoBEIR-ko is the Korean language-specific component of MNanoBEIR. It groups compact BEIR-derived retrieval tasks for efficient evaluation of document ranking in that language.
|
| 477 |
|
| 478 |
+
## Usage
|
| 479 |
|
| 480 |
+
```python
|
| 481 |
+
from datasets import load_dataset
|
| 482 |
|
| 483 |
+
dataset_id = "hakari-bench/NanoBEIR-ko"
|
| 484 |
+
split = "NanoArguAna"
|
| 485 |
|
| 486 |
+
queries = load_dataset(dataset_id, "queries", split=split)
|
| 487 |
+
corpus = load_dataset(dataset_id, "corpus", split=split)
|
| 488 |
+
qrels = load_dataset(dataset_id, "qrels", split=split)
|
| 489 |
+
reranking_candidates = load_dataset(dataset_id, "reranking_hybrid", split=split)
|
| 490 |
+
```
|
| 491 |
|
| 492 |
## Data Layout
|
| 493 |
|
| 494 |
+
This dataset uses six Hugging Face Datasets configs:
|
| 495 |
|
| 496 |
- `corpus`: documents with `_id` and `text`
|
| 497 |
- `queries`: queries with `_id` and `text`
|
| 498 |
- `qrels`: positive relevance labels with `query-id` and `corpus-id`
|
| 499 |
- `bm25`: BM25 candidate lists with `query-id` and `corpus-ids`
|
| 500 |
+
- `harrier_oss_v1_270m`: dense candidate lists from `microsoft/harrier-oss-v1-270m`
|
| 501 |
+
- `reranking_hybrid`: RRF candidate lists built from `bm25` and `harrier_oss_v1_270m`
|
| 502 |
|
| 503 |
Each config has the same Nano split names.
|
| 504 |
|
| 505 |
+
## Candidate Construction
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 506 |
|
| 507 |
+
- `bm25`: local BM25 top-500 with automatic language-aware tokenization. The resolved tokenizer is shown in the Candidate Quality table, for example `wordseg@ja`.
|
| 508 |
+
- `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.
|
| 509 |
+
- `reranking_hybrid`: RRF over `bm25` and `harrier_oss_v1_270m` using `rrf_k=100`, keeping the RRF top-100.
|
| 510 |
|
| 511 |
+
Safeguard means rank 101 is appended only when RRF top-100 contains no qrels-positive document.
|
| 512 |
|
| 513 |
+
## Split Statistics
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 514 |
|
| 515 |
+
Length statistics are character counts computed with `len(str(text))`.
|
| 516 |
+
|
| 517 |
+
| Nano split | Queries | Corpus | Qrels | Query chars avg | Query chars p50 | Query chars p75 | Doc chars avg | Doc chars p50 | Doc chars p75 |
|
| 518 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 519 |
+
| NanoArguAna | 50 | 3635 | 50 | 619.4 | 604.0 | 768.2 | 519.6 | 464.0 | 659.5 |
|
| 520 |
+
| NanoClimateFEVER | 50 | 3408 | 148 | 66.0 | 64.5 | 82.8 | 779.7 | 704.0 | 1005.0 |
|
| 521 |
+
| NanoDBPedia | 50 | 6045 | 1158 | 16.8 | 15.5 | 21.8 | 187.6 | 198.0 | 244.0 |
|
| 522 |
+
| NanoFEVER | 50 | 4996 | 57 | 26.4 | 25.0 | 29.0 | 648.1 | 551.5 | 870.0 |
|
| 523 |
+
| NanoFiQA2018 | 50 | 4598 | 123 | 29.6 | 29.5 | 36.8 | 490.3 | 361.0 | 622.8 |
|
| 524 |
+
| NanoHotpotQA | 50 | 5090 | 100 | 49.5 | 46.0 | 59.8 | 197.1 | 170.0 | 269.0 |
|
| 525 |
+
| NanoMSMARCO | 50 | 5043 | 50 | 19.1 | 17.0 | 23.8 | 169.2 | 152.0 | 202.5 |
|
| 526 |
+
| NanoNFCorpus | 50 | 2953 | 1651 | 10.8 | 10.0 | 14.8 | 752.7 | 758.0 | 895.0 |
|
| 527 |
+
| NanoNQ | 50 | 5035 | 57 | 29.3 | 25.0 | 31.8 | 274.2 | 231.0 | 394.5 |
|
| 528 |
+
| NanoQuoraRetrieval | 50 | 5046 | 70 | 28.7 | 28.0 | 32.0 | 32.8 | 28.0 | 37.0 |
|
| 529 |
+
| NanoSCIDOCS | 50 | 2210 | 244 | 32.1 | 30.0 | 39.0 | 452.8 | 444.0 | 609.8 |
|
| 530 |
+
| NanoSciFact | 50 | 2919 | 56 | 46.3 | 42.0 | 59.2 | 723.6 | 679.0 | 869.0 |
|
| 531 |
+
| NanoTouche2020 | 49 | 5745 | 932 | 21.7 | 20.0 | 26.0 | 1032.8 | 543.0 | 1629.0 |
|
| 532 |
+
|
| 533 |
+
## Candidate Quality
|
| 534 |
+
|
| 535 |
+
`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`.
|
| 536 |
+
|
| 537 |
+
Dense means `microsoft/harrier-oss-v1-270m` with the `web_search_query` prompt and cosine similarity.
|
| 538 |
+
|
| 539 |
+
| 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 |
|
| 540 |
+
|---|---|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 541 |
+
| Mean | - | 44.80 | 49.88 | 50.23 | 74.94 | 78.51 | 81.26 | - | 31 |
|
| 542 |
+
| NanoArguAna | wordseg@ko | 36.61 | 40.82 | 42.17 | 90.00 | 94.00 | 96.00 | 100-101 | 2 |
|
| 543 |
+
| NanoClimateFEVER | wordseg@ko | 24.57 | 30.03 | 29.83 | 63.87 | 68.30 | 66.10 | 100-101 | 3 |
|
| 544 |
+
| NanoDBPedia | wordseg@ko | 53.22 | 59.28 | 57.87 | 72.53 | 76.53 | 79.55 | 100 | 0 |
|
| 545 |
+
| NanoFEVER | wordseg@ko | 57.23 | 73.35 | 70.01 | 92.00 | 98.33 | 99.00 | 100 | 0 |
|
| 546 |
+
| NanoFiQA2018 | wordseg@ko | 34.15 | 37.13 | 42.91 | 60.57 | 74.03 | 73.29 | 100-101 | 7 |
|
| 547 |
+
| NanoHotpotQA | wordseg@ko | 59.66 | 62.69 | 63.16 | 87.00 | 84.00 | 93.00 | 100-101 | 2 |
|
| 548 |
+
| NanoMSMARCO | wordseg@ko | 33.20 | 41.64 | 43.71 | 88.00 | 96.00 | 96.00 | 100-101 | 2 |
|
| 549 |
+
| NanoNFCorpus | wordseg@ko | 24.66 | 23.32 | 24.40 | 17.26 | 20.15 | 22.32 | 100-101 | 9 |
|
| 550 |
+
| NanoNQ | wordseg@ko | 43.01 | 58.05 | 50.33 | 78.00 | 93.00 | 99.00 | 100 | 0 |
|
| 551 |
+
| NanoQuoraRetrieval | wordseg@ko | 70.62 | 81.33 | 76.32 | 97.33 | 96.00 | 100.00 | 100 | 0 |
|
| 552 |
+
| NanoSCIDOCS | wordseg@ko | 26.73 | 33.10 | 33.80 | 60.93 | 64.17 | 64.27 | 100-101 | 1 |
|
| 553 |
+
| NanoSciFact | wordseg@ko | 68.35 | 62.07 | 68.38 | 92.00 | 84.00 | 90.00 | 100-101 | 5 |
|
| 554 |
+
| NanoTouche2020 | wordseg@ko | 50.33 | 45.64 | 50.13 | 74.71 | 72.08 | 77.89 | 100 | 0 |
|
| 555 |
+
|
| 556 |
+
## Hybrid Safeguard Summary
|
| 557 |
+
|
| 558 |
+
- Safeguard positives: 31
|
| 559 |
+
- Rows limited by corpus size: 0
|
| 560 |
+
- Metadata file: `reranking_hybrid_metadata.json`
|
| 561 |
|
| 562 |
+
## Source Links
|
| 563 |
|
| 564 |
+
- Final dataset: [hakari-bench/NanoBEIR-ko](https://huggingface.co/datasets/hakari-bench/NanoBEIR-ko)
|
| 565 |
|
| 566 |
## License
|
| 567 |
|