Dataset Viewer
Auto-converted to Parquet Duplicate
input
stringlengths
9
522
output
stringlengths
27
34
doc_idx
int64
0
110k
gt_rqid
stringclasses
0 values
query: when is the last episode of season 8 of the walking dead
<r0_38> <r1_12> <r2_110> <r3_0>
0
null
query: in greek mythology who was the goddess of spring growth
<r0_30> <r1_30> <r2_251> <r3_0>
1
null
query: benefits of colonial life for single celled organisms
<r0_251> <r1_211> <r2_150> <r3_0>
2
null
query: how many season of the man in the high castle
<r0_98> <r1_129> <r2_8> <r3_0>
3
null
query: who was the first ministry head of state in nigeria
<r0_191> <r1_250> <r2_8> <r3_0>
4
null
query: how many nominations does game of thrones have
<r0_32> <r1_169> <r2_8> <r3_0>
5
null
query: what is the name of the most important jewish text
<r0_77> <r1_3> <r2_208> <r3_0>
6
null
query: until we meet again filipino soap episode 10
<r0_123> <r1_30> <r2_15> <r3_0>
7
null
query: what is the name of spain's most famous soccer team
<r0_201> <r1_5> <r2_197> <r3_0>
8
null
query: when was the first robot used in surgery
<r0_120> <r1_222> <r2_24> <r3_0>
9
null
query: who are the actors in fast and furious
<r0_171> <r1_143> <r2_15> <r3_0>
10
null
query: when does tom paris become a lieutenant again
<r0_255> <r1_233> <r2_65> <r3_0>
11
null
query: who sang the song i'm a nut
<r0_148> <r1_75> <r2_49> <r3_0>
12
null
query: who sings the song i don't care i love it
<r0_134> <r1_128> <r2_23> <r3_0>
13
null
query: what does the key to the city entitle you to
<r0_184> <r1_161> <r2_139> <r3_0>
14
null
query: when did fast and furious 5 come out
<r0_131> <r1_143> <r2_110> <r3_0>
15
null
query: who are uncle owen and aunt beru related to
<r0_137> <r1_209> <r2_251> <r3_0>
16
null
query: when the clear air act was revised in 1990 it gave states
<r0_51> <r1_157> <r2_237> <r3_0>
17
null
query: what is sauce for the goose is sauce for the gander examples
<r0_170> <r1_204> <r2_139> <r3_0>
18
null
query: where is zimbabwe located in the world map
<r0_141> <r1_117> <r2_173> <r3_0>
19
null
query: 100 acres is equal to how many hectares
<r0_101> <r1_70> <r2_252> <r3_0>
20
null
query: who has won a calendar grand slam in tennis
<r0_152> <r1_209> <r2_116> <r3_0>
21
null
query: where was donovan mitchell picked in the draft
<r0_9> <r1_99> <r2_208> <r3_0>
22
null
query: list of food and beverage companies in the philippines
<r0_5> <r1_181> <r2_94> <r3_0>
23
null
query: where does british airways fly to in south america
<r0_161> <r1_51> <r2_19> <r3_0>
24
null
query: what is the enthalpy of formation of cao(s)
<r0_118> <r1_199> <r2_128> <r3_0>
25
null
query: where did the beatles final live performance take place
<r0_97> <r1_173> <r2_139> <r3_0>
26
null
query: who is the president of costa rica 2017
<r0_108> <r1_99> <r2_244> <r3_0>
27
null
query: describe charlemagne in the epic the song of roland
<r0_48> <r1_203> <r2_149> <r3_0>
28
null
query: when did power rangers tv show come out
<r0_82> <r1_191> <r2_116> <r3_0>
29
null
query: inheritance of the a b o blood groups is an example of
<r0_223> <r1_238> <r2_173> <r3_0>
30
null
query: who holds the most women's wimbledon titles
<r0_152> <r1_66> <r2_204> <r3_0>
32
null
query: what does a dualist way of thinking mean
<r0_136> <r1_211> <r2_77> <r3_0>
33
null
query: where does jinx you owe me a coke come from
<r0_22> <r1_169> <r2_169> <r3_0>
34
null
query: do yahoo email addresses end in com or net
<r0_253> <r1_243> <r2_151> <r3_0>
35
null
query: who's making love to your old lady
<r0_134> <r1_24> <r2_71> <r3_0>
36
null
query: athletes who have won dancing with the stars
<r0_110> <r1_110> <r2_39> <r3_0>
37
null
query: equation for the velocity of an object in motion at constant acceleration
<r0_56> <r1_237> <r2_150> <r3_0>
38
null
query: where does the last name hickey come from
<r0_205> <r1_131> <r2_180> <r3_0>
39
null
query: when does maggie come on grey's anatomy
<r0_38> <r1_218> <r2_251> <r3_0>
40
null
query: the rembrandts i'll be there for you album
<r0_231> <r1_96> <r2_49> <r3_0>
41
null
query: where do lie bumps come from on your tongue
<r0_120> <r1_92> <r2_65> <r3_0>
42
null
query: where is the greatest royal rumble taking place
<r0_152> <r1_163> <r2_244> <r3_0>
43
null
query: who sang my name is tallulah in bugsy malone
<r0_130> <r1_38> <r2_149> <r3_0>
44
null
query: a property tax bill is an example of
<r0_37> <r1_3> <r2_197> <r3_0>
45
null
query: when did the volcano erupt in indonesia 2018
<r0_220> <r1_109> <r2_151> <r3_0>
46
null
query: income elasticity of demand for normal good is always
<r0_196> <r1_196> <r2_56> <r3_0>
47
null
query: what is andy's sisters name in toy story
<r0_171> <r1_38> <r2_116> <r3_0>
48
null
query: who sings with shaggy on it wasn me
<r0_240> <r1_72> <r2_201> <r3_0>
49
null
query: when was the cat of nine tails last used
<r0_172> <r1_133> <r2_15> <r3_0>
50
null
query: what is the largest catholic high school in america
<r0_76> <r1_19> <r2_128> <r3_0>
51
null
query: who established the peoples republic of china in 1949
<r0_230> <r1_197> <r2_237> <r3_0>
52
null
query: where do clouds form when there is a cold front
<r0_116> <r1_139> <r2_89> <r3_0>
53
null
query: who sang take that look off your face
<r0_231> <r1_236> <r2_19> <r3_0>
54
null
query: who plays percy in the lost city of z
<r0_189> <r1_19> <r2_19> <r3_0>
55
null
query: where did meredith grey go instead of dc
<r0_123> <r1_178> <r2_65> <r3_0>
56
null
query: is stone cold steve austin in the longest yard
<r0_130> <r1_223> <r2_23> <r3_0>
57
null
query: who plays the first lady on house of cards
<r0_215> <r1_97> <r2_204> <r3_0>
58
null
query: can't take my eyes off you lyrics meaning
<r0_231> <r1_158> <r2_49> <r3_0>
59
null
query: what are the parts of the finger called
<r0_225> <r1_37> <r2_201> <r3_0>
60
null
query: better than i've ever been dj premier remix
<r0_132> <r1_111> <r2_39> <r3_0>
61
null
query: who sang cant take my eyes off of you
<r0_231> <r1_158> <r2_49> <r3_0>
59
null
query: what is the meaning of the word midian
<r0_77> <r1_186> <r2_86> <r3_0>
62
null
query: who invented the use of electricity during the industrial revolution
<r0_91> <r1_207> <r2_237> <r3_0>
63
null
query: who owns st andrews golf course in scotland
<r0_156> <r1_126> <r2_175> <r3_0>
64
null
query: the noble gas in the same period as germanium
<r0_216> <r1_78> <r2_154> <r3_0>
65
null
query: at the center of the storm george tenet
<r0_178> <r1_198> <r2_140> <r3_0>
66
null
query: which city and state hosts the annual college world series
<r0_94> <r1_14> <r2_204> <r3_0>
67
null
query: who played the baby in the blue lagoon
<r0_80> <r1_20> <r2_214> <r3_0>
69
null
query: the period of european history between ancient and modern eras
<r0_166> <r1_85> <r2_197> <r3_0>
70
null
query: when does grey's anatomy season 14 premiere
<r0_38> <r1_178> <r2_86> <r3_0>
71
null
query: the partial pressure of carbon dioxide in arterial blood is approximately
<r0_118> <r1_157> <r2_24> <r3_0>
72
null
query: what kind of music is scott joplin most famous for
<r0_218> <r1_99> <r2_218> <r3_0>
73
null
query: cast of star trek the next generation the perfect mate
<r0_255> <r1_209> <r2_140> <r3_0>
74
null
query: what was uncle jesse's original last name on full house
<r0_38> <r1_231> <r2_35> <r3_0>
75
null
query: map of gulf of mexico and atlantic ocean
<r0_18> <r1_108> <r2_85> <r3_0>
76
null
query: who pays the judgements on the judge mathis show
<r0_159> <r1_75> <r2_86> <r3_0>
77
null
query: who made up the elf on the shelf
<r0_178> <r1_149> <r2_201> <r3_0>
78
null
query: dale carnegie how to win and influence friends pdf
<r0_153> <r1_24> <r2_39> <r3_0>
79
null
query: does an american president have to be born in the united states
<r0_246> <r1_67> <r2_141> <r3_0>
80
null
query: who warned concord that the british were coming
<r0_189> <r1_90> <r2_146> <r3_0>
81
null
query: who lasted the longest on alone season 2
<r0_72> <r1_46> <r2_2> <r3_0>
82
null
query: for an asset to be considered money it must be
<r0_195> <r1_105> <r2_175> <r3_0>
83
null
query: vienna general hospital - medical university campus wien austria
<r0_36> <r1_178> <r2_8> <r3_0>
84
null
query: the boy in robin hood prince of thieves
<r0_180> <r1_75> <r2_8> <r3_0>
85
null
query: which is another name for a client operating system
<r0_113> <r1_37> <r2_23> <r3_0>
86
null
query: where is the us military base in japan
<r0_173> <r1_195> <r2_169> <r3_0>
87
null
query: who determines the size of the supreme court
<r0_194> <r1_229> <r2_146> <r3_0>
88
null
query: who has been the richest person in the world
<r0_166> <r1_214> <r2_49> <r3_0>
91
null
query: when was the last time liverpool won first 5 games
<r0_128> <r1_205> <r2_39> <r3_0>
92
null
query: don henley you'll never make love in this town again
<r0_178> <r1_30> <r2_71> <r3_0>
93
null
query: which of the following can increase the heat island effect in urban areas
<r0_124> <r1_152> <r2_180> <r3_0>
94
null
query: who designed the national coat of arms of south africa
<r0_165> <r1_117> <r2_140> <r3_0>
95
null
query: who was gails most recent husband in coronation street
<r0_3> <r1_89> <r2_251> <r3_0>
96
null
query: when does model code of conduct come into force
<r0_64> <r1_140> <r2_109> <r3_0>
97
null
query: when did the dolan twins post their first youtube video
<r0_185> <r1_49> <r2_129> <r3_0>
98
null
query: what does it mean when u have a lot of saliva
<r0_75> <r1_226> <r2_99> <r3_0>
99
null
query: where does st elmo's fire take place
<r0_130> <r1_28> <r2_99> <r3_0>
100
null
query: who sings the song i ain't got nobody
<r0_240> <r1_128> <r2_2> <r3_0>
101
null
query: what is the chemical formula for sodium bicarbonate
<r0_118> <r1_31> <r2_219> <r3_0>
102
null
End of preview. Expand in Data Studio

