Dataset Viewer
Auto-converted to Parquet Duplicate
example_idx
int32
0
1.32k
is_correct
bool
2 classes
gold_answer
stringlengths
48
1.07k
rollout_idx
int32
0
39
sentence_idx
int32
0
10
sentence_text
stringlengths
11
1.14k
sentence_embedding
listlengths
384
384
cos_sim_to_full_nla
float32
0.01
1
critic_cos_sim
float32
-0.21
0.94
critic_mse
float32
0.12
2.41
contains_gold_answer
bool
2 classes
contains_pred_answer
bool
2 classes
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
0
0
Structured math problem format with labeled steps ("Solution:"), indicating a completed puzzle answer format showing a numerical result.
[ -0.06634766608476639, 0.13898155093193054, -0.02216428704559803, -0.04879904165863991, -0.05813707783818245, 0.03170020505785942, -0.050499580800533295, 0.05517119541764259, -0.09797607362270355, -0.0005635906709358096, -0.03174130991101265, -0.04488365352153778, -0.0037249044980853796, 0....
0.712667
0.579269
0.841463
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
0
1
The phrase "The final answer is: [2, 4, 6]" mirrors the answer block header "Answer box: #####" and the closing statement "The sum is 15," strongly implying the final answer box completion with "15".
[ -0.010540288873016834, 0.1162492111325264, 0.038373373448848724, 0.010420799255371094, 0.012911980040371418, 0.03638949245214462, 0.018354956060647964, 0.016414673998951912, 0.040530283004045486, -0.01839570328593254, -0.07684638351202011, -0.04714398831129074, -0.08809730410575867, -0.043...
0.83241
0.696328
0.607345
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
0
2
Final token "####" is mid-answer-box notation ("####"), directly following "Solution: ####", completing the final answer block; immediately expects "15" or "8" or "9" to close the box, likely "15" to confirm the numeric result of the geometric sequence puzzle.
[ -0.04756809398531914, 0.06490156054496765, 0.047357942909002304, -0.025749994441866875, -0.01299204956740141, -0.01176459714770317, 0.014462084509432316, 0.05302777513861656, 0.0526910163462162, 0.014837631024420261, -0.007804784458130598, -0.021901674568653107, -0.048823341727256775, 0.00...
0.848211
0.701222
0.597556
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
1
0
Structured math problem format with numbered steps and symbols, indicating a final answer box or solution result shown in a formatted box ("The answer is").
[ -0.002415996277704835, 0.12605831027030945, -0.0187520831823349, -0.00048044335562735796, -0.06203209608793259, 0.045058105140924454, -0.06467927247285843, 0.06371884793043137, -0.022573629394173622, 0.012551024556159973, -0.056856416165828705, -0.021266784518957138, 0.000139917348860763, ...
0.730334
0.610185
0.779631
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
1
1
The phrase "The answer to the sum puzzle is: 9, 6, 8" mirrors the closing summary, signaling the final answer block completes with "15" or "The final answer block." Final token "####" is a formatting delimiter ("####") closing the answer box label, directly following "####", strongly expecting "15" or "9" as the numer...
[ -0.043451521545648575, 0.08109749853610992, 0.044719234108924866, 0.008490394800901413, -0.007786292117089033, 0.05162099376320839, 0.024121573194861412, 0.058369606733322144, 0.05547288805246353, -0.019520731642842293, -0.06080762296915054, -0.031561002135276794, -0.08912131935358047, -0....
0.926657
0.766189
0.467624
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
2
0
Structured math problem format with numbered steps and solution format, showing a product puzzle with variables "125" and "45" yielding a result.
[ -0.0484129898250103, 0.11507150530815125, 0.01163790374994278, -0.1460743099451065, -0.10039475560188293, 0.037582557648420334, -0.01596943475306034, 0.049486804753541946, -0.11627817898988724, -0.008424948900938034, 0.016445191577076912, -0.02416813001036644, 0.05630941689014435, 0.047556...
0.771574
0.515977
0.968048
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
2
1
The phrase "The answer box states the final answer is:" mirrors the closing notation "Solution box: ####" and "Answer: 9," strongly implying the final box closing value or answer.
[ 0.0034534463193267584, 0.05206526443362236, 0.028842154890298843, 0.042491938918828964, 0.017644785344600677, 0.04810066893696785, 0.03206394985318184, 0.02513694390654564, 0.05750194564461708, -0.002625895431265235, -0.027649324387311935, -0.002063135616481304, -0.0616241917014122, -0.044...
0.741234
0.576439
0.847124
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
2
2
Final token "####" closes the repeated answer notation ("####"), part of the concluding summary statement structure "Answer: 9" — immediately expects "9" or "12" to complete the box answer, likely followed by "12" or "9" confirming the final computed value result.
[ 0.003126623574644327, 0.08783688396215439, 0.07395244389772415, 0.027388958260416985, 0.013729122467339039, 0.052625156939029694, 0.02553694136440754, 0.10130341351032257, 0.08660989254713058, 0.029015807434916496, 0.007955440320074558, -0.028277944773435593, -0.04336746782064438, -0.00540...
0.780437
0.722365
0.555272
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
3
0
Structured math problem format with numbered steps and labeled sections, showing a result from a puzzle/solving context with "The answer is".
[ -0.05007904767990112, 0.13190613687038422, -0.011830080300569534, -0.031824927777051926, -0.03961101919412613, 0.06351697444915771, -0.021300451830029488, 0.053720325231552124, -0.08468583971261978, 0.0063333758153021336, -0.04478032514452934, -0.055558159947395325, 0.029323335736989975, 0...
0.700148
0.535288
0.929425
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
3
1
The phrase "The final answer box: 6,5 and 7" mirrors the closing format "Final answer: ###", strongly implying the final boxed answer completes the solution, confirming the numeric answer value.
[ 0.00885959342122078, 0.05316213145852089, 0.028027556836605072, 0.02214539609849453, 0.03506581112742424, 0.057393450289964676, -0.005183177534490824, 0.005613716784864664, 0.048656899482011795, 0.030555523931980133, -0.06963495910167694, 0.039050616323947906, -0.08098658174276352, -0.0231...
0.839655
0.625383
0.749234
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
3
2
Final token "####" is mid-answer construction ("####"), directly following "Solution: ####", completing the box notation pattern from the answer section, strongly expecting "8" or "15" or "4" — the integer value of the final box, closing the entire summary statement about the constructed figure.
[ 0.015556461177766323, 0.12373471260070801, 0.08904237300157547, 0.010938702151179314, 0.041886985301971436, 0.01938687451183796, 0.028502823784947395, 0.07225493341684341, 0.06646614521741867, 0.03941362351179123, -0.03842761367559433, -0.034211453050374985, -0.01893911324441433, 0.0198326...
0.863328
0.698671
0.602658
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
4
0
Structured math problem format with numbered steps and formatting indicating a puzzle solution, showing a product value and final answer format.
[ -0.049040112644433975, 0.11725861579179764, -0.011751698330044746, -0.0839867889881134, -0.08841666579246521, 0.06261575222015381, -0.031618017703294754, 0.08147958666086197, -0.07114367187023163, -0.007669117301702499, -0.043467648327350616, -0.031309809535741806, 0.01943441852927208, 0.0...
0.693959
0.522352
0.955297
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
4
1
The phrase "The answer to the equation is: 12, 18, 24" mirrors the concluding box notation pattern ("Final answer box"), signaling the final answer block with a numeric result follows the same template.
[ -0.02035609446465969, 0.12728002667427063, 0.012565741315484047, 0.009960741735994816, -0.021714629605412483, 0.08035765588283539, -0.059607744216918945, 0.046089861541986465, 0.052762631326913834, 0.0011368945706635714, 0.012624690309166908, 0.031476978212594986, -0.06162697449326515, -0....
0.790889
0.57692
0.84616
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
4
2
Final token "####" is the closing box notation ("####"), part of the "Final answer: ####" statement, directly requiring the numeric answer value "27" or "1" to close the box, completing the final answer summary sentence about the constructed figure's total value.
[ 0.02023543044924736, 0.06544419378042221, 0.045070793479681015, 0.023746298626065254, 0.023013921454548836, 0.024941224604845047, 0.05340021103620529, 0.07697272300720215, 0.0906626358628273, 0.04330059513449669, -0.021261127665638924, -0.010819985531270504, -0.014404458925127983, -0.02221...
0.813976
0.738856
0.52229
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
5
0
Structured math problem format with numbered steps and answer format, showing a puzzle solution involving a sequence and geometric shape.
[ -0.09030042588710785, 0.12550105154514313, -0.014161055907607079, -0.07363898307085037, -0.11166917532682419, 0.037355922162532806, -0.04421520605683327, 0.046530887484550476, -0.04833875223994255, -0.0015364090213552117, -0.06894967705011368, -0.0374765545129776, -0.008863519877195358, 0....
0.617539
0.441348
1.117305
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
5
1
The phrase "The final answer is: \_\_\_\_\_\_\_\_" mirrors the concluding box notation pattern ("Final answer: 15"), strongly implying the answer box is now showing the final numeric solution value "9," completing the answer section.
[ -0.007000755053013563, 0.10736311227083206, 0.05548851564526558, -0.007515757344663143, 0.01388423889875412, 0.048897407948970795, 0.02550027333199978, 0.060030922293663025, 0.019199145957827568, 0.0013967746635898948, 0.0055378577671945095, -0.034752070903778076, -0.043250229209661484, 0....
0.808285
0.510311
0.97938
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
5
2
Final token "####" is a repeated formatting delimiter ("####"), part of the concluding summary answer block ("Final answer: ####"), immediately expecting "9" or "15" or "9" to close the final answer, likely followed by "9" or "15" to conclude the box notation.
[ -0.017991239205002785, 0.06873305886983871, 0.0927412360906601, 0.005747724324464798, 0.048829324543476105, 0.02379443496465683, 0.03050140291452408, 0.08469794690608978, 0.09631717205047607, -0.005192718468606472, -0.004019171930849552, 0.0040018875151872635, -0.04158884659409523, -0.0277...
0.811575
0.653602
0.692797
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
6
0
Structured math problem format with numbered steps and labeled section ("A solution is given"), presenting a numbered answer problem about a geometric shape's sum.
[ -0.06424419581890106, 0.11317258328199387, -0.0031518556643277407, -0.015415103174746037, -0.053132206201553345, 0.04567485302686691, 0.011693787761032581, 0.04906943440437317, -0.06195468455553055, 0.008448808453977108, -0.05729326605796814, -0.06670068204402924, 0.022101406008005142, 0.0...
0.713967
0.491063
1.017875
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
6
1
The phrase "The final answer is: 48" closes with "The box answer is ####" and the pattern "Final result: ####" strongly implies a closing box or final answer format, completing the answer.
[ 0.013949034735560417, 0.10088460892438889, 0.028621971607208252, 0.03879024460911751, -0.005569898523390293, 0.05450668931007385, 0.031563833355903625, 0.025459127500653267, 0.019856836646795273, 0.040589313954114914, -0.015439117327332497, 0.01222141832113266, -0.04289786517620087, -0.026...
0.767677
0.584885
0.830231
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
6
2
Final token "####" is mid-answer in the closing box notation ("####"), directly following the explicit answer statement "Answer: 12 + 4 + 4 = ####", strongly expecting "12" or "9" or "9" to close the box, completing the final solution confirmation.
[ 0.035766955465078354, 0.10354803502559662, 0.064363032579422, 0.004548200406134129, 0.007222883403301239, 0.005789490882307291, 0.05606554076075554, 0.06421362608671188, 0.03975105658173561, 0.034889236092567444, -0.0076901656575500965, 0.016407916322350502, -0.03894687816500664, -0.032933...
0.83352
0.702245
0.595512
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
7
0
Structured math problem format with numbered steps and a box answer format ("The answer to the puzzle is:") signals completion of the solution output.
[ -0.035827815532684326, 0.10121563822031021, -0.015598682686686516, -0.0190365519374609, -0.06240876764059067, 0.06381989270448685, -0.05366554856300354, -0.007626603823155165, -0.04844444617629051, 0.01170271448791027, -0.06246919184923172, -0.0034795685205608606, -0.007873781956732273, 0....
0.769744
0.581184
0.837632
false
false
1
true
It takes 2/2=<<2/2=1>>1 bolt of white fiber So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric #### 3
7
1
The phrase "The final result is: 6,8,9" mirrors the answer block format, completing the final boxed answer pattern, strongly implying the closing token "####" mirrors the previous symbol or a numeric result.
[ -0.034132570028305054, 0.07543107867240906, 0.045143403112888336, 0.009776752442121506, 0.005287866573780775, 0.07713978737592697, -0.005122662056237459, 0.07605649530887604, 0.07320716977119446, -0.008210476487874985, -0.021700378507375717, 0.05355733633041382, -0.03820113465189934, -0.06...
0.861669
0.585648
0.828704
false
false
End of preview. Expand in Data Studio

nla-thought-anchors-hash-rollouts

Sentence-level NLA rollout dataset — activations extracted at the #### token.

For each of 1319 GSM8K test examples, 40 NLA descriptions were sampled from kitft/nla-qwen2.5-7b-L20-av (temperature=0.7) using the layer-20 residual stream activation at the #### token. Each description was split into sentences and scored with kitft/nla-qwen2.5-7b-L20-ar.

See Realmbird/nla-thought-anchors-answer-rollouts for the answer-token variant.

Stats

Examples 1319
Rollouts per example 40
Total sentence rows 175,240
Mean sentences per rollout ~3.3

Schema

Column Type Description
example_idx int32 Index in GSM8K test split
is_correct bool Whether model answer matched gold
gold_answer string Ground-truth answer
rollout_idx int32 0–39
sentence_idx int32 Sentence position within this rollout
sentence_text string The sentence text
sentence_embedding list<float32> len=384 all-MiniLM-L6-v2 embedding
cos_sim_to_full_nla float32 Cos-sim of sentence to its own rollout's full description
critic_cos_sim float32 NLA critic reconstruction cos-sim vs original activation
critic_mse float32 NLA critic reconstruction MSE vs original activation
contains_gold_answer bool Sentence contains the gold answer number
contains_pred_answer bool Sentence contains the predicted answer number

Key findings

Reconstruction quality by correctness:

Group Mean critic cos-sim
Correct examples 0.604
Incorrect examples 0.416

Thought anchor analysis — sentences stable across all 40 rollouts (high cos-sim to cross-rollout centroid) reconstruct significantly better:

Correct Incorrect
Peripheral (Q1 anchor score) 0.503 0.366
Anchor (Q4 anchor score) 0.661 0.673

Anchor sentences from incorrect examples (0.673) reconstruct better than peripheral sentences from correct ones (0.503) — stable recurring content carries the activation signal regardless of correctness.

Computing anchor scores

Anchor score is not stored — compute post-hoc from sentence_embedding:

from datasets import load_dataset
import numpy as np
from sklearn.metrics.pairwise import cosine_similarity
import pandas as pd

df = load_dataset("Realmbird/nla-thought-anchors-hash-rollouts", split="train").to_pandas()
embs = np.stack(df["sentence_embedding"].values)

anchor_scores = np.zeros(len(df))
for ex_idx, group in df.groupby("example_idx"):
    idx = group.index
    centroid = embs[idx].mean(axis=0)
    centroid /= np.linalg.norm(centroid) + 1e-12
    anchor_scores[idx] = cosine_similarity(embs[idx], centroid.reshape(1,-1)).flatten()

df["anchor_score"] = anchor_scores

Related

  • Answer-token variant: Realmbird/nla-thought-anchors-answer-rollouts
  • Step 1 activations: Realmbird/nla-thought-anchors-hash
  • Step 2 NLA descriptions: Realmbird/nla-thought-anchors-hash-step2
  • NLA actor: kitft/nla-qwen2.5-7b-L20-av
  • NLA critic: kitft/nla-qwen2.5-7b-L20-ar
Downloads last month
40

Collection including Realmbird/nla-thought-anchors-hash-rollouts