NanoKnow: How to Know What Your Language Model Knows
Paper
• 2602.20122 • Published
• 2
text stringlengths 0 276 |
|---|
# SUPPORTED QRELS for NQ evaluation set on FineWeb |
# Generated: 2026-02-07T04:19:25.772966 |
# Model: Qwen/Qwen3-8B |
# Top-K: 100 |
# Total questions: 3610 |
# Questions with verified: 2391 |
# Total verified docs: 56857 |
# |
# Format: qid, question, official_answer, doc_id, answer_offset |
#==================================================================== |
0, when was the last time anyone was on the moon, 14 December 1972 UTC, shard_01177_50695, 6955 |
0, when was the last time anyone was on the moon, 14 December 1972 UTC, shard_00737_263, 1248 |
1, who wrote he ain't heavy he's my brother lyrics, Bobby Scott, shard_00004_22705, 12929 |
1, who wrote he ain't heavy he's my brother lyrics, Bobby Scott, shard_00989_29238, 13314 |
3, when did the eagles win last super bowl, 2017, shard_00170_8222, 2997 |
3, when did the eagles win last super bowl, 2017, shard_00497_49144, 25593 |
3, when did the eagles win last super bowl, 2017, shard_01249_35074, 26787 |
3, when did the eagles win last super bowl, 2017, shard_00026_21028, 20895 |
5, when did the isle of wight become an island, During the last Ice Age, shard_00176_25104, 1700 |
5, when did the isle of wight become an island, During the last Ice Age, shard_01637_38072, 16913 |
7, who was the ruler of england in 1616, James I, shard_00506_7329, 2706 |
7, who was the ruler of england in 1616, James I, shard_01706_43762, 1966 |
7, who was the ruler of england in 1616, James I, shard_01239_52923, 2143 |
7, who was the ruler of england in 1616, James I, shard_01251_38758, 1574 |
7, who was the ruler of england in 1616, James I, shard_01172_38194, 17598 |
7, who was the ruler of england in 1616, James I, shard_01285_17492, 17598 |
7, who was the ruler of england in 1616, James I, shard_01811_39501, 17598 |
7, who was the ruler of england in 1616, James I, shard_00942_32787, 181 |
7, who was the ruler of england in 1616, James I, shard_01378_10947, 181 |
7, who was the ruler of england in 1616, James I, shard_01696_7900, 181 |
7, who was the ruler of england in 1616, James I, shard_00519_17188, 707 |
7, who was the ruler of england in 1616, James I, shard_01265_20979, 53 |
7, who was the ruler of england in 1616, James I, shard_00981_33438, 1251 |
7, who was the ruler of england in 1616, James I, shard_01145_17577, 567 |
7, who was the ruler of england in 1616, James I, shard_00960_41834, 1422 |
7, who was the ruler of england in 1616, James I, shard_00750_13421, 3398 |
7, who was the ruler of england in 1616, James I, shard_00543_9035, 3953 |
7, who was the ruler of england in 1616, James I, shard_00784_21418, 3953 |
7, who was the ruler of england in 1616, James I, shard_00113_1773, 2356 |
7, who was the ruler of england in 1616, James I, shard_00191_35410, 2372 |
7, who was the ruler of england in 1616, James I, shard_01085_4603, 2372 |
7, who was the ruler of england in 1616, James I, shard_00470_8736, 854 |
7, who was the ruler of england in 1616, James I, shard_00708_31441, 854 |
7, who was the ruler of england in 1616, James I, shard_00256_9719, 4302 |
7, who was the ruler of england in 1616, James I, shard_00735_35472, 4302 |
7, who was the ruler of england in 1616, James I, shard_00270_35324, 810 |
7, who was the ruler of england in 1616, James I, shard_00973_1345, 929 |
7, who was the ruler of england in 1616, James I, shard_00204_3405, 9480 |
7, who was the ruler of england in 1616, James I, shard_00687_5477, 5490 |
7, who was the ruler of england in 1616, James I, shard_00832_36784, 2071 |
7, who was the ruler of england in 1616, James I, shard_00894_52173, 2071 |
7, who was the ruler of england in 1616, James I, shard_00026_50579, 302 |
7, who was the ruler of england in 1616, James I, shard_00814_44167, 469 |
7, who was the ruler of england in 1616, James I, shard_00548_43332, 5182 |
10, which state is located in the centre of india, Chhattisgarh, shard_01040_17942, 4328 |
10, which state is located in the centre of india, Chhattisgarh, shard_00062_48499, 6086 |
10, which state is located in the centre of india, Chhattisgarh, shard_00186_46073, 6086 |
10, which state is located in the centre of india, Chhattisgarh, shard_00724_14205, 6086 |
10, which state is located in the centre of india, Chhattisgarh, shard_01732_34597, 6086 |
10, which state is located in the centre of india, Chhattisgarh, shard_01048_5820, 5586 |
10, which state is located in the centre of india, Chhattisgarh, shard_00245_35970, 2578 |
10, which state is located in the centre of india, Chhattisgarh, shard_01715_46636, 1851 |
10, which state is located in the centre of india, Chhattisgarh, shard_01248_42142, 5074 |
14, who does the voice of nala in the lion king, Niketa Calame, shard_00086_10683, 8211 |
14, who does the voice of nala in the lion king, Niketa Calame, shard_01520_10032, 8211 |
16, what is the oath that new citizens take, United States Oath of Allegiance, shard_01763_32571, 8398 |
16, what is the oath that new citizens take, United States Oath of Allegiance, shard_00402_21976, 3679 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00209_21201, 2075 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00920_30540, 3294 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00370_19664, 3294 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00926_18117, 1993 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00726_48885, 17608 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00908_30884, 17608 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01639_28775, 20253 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00834_40188, 0 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01705_32342, 0 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00099_19960, 19740 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01086_29074, 19741 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00129_2403, 66 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00729_30330, 13 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01426_25410, 21 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01797_39531, 21 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00622_321, 1913 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01325_10675, 10628 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01810_42239, 10628 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01122_25755, 2243 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01200_39945, 412 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00819_35092, 256 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01151_3987, 3688 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00223_34841, 3686 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00963_17811, 3686 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00034_46109, 3687 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01547_17000, 3021 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00417_9771, 2109 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00339_36403, 26312 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00794_43334, 830 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01043_46531, 2044 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_01027_37088, 17331 |
17, who is under the mask of darth vader, Anakin Skywalker, shard_00785_8856, 18962 |
Pre-built relevance judgments (qrels) that partition SQuAD and Natural Questions (NQ) into supported and unsupported splits based on whether the answer appears in the nanochat pre-training corpus (karpathy/fineweb-edu-100b-shuffle).
These qrels are part of the NanoKnow project: github.com/castorini/NanoKnow
| Dataset | Total Questions | Supported | Unsupported |
|---|---|---|---|
| SQuAD | 10,570 | 7,560 (72%) | 3,010 (28%) |
| NQ-Open | 3,610 | 2,391 (66%) | 1,219 (34%) |
| File | Description | Format |
|---|---|---|
qrels/squad_supported.txt |
SQuAD supported questions (7,560 questions, 145,918 verified docs) | qid, question, answer, doc_id, answer_offset |
qrels/squad_unsupported.txt |
SQuAD unsupported questions (3,010 questions) | qid, question, answer |
qrels/nq_supported.txt |
NQ supported questions (2,391 questions, 56,857 verified docs) | qid, question, answer, doc_id, answer_offset |
qrels/nq_unsupported.txt |
NQ unsupported questions (1,219 questions) | qid, question, answer |
Supported qrels map each question to one or more pre-training documents that contain a verified answer:
qid, question, official_answer, doc_id, answer_offset
doc_id: Document identifier in the format shard_XXXXX_YYYYY (shard number and row offset within the FineWeb-Edu parquet files).answer_offset: Character offset of the answer string within the document.Unsupported qrels list questions whose answers were not found in the corpus:
qid, question, official_answer
The qrels were generated using a three-stage pipeline:
huggingface-cli download LingweiGu/NanoKnow_Benchmark --repo-type dataset --local-dir ./nanoknow-benchmark
import csv
def load_supported_qrels(filepath):
qrels = []
with open(filepath) as f:
for line in f:
if line.startswith("#") or not line.strip():
continue
parts = [p.strip() for p in line.split(",")]
qrels.append({
"qid": int(parts[0]),
"question": parts[1],
"answer": parts[2],
"doc_id": parts[3],
"answer_offset": int(parts[4]),
})
return qrels
squad_supported = load_supported_qrels("nanoknow-benchmark/qrels/squad_supported.txt")
print(f"Loaded {len(squad_supported)} supported entries")
@article{gu2026nanoknow,
title={NanoKnow: How to Know What Your Language Model Knows},
author={Gu, Lingwei and Jedidi, Nour and Lin, Jimmy},
journal={arXiv preprint arXiv:2602.20122},
year={2026}
}
Apache 2.0