NQ320k-semid

Natural Questions generative-retrieval pairs with three semantic RQ tokens and a deterministic fourth token that disambiguates documents sharing the same semantic prefix.

Files and splits

Split Original JSONL file Rows
Train data/train.jsonl 949,645
Validation data/validation.jsonl 15,572
Test data/test.jsonl 7,830

The original JSONL files are uploaded byte-for-byte. The requested name contains NQ320k; training contains 949,645 augmented pairs: 291,801 real-query pairs, 109,650 document-text pairs, and 548,194 pseudo-query pairs. Validation is retained as a separate split for model selection. Testing is held out.

Columns

  • input: original query or document text, including its task prefix.
  • output: four-token document ID, such as <r0_38> <r1_12> <r2_110> <r3_0>.
  • doc_idx: zero-based corpus index.
  • gt_rqid: ground-truth ID in the original validation/test rows, equal to output. This field is absent from the raw training file; the declared shared schema exposes it as null when loading the training split. Use output as the target for every split.

Each of the four namespaces contains 256 tokens. The target stores four RQ tokens without EOS; the training tokenizer appends EOS. Full IDs are unique across 109,650 documents.

Construction and artifacts

The first three tokens reuse levels 0–2 of the existing NQ RQ9 codes. The suffix is assigned deterministically within each exact prefix group. The reference artifact is nq_rq9_prefix3_collision_suffix_dsi_qg_single_route_s42; identifiers come from nq_rq9_prefix3_collision_suffix_s42.

  • artifacts/idx_to_rqid.json: shared corpus-index to document-ID mapping.
  • artifacts/codebooks.npy: semantic codebooks, shape (3, 256, 1024).
  • artifacts/manifest.json: original counts, provenance, and JSONL SHA-256 checksums.

Only the three semantic namespaces use centroid initialization. The fourth namespace is a collision suffix.

Load

from datasets import load_dataset

dataset = load_dataset("Abner0803/NQ320k-semid")
train = dataset["train"]
validation = dataset["validation"]
test = dataset["test"]

To use the original files directly:

from huggingface_hub import hf_hub_download

train_file = hf_hub_download("Abner0803/NQ320k-semid", "data/train.jsonl", repo_type="dataset")
test_file = hf_hub_download("Abner0803/NQ320k-semid", "data/test.jsonl", repo_type="dataset")
Downloads last month
58