Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
15
102
model
stringclasses
26 values
component
stringlengths
23
17.2k
tier
stringclasses
4 values
members
listlengths
2
627
βŒ€
brain_signature
unknown
behavioral_fidelity_score
float64
0.86
1
decompiled_python
stringlengths
515
4.97k
gpt2-small_L4_H11
gpt2-small
blocks.4.attn.hook_z[11]
single
null
{ "top_activating_examples": [ "List: river heart rain dog silver river -> heart", "List: road bird dog blue rock road -> bird", "List: blue woman green girl rain blue -> woman" ], "mean_activation": 0.998, "ablation_impact_drop": 0.156, "attention_pattern_stats": { "prev_token_score": 1, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (gpt2-small L4 H11). Detects: the token immediately before the current position. Routing: at every position it attends almost exclusively to position-1, copying the previous token's identity into the residual ...
gpt2-small_L5_H5
gpt2-small
blocks.5.attn.hook_z[5]
single
null
{ "top_activating_examples": [ "List: river heart rain dog silver river -> heart", "List: tree gold night river house tree -> gold", "List: woman blue silver wind snow woman -> blue" ], "mean_activation": 0.868, "ablation_impact_drop": 0.117, "attention_pattern_stats": { "prev_token_score": 0....
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Induction head (gpt2-small L5 H5). Detects: the current token occurred earlier in the sequence. Routing: prefix matching - it attends to the token that FOLLOWED the earlier occurrence of the current token ([A][B] ... [A] -> atten...
gpt2-small_L6_H9
gpt2-small
blocks.6.attn.hook_z[9]
single
null
{ "top_activating_examples": [ "List: white green gold blue wood white -> green", "List: fire bird book gold black fire -> bird", "List: blue woman green girl rain blue -> woman" ], "mean_activation": 0.852, "ablation_impact_drop": 0.109, "attention_pattern_stats": { "prev_token_score": 0.004,...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Induction head (gpt2-small L6 H9). Detects: the current token occurred earlier in the sequence. Routing: prefix matching - it attends to the token that FOLLOWED the earlier occurrence of the current token ([A][B] ... [A] -> atten...
gpt2-small_L9_H9
gpt2-small
blocks.9.attn.hook_z[9]
single
null
{ "top_activating_examples": [ "When Mark and John went to the store, Mark gave a bottle to -> John", "When Jessica and John went to the store, Jessica gave a bottle to -> John", "When Emily and Peter went to the store, Emily gave a bottle to -> Peter" ], "mean_activation": 0.9380000000000001, "abla...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Name-mover head (gpt2-small L9 H9). Detects: an indirect-object-identification context - two names where one (the subject) is repeated in a giving construction. Routing: at the final position it attends to the name that appears e...
gpt2-small_L10_H0
gpt2-small
blocks.10.attn.hook_z[0]
single
null
{ "top_activating_examples": [ "When Peter and Anna went to the store, Peter gave a bottle to -> Anna", "When Peter and Julia went to the store, Peter gave a bottle to -> Julia", "When James and Sarah went to the store, James gave a bottle to -> Sarah" ], "mean_activation": 0.555, "ablation_impact_d...
0.95
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Name-mover head (gpt2-small L10 H0). Detects: an indirect-object-identification context - two names where one (the subject) is repeated in a giving construction. Routing: at the final position it attends to the name that appears ...
gpt2-small_L4_H11+L6_H9
gpt2-small
blocks.4.attn.hook_z[11] + blocks.6.attn.hook_z[9]
composed
[ "gpt2-small_L4_H11", "gpt2-small_L6_H9" ]
{ "top_activating_examples": [ "List: river heart rain dog silver river -> heart", "List: blue woman green girl rain blue -> woman", "List: fire bird book gold black fire -> bird" ], "mean_activation": 0.852, "ablation_impact_drop": 0.275, "attention_pattern_stats": { "prev_token_score": 0.004...
1
from collections import Counter def circuit_logic_L4_H11(tokens: list[str]) -> dict: """Previous-token head (gpt2-small L4 H11). Detects: the token immediately before the current position. Routing: at every position it attends almost exclusively to position-1, copying the previous token's identity into the re...
gpt2-small_L9_H9+L10_H0
gpt2-small
blocks.9.attn.hook_z[9] + blocks.10.attn.hook_z[0]
composed
[ "gpt2-small_L9_H9", "gpt2-small_L10_H0" ]
{ "top_activating_examples": [ "When Peter and Anna went to the store, Peter gave a bottle to -> Anna", "When Emily and Peter went to the store, Emily gave a bottle to -> Peter", "When James and Sarah went to the store, James gave a bottle to -> Sarah" ], "mean_activation": 0.555, "ablation_impact_d...
0.95
from collections import Counter def circuit_logic_L9_H9(tokens: list[str]) -> dict: """Name-mover head (gpt2-small L9 H9). Detects: an indirect-object-identification context - two names where one (the subject) is repeated in a giving construction. Routing: at the final position it attends to the name that app...
gpt2-medium_L4_H13
gpt2-medium
blocks.4.attn.hook_z[13]
single
null
{ "top_activating_examples": [ "List: dog night woman man fire dog -> night", "List: star wind wood snow red star -> wind", "List: tree hand man stone house tree -> hand" ], "mean_activation": 0.998, "ablation_impact_drop": 0.065, "attention_pattern_stats": { "prev_token_score": 0.998, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (gpt2-medium L4 H13). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. Measur...
pythia-410m_L5_H2
pythia-410m
blocks.5.attn.hook_z[2]
single
null
{ "top_activating_examples": [ "List: fire bird book gold black fire -> bird", "List: wood water cat moon road wood -> water", "List: river heart rain dog silver river -> heart" ], "mean_activation": 0.782, "ablation_impact_drop": 0.761, "attention_pattern_stats": { "prev_token_score": 0.799, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (pythia-410m L5 H2). Detects: the token immediately before the current position. Routing: at every position it attends almost exclusively to position-1, copying the previous token's identity into the resi...
pythia-410m_L7_H1
pythia-410m
blocks.7.attn.hook_z[1]
single
null
{ "top_activating_examples": [ "List: river heart rain dog silver river -> heart", "List: road bird dog blue rock road -> bird", "List: tree gold night river house tree -> gold" ], "mean_activation": 0.664, "ablation_impact_drop": 0.298, "attention_pattern_stats": { "prev_token_score": 0.003, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Induction head (pythia-410m L7 H1). Detects: the current token occurred earlier in the sequence. Routing: prefix matching - it attends to the token that FOLLOWED an earlier occurrence of the current token ([A][B] ... [A] -> ...
pythia-410m_L11_H2
pythia-410m
blocks.11.attn.hook_z[2]
single
null
{ "top_activating_examples": [ "List: wood water cat moon road wood -> water", "List: river heart rain dog silver river -> heart", "List: road bird dog blue rock road -> bird" ], "mean_activation": 0.7030000000000001, "ablation_impact_drop": 0.298, "attention_pattern_stats": { "prev_token_scor...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Induction head (pythia-410m L11 H2). Detects: the current token occurred earlier in the sequence. Routing: prefix matching - it attends to the token that FOLLOWED an earlier occurrence of the current token ([A][B] ... [A] ->...
pythia-410m_L11_H4
pythia-410m
blocks.11.attn.hook_z[4]
single
null
{ "top_activating_examples": [ "The Earth revolves around the Sun, and the Moon revolves around the -> Earth", "The password must contain at least eight characters and one -> number", "The chef seasoned the soup with salt, pepper, and a pinch of -> sugar" ], "mean_activation": 0.753, "ablation_impac...
0.9
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """First-token sink head (pythia-410m L11 H4). Detects: nothing token-specific - it is a no-op / attention sink. Routing: it parks the bulk of its attention on the first token (BOS), letting the head contribute almost nothing w...
pythia-410m_L13_H5
pythia-410m
blocks.13.attn.hook_z[5]
single
null
{ "top_activating_examples": [ "When Emily and Peter went to the store, Emily gave a bottle to -> Peter", "When Mark and John went to the store, Mark gave a bottle to -> John", "When James and Sarah went to the store, James gave a bottle to -> Sarah" ], "mean_activation": 0.378, "ablation_impact_dro...
0.95
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Name-mover head (pythia-410m L13 H5). Detects: an indirect-object-identification context - two names where one (the subject) is repeated in a giving construction. Routing: at the final position it attends to the name that ap...
pythia-410m_L5_H2+L7_H1
pythia-410m
blocks.5.attn.hook_z[2] + blocks.7.attn.hook_z[1]
composed
[ "pythia-410m_L5_H2", "pythia-410m_L7_H1" ]
{ "top_activating_examples": [ "List: white green gold blue wood white -> green", "List: road bird dog blue rock road -> bird", "List: wood water cat moon road wood -> water" ], "mean_activation": 0.664, "ablation_impact_drop": 0.727, "attention_pattern_stats": { "prev_token_score": 0.003, ...
1
from collections import Counter def circuit_logic_L5_H2(tokens: list[str]) -> dict: """Previous-token head (pythia-410m L5 H2). Detects: the token immediately before the current position. Routing: at every position it attends almost exclusively to position-1, copying the previous token's identity into th...
pythia-410m_L5_H2+L11_H2
pythia-410m
blocks.5.attn.hook_z[2] + blocks.11.attn.hook_z[2]
composed
[ "pythia-410m_L5_H2", "pythia-410m_L11_H2" ]
{ "top_activating_examples": [ "List: wood water cat moon road wood -> water", "List: fire bird book gold black fire -> bird", "List: white green gold blue wood white -> green" ], "mean_activation": 0.7030000000000001, "ablation_impact_drop": 0.8220000000000001, "attention_pattern_stats": { "p...
1
from collections import Counter def circuit_logic_L5_H2(tokens: list[str]) -> dict: """Previous-token head (pythia-410m L5 H2). Detects: the token immediately before the current position. Routing: at every position it attends almost exclusively to position-1, copying the previous token's identity into th...
gpt-neo-125m_L0_H8
EleutherAI/gpt-neo-125M
blocks.0.attn.hook_z[8]
single
null
{ "top_activating_examples": [ "List: tree wood silver king rain tree -> wood", "List: star wind wood snow red star -> wind", "Series: red king black door fire red -> king" ], "mean_activation": 0.23800000000000002, "ablation_impact_drop": 1, "attention_pattern_stats": { "prev_token_score":...
0.857
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/gpt-neo-125M L0 H8). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. ...
gpt-neo-125m_L4_H9
EleutherAI/gpt-neo-125M
blocks.4.attn.hook_z[9]
single
null
{ "top_activating_examples": [ "Items: bird rock girl house black bird -> rock", "Sequence: night river water wood green night -> river", "List: tree hand man stone house tree -> hand" ], "mean_activation": 0.967, "ablation_impact_drop": 0.258, "attention_pattern_stats": { "prev_token_score...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/gpt-neo-125M L4 H9). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. ...
gpt-neo-125m_L5_H8
EleutherAI/gpt-neo-125M
blocks.5.attn.hook_z[8]
single
null
{ "top_activating_examples": [ "List: wind road cat girl boy wind -> road", "List: wood boy water tree eye wood -> boy", "List: door sun night boy white door -> sun" ], "mean_activation": 1, "ablation_impact_drop": 0.578, "attention_pattern_stats": { "prev_token_score": 1, "induction_ne...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/gpt-neo-125M L5 H8). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. ...
gpt-neo-125m_L6_H6
EleutherAI/gpt-neo-125M
blocks.6.attn.hook_z[6]
single
null
{ "top_activating_examples": [ "List: door sun night boy white door -> sun", "Sequence: night river water wood green night -> river", "Items: king moon black snow sun king -> moon" ], "mean_activation": 0.6950000000000001, "ablation_impact_drop": 1, "attention_pattern_stats": { "prev_token_...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Induction head (EleutherAI/gpt-neo-125M L6 H6). Detects: the current token occurred earlier in the sequence. Routing: prefix matching - attends to the token that FOLLOWED an earlier occurrence of the current token ([A][B] ... [A...
gpt-neo-125m_family_previous_token_x3
EleutherAI/gpt-neo-125M
blocks.4.attn.hook_z[9] + blocks.5.attn.hook_z[8] + blocks.7.attn.hook_z[1]
family
[ "gpt-neo-125m_L4_H9", "gpt-neo-125m_L5_H8", "gpt-neo-125m_L7_H1" ]
{ "top_activating_examples": [ "List: door sun night boy white door -> sun", "List: wind road cat girl boy wind -> road", "List: wind green fire red man wind -> green" ], "mean_activation": 0.967, "ablation_impact_drop": 0.907, "attention_pattern_stats": { "prev_token_score": 0.823000000000...
0.929
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/gpt-neo-125M L4 HL4H9+L5H8+L7H1). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the resi...
gpt-neo-125m_L0_H8+L6_H6
EleutherAI/gpt-neo-125M
blocks.0.attn.hook_z[8] + blocks.6.attn.hook_z[6]
composed
[ "gpt-neo-125m_L0_H8", "gpt-neo-125m_L6_H6" ]
{ "top_activating_examples": [ "List: star wind wood snow red star -> wind", "List: tree wood silver king rain tree -> wood", "Series: red king black door fire red -> king" ], "mean_activation": 0.6950000000000001, "ablation_impact_drop": 1, "attention_pattern_stats": { "prev_token_score": ...
1
from collections import Counter from collections import Counter def circuit_logic_L0_H8(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/gpt-neo-125M L0 H8). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous tok...
gpt-neo-125m_L4_H9+L6_H6
EleutherAI/gpt-neo-125M
blocks.4.attn.hook_z[9] + blocks.6.attn.hook_z[6]
composed
[ "gpt-neo-125m_L4_H9", "gpt-neo-125m_L6_H6" ]
{ "top_activating_examples": [ "List: door sun night boy white door -> sun", "Sequence: night river water wood green night -> river", "Items: king moon black snow sun king -> moon" ], "mean_activation": 0.6950000000000001, "ablation_impact_drop": 1, "attention_pattern_stats": { "prev_token_...
1
from collections import Counter from collections import Counter def circuit_logic_L4_H9(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/gpt-neo-125M L4 H9). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous tok...
gpt-neo-125m_L5_H8+L6_H6
EleutherAI/gpt-neo-125M
blocks.5.attn.hook_z[8] + blocks.6.attn.hook_z[6]
composed
[ "gpt-neo-125m_L5_H8", "gpt-neo-125m_L6_H6" ]
{ "top_activating_examples": [ "List: door sun night boy white door -> sun", "Sequence: night river water wood green night -> river", "Items: king moon black snow sun king -> moon" ], "mean_activation": 0.6950000000000001, "ablation_impact_drop": 1, "attention_pattern_stats": { "prev_token_...
1
from collections import Counter from collections import Counter def circuit_logic_L5_H8(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/gpt-neo-125M L5 H8). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous tok...
gpt2-medium_L15_H14
gpt2-medium
blocks.15.attn.hook_z[14]
single
null
{ "top_activating_examples": [ "When Mark and Michael went to the park, Mark brought a apple to -> Michael", "When Lisa and Chris went to the beach, Lisa brought a ball to -> Chris", "When Mark and Kevin went to the library, Mark brought a bag to -> Kevin" ], "mean_activation": 0.836, "ablation_i...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Name-mover head (gpt2-medium L15 H14). Detects: an indirect-object-identification context - two names where one (the subject) is repeated in a giving construction. Routing: at the final position it attends to the name that appea...
pythia-160m_L2_H8
EleutherAI/pythia-160m
blocks.2.attn.hook_z[8]
single
null
{ "top_activating_examples": [ "Items: bird rock girl house black bird -> rock", "Sequence: night river water wood green night -> river", "List: fire woman sun water fish fire -> woman" ], "mean_activation": 0.43, "ablation_impact_drop": 0.171, "attention_pattern_stats": { "prev_token_score...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-160m L2 H8). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. ...
pythia-160m_L3_H0
EleutherAI/pythia-160m
blocks.3.attn.hook_z[0]
single
null
{ "top_activating_examples": [ "List: wind green fire red man wind -> green", "Items: hand fire boy eye woman hand -> fire", "List: door sun night boy white door -> sun" ], "mean_activation": 0.628, "ablation_impact_drop": 0.12, "attention_pattern_stats": { "prev_token_score": 0.628, "i...
0.929
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-160m L3 H0). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. ...
pythia-160m_L3_H2
EleutherAI/pythia-160m
blocks.3.attn.hook_z[2]
single
null
{ "top_activating_examples": [ "Items: hand fire boy eye woman hand -> fire", "Words: man woman bird stone water man -> woman", "List: door sun night boy white door -> sun" ], "mean_activation": 0.799, "ablation_impact_drop": 0.76, "attention_pattern_stats": { "prev_token_score": 0.799, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-160m L3 H2). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. ...
pythia-160m_L3_H6
EleutherAI/pythia-160m
blocks.3.attn.hook_z[6]
single
null
{ "top_activating_examples": [ "{ man ( water ) cat -> }", "[ blue { moon } star -> ]", "{ silver ( gold ) tree -> }" ], "mean_activation": 0.6920000000000001, "ablation_impact_drop": 0.578, "attention_pattern_stats": { "prev_token_score": 0.085, "induction_nearest_score": 0.089, "i...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-160m L3 H6). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-160m_L3_H8
EleutherAI/pythia-160m
blocks.3.attn.hook_z[8]
single
null
{ "top_activating_examples": [ "{ silver ( gold ) tree -> }", "{ silver ( fish ) stone -> }", "{ wood [ day ] star -> }" ], "mean_activation": 0.341, "ablation_impact_drop": 0.463, "attention_pattern_stats": { "prev_token_score": 0.085, "induction_nearest_score": 0.115, "induction_f...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-160m L3 H8). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-160m_L4_H1
EleutherAI/pythia-160m
blocks.4.attn.hook_z[1]
single
null
{ "top_activating_examples": [ "( cat [ black ] wood -> )", "[ day { river } heart -> ]", "{ man [ black ] queen -> }" ], "mean_activation": 0.915, "ablation_impact_drop": 0.20600000000000002, "attention_pattern_stats": { "prev_token_score": 0.015, "induction_nearest_score": 0.032, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-160m L4 H1). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-160m_L4_H9
EleutherAI/pythia-160m
blocks.4.attn.hook_z[9]
single
null
{ "top_activating_examples": [ "{ river ( woman ) boy -> }", "{ man ( water ) cat -> }", "{ black ( blue ) day -> }" ], "mean_activation": 0.5660000000000001, "ablation_impact_drop": 0.116, "attention_pattern_stats": { "prev_token_score": 0.08600000000000001, "induction_nearest_score": ...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-160m L4 H9). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-160m_L5_H4
EleutherAI/pythia-160m
blocks.5.attn.hook_z[4]
single
null
{ "top_activating_examples": [ "{ black ( blue ) day -> }", "{ wood [ day ] star -> }", "( snow { hand } door -> )" ], "mean_activation": 0.40800000000000003, "ablation_impact_drop": 0.274, "attention_pattern_stats": { "prev_token_score": 0.024, "induction_nearest_score": 0.074, "in...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-160m L5 H4). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-160m_L5_H5
EleutherAI/pythia-160m
blocks.5.attn.hook_z[5]
single
null
{ "top_activating_examples": [ "( queen { green } wind -> )", "( snow { hand } door -> )", "{ black ( blue ) day -> }" ], "mean_activation": 0.6940000000000001, "ablation_impact_drop": 0.114, "attention_pattern_stats": { "prev_token_score": 0.011, "induction_nearest_score": 0.03, "i...
0.875
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-160m L5 H5). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-160m_L8_H10
EleutherAI/pythia-160m
blocks.8.attn.hook_z[10]
single
null
{ "top_activating_examples": [ "When Lisa and Chris went to the beach, Lisa brought a ball to -> Chris", "When Kevin and Jessica went to the store, Kevin gave a bottle to -> Jessica", "When Chris and Peter went to the beach, Chris offered a bag to -> Peter" ], "mean_activation": 0.929, "ablation_...
0.929
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Name-mover head (EleutherAI/pythia-160m L8 H10). Detects: an indirect-object-identification context - two names where one (the subject) is repeated in a giving construction. Routing: at the final position it attends to the name ...
pythia-160m_L10_H7
EleutherAI/pythia-160m
blocks.10.attn.hook_z[7]
single
null
{ "top_activating_examples": [ "When Mary and Tom went to the library, Mary brought a box to -> Tom", "When Mark and Michael went to the park, Mark brought a apple to -> Michael", "When Mark and Kevin went to the library, Mark brought a bag to -> Kevin" ], "mean_activation": 0.508, "ablation_impa...
0.857
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Name-mover head (EleutherAI/pythia-160m L10 H7). Detects: an indirect-object-identification context - two names where one (the subject) is repeated in a giving construction. Routing: at the final position it attends to the name ...
pythia-160m_L3_H5+H6+H7+H8+H10
EleutherAI/pythia-160m
blocks.3.attn.hook_z[5,6,7,8,10]
group
[ "pythia-160m_L3_H5", "pythia-160m_L3_H6", "pythia-160m_L3_H7", "pythia-160m_L3_H8", "pythia-160m_L3_H10" ]
{ "top_activating_examples": [ "{ black ( blue ) day -> }", "{ silver ( gold ) tree -> }", "{ man ( water ) cat -> }" ], "mean_activation": 0.72, "ablation_impact_drop": 0.48, "attention_pattern_stats": { "prev_token_score": 0.101, "induction_nearest_score": 0.08600000000000001, "in...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-160m L3 H5+6+7+8+10). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying ...
pythia-160m_L3_H0+H2
EleutherAI/pythia-160m
blocks.3.attn.hook_z[0,2]
group
[ "pythia-160m_L3_H0", "pythia-160m_L3_H2" ]
{ "top_activating_examples": [ "Items: hand fire boy eye woman hand -> fire", "List: book fish water fire hand book -> fish", "List: wind road cat girl boy wind -> road" ], "mean_activation": 0.628, "ablation_impact_drop": 0.9390000000000001, "attention_pattern_stats": { "prev_token_score":...
0.929
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-160m L3 H0+2). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream....
pythia-160m_L4_H0+H1+H4+H6+H9+H10
EleutherAI/pythia-160m
blocks.4.attn.hook_z[0,1,4,6,9,10]
group
[ "pythia-160m_L4_H0", "pythia-160m_L4_H1", "pythia-160m_L4_H4", "pythia-160m_L4_H6", "pythia-160m_L4_H9", "pythia-160m_L4_H10" ]
{ "top_activating_examples": [ "{ black ( blue ) day -> }", "{ heart [ boy ] stone -> }", "{ wood [ day ] star -> }" ], "mean_activation": 0.893, "ablation_impact_drop": 0.28, "attention_pattern_stats": { "prev_token_score": 0.027, "induction_nearest_score": 0.069, "induction_first_...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-160m L4 H0+1+4+6+9+10). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifyin...
pythia-160m_L5_H2+H3+H4+H6+H7+H8+H9+H10+H11
EleutherAI/pythia-160m
blocks.5.attn.hook_z[2,3,4,6,7,8,9,10,11]
group
[ "pythia-160m_L5_H2", "pythia-160m_L5_H3", "pythia-160m_L5_H4", "pythia-160m_L5_H6", "pythia-160m_L5_H7", "pythia-160m_L5_H8", "pythia-160m_L5_H9", "pythia-160m_L5_H10", "pythia-160m_L5_H11" ]
{ "top_activating_examples": [ "{ man ( water ) cat -> }", "{ wood [ day ] star -> }", "[ day { river } heart -> ]" ], "mean_activation": 0.839, "ablation_impact_drop": 0.5750000000000001, "attention_pattern_stats": { "prev_token_score": 0.02, "induction_nearest_score": 0.122, "indu...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-160m L5 H2+3+4+6+7+8+9+10+11). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, ide...
pythia-160m_L8_H2+H8+H10+H11
EleutherAI/pythia-160m
blocks.8.attn.hook_z[2,8,10,11]
group
[ "pythia-160m_L8_H2", "pythia-160m_L8_H8", "pythia-160m_L8_H10", "pythia-160m_L8_H11" ]
{ "top_activating_examples": [ "When Lisa and Chris went to the beach, Lisa brought a ball to -> Chris", "When Mark and Kevin went to the library, Mark brought a bag to -> Kevin", "When Jessica and Chris went to the library, Jessica passed a watch to -> Chris" ], "mean_activation": 0.996, "ablati...
0.929
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Name-mover head (EleutherAI/pythia-160m L8 H2+8+10+11). Detects: an indirect-object-identification context - two names where one (the subject) is repeated in a giving construction. Routing: at the final position it attends to th...
pythia-160m_family_bracket_matching_x47
EleutherAI/pythia-160m
blocks.3.attn.hook_z[5] + blocks.3.attn.hook_z[6] + blocks.3.attn.hook_z[7] + blocks.3.attn.hook_z[8] + blocks.3.attn.hook_z[10] + blocks.4.attn.hook_z[0] + blocks.4.attn.hook_z[1] + blocks.4.attn.hook_z[4] + blocks.4.attn.hook_z[6] + blocks.4.attn.hook_z[9] + blocks.4.attn.hook_z[10] + blocks.5.attn.hook_z[2] + blocks...
family
[ "pythia-160m_L3_H5", "pythia-160m_L3_H6", "pythia-160m_L3_H7", "pythia-160m_L3_H8", "pythia-160m_L3_H10", "pythia-160m_L4_H0", "pythia-160m_L4_H1", "pythia-160m_L4_H4", "pythia-160m_L4_H6", "pythia-160m_L4_H9", "pythia-160m_L4_H10", "pythia-160m_L5_H2", "pythia-160m_L5_H3", "pythia-160m_L5...
{ "top_activating_examples": [ "{ man ( water ) cat -> }", "{ wood [ day ] star -> }", "{ black ( blue ) day -> }" ], "mean_activation": 0.72, "ablation_impact_drop": 0.964, "attention_pattern_stats": { "prev_token_score": 0.033, "induction_nearest_score": 0.083, "induction_first_sc...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-160m L3 HL3H5+L3H6+L3H7+L3H8+L3H10+L4H0+L4H1+L4H4+L4H6+L4H9+L4H10+L5H2+L5H3+L5H4+L5H6+L5H7+L5H8+L5H9+L5H10+L5H11+L6H2+L6H3+L6H4+L6H5+L6H6+L6H7+L6H8+L6H9+L6H10+L7H0+L7H1+L7H8+L7H10+L8H6+L8H9+L9...
pythia-160m_family_previous_token_x4
EleutherAI/pythia-160m
blocks.0.attn.hook_z[4] + blocks.2.attn.hook_z[8] + blocks.3.attn.hook_z[0] + blocks.3.attn.hook_z[2]
family
[ "pythia-160m_L0_H4", "pythia-160m_L2_H8", "pythia-160m_L3_H0", "pythia-160m_L3_H2" ]
{ "top_activating_examples": [ "List: wood boy water tree eye wood -> boy", "List: wind road cat girl boy wind -> road", "Items: hand fire boy eye woman hand -> fire" ], "mean_activation": 0.36, "ablation_impact_drop": 0.961, "attention_pattern_stats": { "prev_token_score": 0.554, "indu...
0.929
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-160m L0 HL0H4+L2H8+L3H0+L3H2). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the ...
pythia-160m_L8_H10+L10_H7
EleutherAI/pythia-160m
blocks.8.attn.hook_z[10] + blocks.10.attn.hook_z[7]
composed
[ "pythia-160m_L8_H10", "pythia-160m_L10_H7" ]
{ "top_activating_examples": [ "When Mary and Tom went to the library, Mary brought a box to -> Tom", "When Lisa and Chris went to the beach, Lisa brought a ball to -> Chris", "When Mark and Kevin went to the library, Mark brought a bag to -> Kevin" ], "mean_activation": 0.508, "ablation_impact_d...
0.857
from collections import Counter from collections import Counter def circuit_logic_L8_H10(tokens: list[str]) -> dict: """Name-mover head (EleutherAI/pythia-160m L8 H10). Detects: an indirect-object-identification context - two names where one (the subject) is repeated in a giving construction. Routing: at t...
pythia-1_4b_L1_H11
EleutherAI/pythia-1.4b
blocks.1.attn.hook_z[11]
single
null
{ "top_activating_examples": [ "List: woman night green gold rain woman -> night", "Items: king moon black snow sun king -> moon", "List: star wind wood snow red star -> wind" ], "mean_activation": 0.896, "ablation_impact_drop": 0.592, "attention_pattern_stats": { "prev_token_score": 0.896,...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-1.4b L1 H11). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. ...
pythia-1_4b_L2_H4
EleutherAI/pythia-1.4b
blocks.2.attn.hook_z[4]
single
null
{ "top_activating_examples": [ "{ silver ( gold ) tree -> }", "{ silver ( fish ) stone -> }", "{ black ( blue ) day -> }" ], "mean_activation": 0.254, "ablation_impact_drop": 0.056, "attention_pattern_stats": { "prev_token_score": 0.14100000000000001, "induction_nearest_score": 0.052000...
0.875
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L2 H4). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-1_4b_L2_H7
EleutherAI/pythia-1.4b
blocks.2.attn.hook_z[7]
single
null
{ "top_activating_examples": [ "List: star wind wood snow red star -> wind", "List: queen road cat house wood queen -> road", "Sequence: water cat fish house fire water -> cat" ], "mean_activation": 0.579, "ablation_impact_drop": 0.134, "attention_pattern_stats": { "prev_token_score": 0.14,...
0.964
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Induction head (EleutherAI/pythia-1.4b L2 H7). Detects: the current token occurred earlier in the sequence. Routing: prefix matching - attends to the token that FOLLOWED an earlier occurrence of the current token ([A][B] ... [A]...
pythia-1_4b_L3_H10
EleutherAI/pythia-1.4b
blocks.3.attn.hook_z[10]
single
null
{ "top_activating_examples": [ "[ day { river } heart -> ]", "{ man [ black ] queen -> }", "[ heart { night } moon -> ]" ], "mean_activation": 0.611, "ablation_impact_drop": 0.501, "attention_pattern_stats": { "prev_token_score": 0.058, "induction_nearest_score": 0.07, "induction_fi...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L3 H10). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L3_H13
EleutherAI/pythia-1.4b
blocks.3.attn.hook_z[13]
single
null
{ "top_activating_examples": [ "List: fire woman sun water fish fire -> woman", "List: tree hand man stone house tree -> hand", "Sequence: night river water wood green night -> river" ], "mean_activation": 0.5730000000000001, "ablation_impact_drop": 0.12, "attention_pattern_stats": { "prev_...
0.857
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Induction head (EleutherAI/pythia-1.4b L3 H13). Detects: the current token occurred earlier in the sequence. Routing: prefix matching - attends to the token that FOLLOWED an earlier occurrence of the current token ([A][B] ... [A...
pythia-1_4b_L4_H9
EleutherAI/pythia-1.4b
blocks.4.attn.hook_z[9]
single
null
{ "top_activating_examples": [ "{ silver ( gold ) tree -> }", "[ day { river } heart -> ]", "{ house [ tree ] rain -> }" ], "mean_activation": 0.884, "ablation_impact_drop": 0.059000000000000004, "attention_pattern_stats": { "prev_token_score": 0.018000000000000002, "induction_nearest_s...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L4 H9). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-1_4b_L4_H15
EleutherAI/pythia-1.4b
blocks.4.attn.hook_z[15]
single
null
{ "top_activating_examples": [ "List: queen road cat house wood queen -> road", "List: house river night gold dog house -> river", "List: star wind wood snow red star -> wind" ], "mean_activation": 0.5760000000000001, "ablation_impact_drop": 0.426, "attention_pattern_stats": { "prev_token_s...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-1.4b L4 H15). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. ...
pythia-1_4b_L5_H3
EleutherAI/pythia-1.4b
blocks.5.attn.hook_z[3]
single
null
{ "top_activating_examples": [ "{ river ( woman ) boy -> }", "{ heart [ boy ] stone -> }", "{ man [ black ] queen -> }" ], "mean_activation": 0.512, "ablation_impact_drop": 0.054, "attention_pattern_stats": { "prev_token_score": 0.024, "induction_nearest_score": 0.006, "induction_fi...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L5 H3). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-1_4b_L5_H8
EleutherAI/pythia-1.4b
blocks.5.attn.hook_z[8]
single
null
{ "top_activating_examples": [ "List: queen road cat house wood queen -> road", "List: star wind wood snow red star -> wind", "List: house river night gold dog house -> river" ], "mean_activation": 0.541, "ablation_impact_drop": 0.382, "attention_pattern_stats": { "prev_token_score": 0.0090...
0.964
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Induction head (EleutherAI/pythia-1.4b L5 H8). Detects: the current token occurred earlier in the sequence. Routing: prefix matching - attends to the token that FOLLOWED an earlier occurrence of the current token ([A][B] ... [A]...
pythia-1_4b_L5_H11
EleutherAI/pythia-1.4b
blocks.5.attn.hook_z[11]
single
null
{ "top_activating_examples": [ "{ silver ( gold ) tree -> }", "{ silver ( fish ) stone -> }", "{ heart [ boy ] stone -> }" ], "mean_activation": 0.979, "ablation_impact_drop": 0.043000000000000003, "attention_pattern_stats": { "prev_token_score": 0.003, "induction_nearest_score": 0.001,...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L5 H11). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L5_H12
EleutherAI/pythia-1.4b
blocks.5.attn.hook_z[12]
single
null
{ "top_activating_examples": [ "( queen { green } wind -> )", "[ day { river } heart -> ]", "{ silver ( fish ) stone -> }" ], "mean_activation": 0.618, "ablation_impact_drop": 0.048, "attention_pattern_stats": { "prev_token_score": 0.068, "induction_nearest_score": 0.197, "induction...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L5 H12). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L5_H13
EleutherAI/pythia-1.4b
blocks.5.attn.hook_z[13]
single
null
{ "top_activating_examples": [ "{ man ( water ) cat -> }", "{ river ( woman ) boy -> }", "[ heart { night } moon -> ]" ], "mean_activation": 0.935, "ablation_impact_drop": 0.08600000000000001, "attention_pattern_stats": { "prev_token_score": 0.014, "induction_nearest_score": 0.013000000...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L5 H13). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L7_H12
EleutherAI/pythia-1.4b
blocks.7.attn.hook_z[12]
single
null
{ "top_activating_examples": [ "{ wood [ day ] star -> }", "( queen { green } wind -> )", "{ man ( water ) cat -> }" ], "mean_activation": 0.9450000000000001, "ablation_impact_drop": 0.045, "attention_pattern_stats": { "prev_token_score": 0.043000000000000003, "induction_nearest_score":...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L7 H12). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L8_H2
EleutherAI/pythia-1.4b
blocks.8.attn.hook_z[2]
single
null
{ "top_activating_examples": [ "{ man [ black ] queen -> }", "[ day { river } heart -> ]", "{ house [ tree ] rain -> }" ], "mean_activation": 0.402, "ablation_impact_drop": 0.067, "attention_pattern_stats": { "prev_token_score": 0.064, "induction_nearest_score": 0.106, "induction_fi...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L8 H2). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-1_4b_L8_H5
EleutherAI/pythia-1.4b
blocks.8.attn.hook_z[5]
single
null
{ "top_activating_examples": [ "[ heart { night } moon -> ]", "{ silver ( gold ) tree -> }", "{ river ( woman ) boy -> }" ], "mean_activation": 0.789, "ablation_impact_drop": 0.067, "attention_pattern_stats": { "prev_token_score": 0.049, "induction_nearest_score": 0.067, "induction_...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L8 H5). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-1_4b_L8_H7
EleutherAI/pythia-1.4b
blocks.8.attn.hook_z[7]
single
null
{ "top_activating_examples": [ "( cat [ black ] wood -> )", "( queen { green } wind -> )", "{ man ( water ) cat -> }" ], "mean_activation": 0.461, "ablation_impact_drop": 0.043000000000000003, "attention_pattern_stats": { "prev_token_score": 0.028, "induction_nearest_score": 0.036000000...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L8 H7). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-1_4b_L9_H1
EleutherAI/pythia-1.4b
blocks.9.attn.hook_z[1]
single
null
{ "top_activating_examples": [ "( cat [ black ] wood -> )", "( queen { green } wind -> )", "( snow { rain } stone -> )" ], "mean_activation": 0.964, "ablation_impact_drop": 0.052000000000000005, "attention_pattern_stats": { "prev_token_score": 0.001, "induction_nearest_score": 0.003, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L9 H1). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-1_4b_L9_H6
EleutherAI/pythia-1.4b
blocks.9.attn.hook_z[6]
single
null
{ "top_activating_examples": [ "{ man [ black ] queen -> }", "[ heart { night } moon -> ]", "{ silver ( gold ) tree -> }" ], "mean_activation": 0.877, "ablation_impact_drop": 0.056, "attention_pattern_stats": { "prev_token_score": 0.058, "induction_nearest_score": 0.052000000000000005, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L9 H6). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brack...
pythia-1_4b_L9_H12
EleutherAI/pythia-1.4b
blocks.9.attn.hook_z[12]
single
null
{ "top_activating_examples": [ "( snow { rain } stone -> )", "[ day { river } heart -> ]", "( queen { green } wind -> )" ], "mean_activation": 0.772, "ablation_impact_drop": 0.044, "attention_pattern_stats": { "prev_token_score": 0.012, "induction_nearest_score": 0.307, "induction_f...
0.875
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L9 H12). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L9_H15
EleutherAI/pythia-1.4b
blocks.9.attn.hook_z[15]
single
null
{ "top_activating_examples": [ "( queen { green } wind -> )", "( cat [ black ] wood -> )", "{ silver ( fish ) stone -> }" ], "mean_activation": 0.902, "ablation_impact_drop": 0.058, "attention_pattern_stats": { "prev_token_score": 0.015, "induction_nearest_score": 0.031, "induction_...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L9 H15). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L10_H6
EleutherAI/pythia-1.4b
blocks.10.attn.hook_z[6]
single
null
{ "top_activating_examples": [ "[ heart { night } moon -> ]", "[ day { river } heart -> ]", "{ silver ( gold ) tree -> }" ], "mean_activation": 0.583, "ablation_impact_drop": 0.093, "attention_pattern_stats": { "prev_token_score": 0.023, "induction_nearest_score": 0.075, "induction_...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L10 H6). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L10_H14
EleutherAI/pythia-1.4b
blocks.10.attn.hook_z[14]
single
null
{ "top_activating_examples": [ "{ black ( blue ) day -> }", "{ river ( woman ) boy -> }", "{ silver ( fish ) stone -> }" ], "mean_activation": 0.633, "ablation_impact_drop": 0.057, "attention_pattern_stats": { "prev_token_score": 0.095, "induction_nearest_score": 0.129, "induction_f...
0.875
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L10 H14). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bra...
pythia-1_4b_L10_H15
EleutherAI/pythia-1.4b
blocks.10.attn.hook_z[15]
single
null
{ "top_activating_examples": [ "( queen { green } wind -> )", "{ silver ( fish ) stone -> }", "[ blue { moon } star -> ]" ], "mean_activation": 0.631, "ablation_impact_drop": 0.048, "attention_pattern_stats": { "prev_token_score": 0.005, "induction_nearest_score": 0.084, "induction_...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L10 H15). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bra...
pythia-1_4b_L11_H11
EleutherAI/pythia-1.4b
blocks.11.attn.hook_z[11]
single
null
{ "top_activating_examples": [ "{ silver ( fish ) stone -> }", "( cat [ black ] wood -> )", "{ river ( woman ) boy -> }" ], "mean_activation": 0.511, "ablation_impact_drop": 0.063, "attention_pattern_stats": { "prev_token_score": 0.079, "induction_nearest_score": 0.10400000000000001, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L11 H11). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bra...
pythia-1_4b_L13_H4
EleutherAI/pythia-1.4b
blocks.13.attn.hook_z[4]
single
null
{ "top_activating_examples": [ "[ blue { moon } star -> ]", "{ man [ black ] queen -> }", "[ day { river } heart -> ]" ], "mean_activation": 1, "ablation_impact_drop": 0.058, "attention_pattern_stats": { "prev_token_score": 0, "induction_nearest_score": 0, "induction_first_score": 0...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L13 H4). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L14_H3
EleutherAI/pythia-1.4b
blocks.14.attn.hook_z[3]
single
null
{ "top_activating_examples": [ "[ day { river } heart -> ]", "[ heart { night } moon -> ]", "[ blue { moon } star -> ]" ], "mean_activation": 1, "ablation_impact_drop": 0.074, "attention_pattern_stats": { "prev_token_score": 0, "induction_nearest_score": 0, "induction_first_score": ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L14 H3). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L16_H8
EleutherAI/pythia-1.4b
blocks.16.attn.hook_z[8]
single
null
{ "top_activating_examples": [ "( queen { green } wind -> )", "[ blue { moon } star -> ]", "{ wood [ day ] star -> }" ], "mean_activation": 1, "ablation_impact_drop": 0.078, "attention_pattern_stats": { "prev_token_score": 0, "induction_nearest_score": 0, "induction_first_score": 0,...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L16 H8). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L16_H10
EleutherAI/pythia-1.4b
blocks.16.attn.hook_z[10]
single
null
{ "top_activating_examples": [ "[ day { river } heart -> ]", "[ heart { night } moon -> ]", "{ man ( water ) cat -> }" ], "mean_activation": 0.981, "ablation_impact_drop": 0.129, "attention_pattern_stats": { "prev_token_score": 0.019, "induction_nearest_score": 0.028, "induction_fir...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L16 H10). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bra...
pythia-1_4b_L17_H2
EleutherAI/pythia-1.4b
blocks.17.attn.hook_z[2]
single
null
{ "top_activating_examples": [ "( cat [ black ] wood -> )", "( queen { green } wind -> )", "( snow { rain } stone -> )" ], "mean_activation": 1, "ablation_impact_drop": 0.179, "attention_pattern_stats": { "prev_token_score": 0, "induction_nearest_score": 0, "induction_first_score": ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L17 H2). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the brac...
pythia-1_4b_L23_H15
EleutherAI/pythia-1.4b
blocks.23.attn.hook_z[15]
single
null
{ "top_activating_examples": [ "( cat [ black ] wood -> )", "{ man [ black ] queen -> }", "{ silver ( fish ) stone -> }" ], "mean_activation": 0.897, "ablation_impact_drop": 0.053, "attention_pattern_stats": { "prev_token_score": 0.023, "induction_nearest_score": 0.133, "induction_f...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L23 H15). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bra...
pythia-1_4b_family_bracket_matching_x220
EleutherAI/pythia-1.4b
blocks.2.attn.hook_z[2] + blocks.3.attn.hook_z[10] + blocks.4.attn.hook_z[1] + blocks.4.attn.hook_z[2] + blocks.4.attn.hook_z[3] + blocks.4.attn.hook_z[4] + blocks.4.attn.hook_z[7] + blocks.4.attn.hook_z[8] + blocks.4.attn.hook_z[9] + blocks.4.attn.hook_z[10] + blocks.4.attn.hook_z[11] + blocks.5.attn.hook_z[1] + block...
family
[ "pythia-1_4b_L2_H2", "pythia-1_4b_L3_H10", "pythia-1_4b_L4_H1", "pythia-1_4b_L4_H2", "pythia-1_4b_L4_H3", "pythia-1_4b_L4_H4", "pythia-1_4b_L4_H7", "pythia-1_4b_L4_H8", "pythia-1_4b_L4_H9", "pythia-1_4b_L4_H10", "pythia-1_4b_L4_H11", "pythia-1_4b_L5_H1", "pythia-1_4b_L5_H3", "pythia-1_4b_L...
{ "top_activating_examples": [ "{ man ( water ) cat -> }", "{ man [ black ] queen -> }", "{ silver ( fish ) stone -> }" ], "mean_activation": 0.36, "ablation_impact_drop": 0.54, "attention_pattern_stats": { "prev_token_score": 0.027, "induction_nearest_score": 0.055, "induction_firs...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (EleutherAI/pythia-1.4b L2 HL2H2+L3H10+L4H1+L4H2+L4H3+L4H4+L4H7+L4H8+L4H9+L4H10+L4H11+L5H1+L5H3+L5H4+L5H5+L5H6+L5H7+L5H9+L5H10+L5H11+L5H12+L5H13+L5H14+L5H15+L6H0+L6H4+L6H5+L6H6+L6H7+L6H8+L6H9+L6H11+L6H12+L6H13+L...
pythia-1_4b_family_induction_x2
EleutherAI/pythia-1.4b
blocks.2.attn.hook_z[7] + blocks.5.attn.hook_z[8]
family
[ "pythia-1_4b_L2_H7", "pythia-1_4b_L5_H8" ]
{ "top_activating_examples": [ "List: queen road cat house wood queen -> road", "Series: red king black door fire red -> king", "List: star wind wood snow red star -> wind" ], "mean_activation": 0.579, "ablation_impact_drop": 0.521, "attention_pattern_stats": { "prev_token_score": 0.075, ...
0.964
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Induction head (EleutherAI/pythia-1.4b L2 HL2H7+L5H8). Detects: the current token occurred earlier in the sequence. Routing: prefix matching - attends to the token that FOLLOWED an earlier occurrence of the current token ([A][B]...
pythia-1_4b_family_previous_token_x2
EleutherAI/pythia-1.4b
blocks.1.attn.hook_z[11] + blocks.4.attn.hook_z[15]
family
[ "pythia-1_4b_L1_H11", "pythia-1_4b_L4_H15" ]
{ "top_activating_examples": [ "List: star wind wood snow red star -> wind", "List: woman night green gold rain woman -> night", "Items: king moon black snow sun king -> moon" ], "mean_activation": 0.896, "ablation_impact_drop": 0.778, "attention_pattern_stats": { "prev_token_score": 0.736,...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-1.4b L1 HL1H11+L4H15). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual...
pythia-1_4b_L1_H11+L2_H7
EleutherAI/pythia-1.4b
blocks.1.attn.hook_z[11] + blocks.2.attn.hook_z[7]
composed
[ "pythia-1_4b_L1_H11", "pythia-1_4b_L2_H7" ]
{ "top_activating_examples": [ "List: woman night green gold rain woman -> night", "Series: red king black door fire red -> king", "List: star wind wood snow red star -> wind" ], "mean_activation": 0.579, "ablation_impact_drop": 0.63, "attention_pattern_stats": { "prev_token_score": 0.14, ...
0.964
from collections import Counter from collections import Counter def circuit_logic_L1_H11(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-1.4b L1 H11). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous to...
pythia-1_4b_L1_H11+L3_H13
EleutherAI/pythia-1.4b
blocks.1.attn.hook_z[11] + blocks.3.attn.hook_z[13]
composed
[ "pythia-1_4b_L1_H11", "pythia-1_4b_L3_H13" ]
{ "top_activating_examples": [ "Series: red king black door fire red -> king", "Items: king moon black snow sun king -> moon", "List: woman night green gold rain woman -> night" ], "mean_activation": 0.5730000000000001, "ablation_impact_drop": 0.616, "attention_pattern_stats": { "prev_token...
0.857
from collections import Counter from collections import Counter def circuit_logic_L1_H11(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-1.4b L1 H11). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous to...
pythia-1_4b_L1_H11+L5_H8
EleutherAI/pythia-1.4b
blocks.1.attn.hook_z[11] + blocks.5.attn.hook_z[8]
composed
[ "pythia-1_4b_L1_H11", "pythia-1_4b_L5_H8" ]
{ "top_activating_examples": [ "List: star wind wood snow red star -> wind", "Items: king moon black snow sun king -> moon", "List: woman night green gold rain woman -> night" ], "mean_activation": 0.541, "ablation_impact_drop": 0.762, "attention_pattern_stats": { "prev_token_score": 0.0090...
0.964
from collections import Counter from collections import Counter def circuit_logic_L1_H11(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-1.4b L1 H11). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous to...
pythia-1_4b_L4_H15+L5_H8
EleutherAI/pythia-1.4b
blocks.4.attn.hook_z[15] + blocks.5.attn.hook_z[8]
composed
[ "pythia-1_4b_L4_H15", "pythia-1_4b_L5_H8" ]
{ "top_activating_examples": [ "List: queen road cat house wood queen -> road", "List: tree hand man stone house tree -> hand", "List: star wind wood snow red star -> wind" ], "mean_activation": 0.541, "ablation_impact_drop": 0.458, "attention_pattern_stats": { "prev_token_score": 0.0090000...
0.964
from collections import Counter from collections import Counter def circuit_logic_L4_H15(tokens: list[str]) -> dict: """Previous-token head (EleutherAI/pythia-1.4b L4 H15). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous to...
qwen2_5-0_5b_L0_H11
Qwen/Qwen2.5-0.5B
blocks.0.attn.hook_z[11]
single
null
{ "top_activating_examples": [ "Items: road heart river boy sun road -> heart", "Sequence: rain man girl gold day rain -> man", "List: fire dog night road heart fire -> dog" ], "mean_activation": 0.632, "ablation_impact_drop": 0.116, "attention_pattern_stats": { "prev_token_score": 0.632, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (Qwen/Qwen2.5-0.5B L0 H11). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. ...
qwen2_5-0_5b_L1_H10
Qwen/Qwen2.5-0.5B
blocks.1.attn.hook_z[10]
single
null
{ "top_activating_examples": [ "{ man ( water ) cat -> }", "[ heart { night } moon -> ]", "{ wood [ day ] star -> }" ], "mean_activation": 0.425, "ablation_impact_drop": 0.389, "attention_pattern_stats": { "prev_token_score": 0.077, "induction_nearest_score": 0.12, "induction_first_...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L1 H10). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket t...
qwen2_5-0_5b_L1_H12
Qwen/Qwen2.5-0.5B
blocks.1.attn.hook_z[12]
single
null
{ "top_activating_examples": [ "{ man ( water ) cat -> }", "{ silver ( gold ) tree -> }", "{ river ( woman ) boy -> }" ], "mean_activation": 0.434, "ablation_impact_drop": 0.228, "attention_pattern_stats": { "prev_token_score": 0.035, "induction_nearest_score": 0.064, "induction_fir...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L1 H12). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket t...
qwen2_5-0_5b_L2_H0
Qwen/Qwen2.5-0.5B
blocks.2.attn.hook_z[0]
single
null
{ "top_activating_examples": [ "List: house river night gold dog house -> river", "Sequence: water cat fish house fire water -> cat", "List: queen tree house moon snow queen -> tree" ], "mean_activation": 0.655, "ablation_impact_drop": 0.125, "attention_pattern_stats": { "prev_token_score":...
0.929
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (Qwen/Qwen2.5-0.5B L2 H0). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. M...
qwen2_5-0_5b_L3_H10
Qwen/Qwen2.5-0.5B
blocks.3.attn.hook_z[10]
single
null
{ "top_activating_examples": [ "{ river ( woman ) boy -> }", "{ heart [ boy ] stone -> }", "{ house [ tree ] rain -> }" ], "mean_activation": 0.593, "ablation_impact_drop": 0.259, "attention_pattern_stats": { "prev_token_score": 0.031, "induction_nearest_score": 0.013000000000000001, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L3 H10). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket t...
qwen2_5-0_5b_L3_H11
Qwen/Qwen2.5-0.5B
blocks.3.attn.hook_z[11]
single
null
{ "top_activating_examples": [ "( snow { hand } door -> )", "( queen { green } wind -> )", "{ man ( water ) cat -> }" ], "mean_activation": 0.921, "ablation_impact_drop": 0.424, "attention_pattern_stats": { "prev_token_score": 0.053, "induction_nearest_score": 0.032, "induction_firs...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L3 H11). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket t...
qwen2_5-0_5b_L3_H13
Qwen/Qwen2.5-0.5B
blocks.3.attn.hook_z[13]
single
null
{ "top_activating_examples": [ "[ blue { moon } star -> ]", "{ man ( water ) cat -> }", "{ silver ( gold ) tree -> }" ], "mean_activation": 0.9590000000000001, "ablation_impact_drop": 0.192, "attention_pattern_stats": { "prev_token_score": 0.093, "induction_nearest_score": 0.007, "i...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L3 H13). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket t...
qwen2_5-0_5b_L4_H0
Qwen/Qwen2.5-0.5B
blocks.4.attn.hook_z[0]
single
null
{ "top_activating_examples": [ "{ silver ( fish ) stone -> }", "{ wood [ day ] star -> }", "[ blue { moon } star -> ]" ], "mean_activation": 0.643, "ablation_impact_drop": 0.17500000000000002, "attention_pattern_stats": { "prev_token_score": 0.066, "induction_nearest_score": 0.326, ...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L4 H0). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket ty...
qwen2_5-0_5b_L4_H4
Qwen/Qwen2.5-0.5B
blocks.4.attn.hook_z[4]
single
null
{ "top_activating_examples": [ "{ wood [ day ] star -> }", "[ blue { moon } star -> ]", "{ man ( water ) cat -> }" ], "mean_activation": 0.922, "ablation_impact_drop": 0.333, "attention_pattern_stats": { "prev_token_score": 0.076, "induction_nearest_score": 0.097, "induction_first_s...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L4 H4). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket ty...
qwen2_5-0_5b_L4_H5
Qwen/Qwen2.5-0.5B
blocks.4.attn.hook_z[5]
single
null
{ "top_activating_examples": [ "[ heart { night } moon -> ]", "[ blue { moon } star -> ]", "( snow { hand } door -> )" ], "mean_activation": 0.659, "ablation_impact_drop": 0.061, "attention_pattern_stats": { "prev_token_score": 0.233, "induction_nearest_score": 0.061, "induction_fir...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L4 H5). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket ty...
qwen2_5-0_5b_L5_H1
Qwen/Qwen2.5-0.5B
blocks.5.attn.hook_z[1]
single
null
{ "top_activating_examples": [ "{ heart [ boy ] stone -> }", "{ silver ( gold ) tree -> }", "{ wood [ day ] star -> }" ], "mean_activation": 0.46, "ablation_impact_drop": 0.128, "attention_pattern_stats": { "prev_token_score": 0.056, "induction_nearest_score": 0.042, "induction_firs...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L5 H1). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket ty...
qwen2_5-0_5b_L5_H3
Qwen/Qwen2.5-0.5B
blocks.5.attn.hook_z[3]
single
null
{ "top_activating_examples": [ "[ heart { night } moon -> ]", "{ wood [ day ] star -> }", "{ heart [ boy ] stone -> }" ], "mean_activation": 0.599, "ablation_impact_drop": 0.076, "attention_pattern_stats": { "prev_token_score": 0.004, "induction_nearest_score": 0.082, "induction_fir...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L5 H3). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket ty...
qwen2_5-0_5b_L5_H5
Qwen/Qwen2.5-0.5B
blocks.5.attn.hook_z[5]
single
null
{ "top_activating_examples": [ "{ silver ( gold ) tree -> }", "{ river ( woman ) boy -> }", "{ wood [ day ] star -> }" ], "mean_activation": 0.867, "ablation_impact_drop": 0.082, "attention_pattern_stats": { "prev_token_score": 0.018000000000000002, "induction_nearest_score": 0.082, ...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L5 H5). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket ty...
qwen2_5-0_5b_L5_H7
Qwen/Qwen2.5-0.5B
blocks.5.attn.hook_z[7]
single
null
{ "top_activating_examples": [ "{ silver ( fish ) stone -> }", "{ man ( water ) cat -> }", "[ heart { night } moon -> ]" ], "mean_activation": 0.794, "ablation_impact_drop": 0.223, "attention_pattern_stats": { "prev_token_score": 0.025, "induction_nearest_score": 0.079, "induction_f...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L5 H7). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket ty...
qwen2_5-0_5b_L5_H10
Qwen/Qwen2.5-0.5B
blocks.5.attn.hook_z[10]
single
null
{ "top_activating_examples": [ "{ man ( water ) cat -> }", "{ silver ( fish ) stone -> }", "{ heart [ boy ] stone -> }" ], "mean_activation": 0.778, "ablation_impact_drop": 0.153, "attention_pattern_stats": { "prev_token_score": 0.03, "induction_nearest_score": 0.032, "induction_fir...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L5 H10). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket t...
qwen2_5-0_5b_L5_H11
Qwen/Qwen2.5-0.5B
blocks.5.attn.hook_z[11]
single
null
{ "top_activating_examples": [ "{ silver ( gold ) tree -> }", "{ wood [ day ] star -> }", "{ river ( woman ) boy -> }" ], "mean_activation": 0.744, "ablation_impact_drop": 0.221, "attention_pattern_stats": { "prev_token_score": 0.08, "induction_nearest_score": 0.078, "induction_firs...
0.938
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L5 H11). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket t...
qwen2_5-0_5b_L6_H4
Qwen/Qwen2.5-0.5B
blocks.6.attn.hook_z[4]
single
null
{ "top_activating_examples": [ "List: tree wood silver king rain tree -> wood", "List: house river night gold dog house -> river", "Sequence: water cat fish house fire water -> cat" ], "mean_activation": 0.431, "ablation_impact_drop": 0.099, "attention_pattern_stats": { "prev_token_score": ...
0.857
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Previous-token head (Qwen/Qwen2.5-0.5B L6 H4). Detects: the token immediately before the current position. Routing: attends almost exclusively to position-1, copying the previous token's identity into the residual stream. M...
qwen2_5-0_5b_L6_H11
Qwen/Qwen2.5-0.5B
blocks.6.attn.hook_z[11]
single
null
{ "top_activating_examples": [ "{ river ( woman ) boy -> }", "{ silver ( gold ) tree -> }", "{ house [ tree ] rain -> }" ], "mean_activation": 0.755, "ablation_impact_drop": 0.08600000000000001, "attention_pattern_stats": { "prev_token_score": 0.014, "induction_nearest_score": 0.035, ...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L6 H11). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket t...
qwen2_5-0_5b_L8_H0
Qwen/Qwen2.5-0.5B
blocks.8.attn.hook_z[0]
single
null
{ "top_activating_examples": [ "{ wood [ day ] star -> }", "[ heart { night } moon -> ]", "{ heart [ boy ] stone -> }" ], "mean_activation": 0.773, "ablation_impact_drop": 0.09, "attention_pattern_stats": { "prev_token_score": 0.044, "induction_nearest_score": 0.048, "induction_firs...
1
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L8 H0). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket ty...
qwen2_5-0_5b_L8_H1
Qwen/Qwen2.5-0.5B
blocks.8.attn.hook_z[1]
single
null
{ "top_activating_examples": [ "[ heart { night } moon -> ]", "{ silver ( gold ) tree -> }", "{ black ( blue ) day -> }" ], "mean_activation": 0.752, "ablation_impact_drop": 0.159, "attention_pattern_stats": { "prev_token_score": 0.023, "induction_nearest_score": 0.05, "induction_fi...
0.875
from collections import Counter def circuit_logic(tokens: list[str]) -> dict: """Bracket-matching head (Qwen/Qwen2.5-0.5B L8 H1). Detects: an unmatched opening bracket earlier in the sequence. Routing: at the current position it attends to the most recent unmatched opening bracket, identifying the bracket ty...
End of preview. Expand in Data Studio

MindReader

567 neural circuits mined from 26 open-weights transformer models, each one causally verified and decompiled into a standalone, executable Python program that reproduces the circuit's algorithm.

Contents

File Description
mindreader_dataset_v2.jsonl Full dataset: 567 circuits (397 single, 98 composed, 43 family groups, 29 head groups)
blind_test_v2.jsonl Held-out test set: 40 circuits from 4 unseen architectures (Llama-3.2-1B, gemma-2-2b, OLMo-2-0425-1B-Instruct, StableLM-2-Zephyr-1.6B), never used in training
benchmark_results_v2.json Per-item blind benchmark grading for MindReader-7B-v2 vs its base model

Record format

Each line is one circuit:

  • id β€” unique circuit id (model, layer, head/neuron)
  • model β€” source model
  • component β€” the probed component (e.g. blocks.4.attn.hook_z[11])
  • tier β€” single, composed, family, or group
  • brain_signature β€” top activating examples, mean activation, ablation drop, and attention_pattern_stats (previous-token, induction-nearest, induction-first, first-token-sink scores) on attention circuits
  • behavioral_fidelity_score β€” verification measurement (β‰₯ 0.85)
  • decompiled_python β€” self-contained Python implementing circuit_logic(tokens), execution-tested

Verification gates

A circuit enters the dataset only if ablating it causally drops the target behaviour past a scale-aware threshold (β‰₯ 0.10 for models < 250M params, β‰₯ 0.06 for 250M–800M, β‰₯ 0.04 above 800M; β‰₯ 0.25 for composed circuits) and its decompiled program reproduces the behaviour with fidelity β‰₯ 0.85 over at least 20 diverse prompts.

What's new in v2.0

  • 567 circuits across 26 models (v1: 291 across 16)
  • attention_pattern_stats on every attention circuit β€” the fix for v1's induction / first-token-sink blind spot
  • Two new circuit classes: step_transition (4) and copy_suppression (2)
  • Blind set expanded from 15 to 40 circuits across 4 unseen architectures; the original 15 Llama/Gemma circuits are intact for direct v1 β†’ v2 comparison
  • No number-comparison or negation-switch circuit passed the gates; probe diagnostics confirm negation candidates never cleared the attempt threshold

Models mined

GPT-2 (small/medium/large), Pythia (160M–2.8B), Qwen2.5 (0.5B, 1.5B, 3B, Math-1.5B, Coder-1.5B-Instruct, 0.5B/1.5B-Instruct), SmolLM2 (360M, 1.7B, both Instruct versions), GPT-Neo (125M, 1.3B), OPT (350M, 1.3B), BLOOM (560M, 1B1), Cerebras-GPT-590M, DeepSeek-R1-Distill-Qwen-1.5B. The four benchmark models are held out by design and appear only in the test split.

Companion model

MindReader-7B-v2, a QLoRA fine-tune of Qwen2.5-Coder-7B-Instruct trained on this dataset: https://huggingface.co/stube123890/MindReader-7B-v2 β€” blind benchmark (40 held-out circuits, 4 unseen architectures): on the original 15-circuit Llama/Gemma suite, rule identification and fidelity pass are 100% for base, v2 and v2 + Causal MCTS alike (v1: 53% vs 0% rule, 53% vs 20% fidelity) β€” the v2 signature's attention_pattern_stats eliminate v1's induction / first-token-sink blind spot. On the full 40, base and v2 Pass@1 tie at 98% exec / 95% rule / 98% fidelity, and v2 + Causal MCTS Pass@4 leads at 100% / 98% / 100%.

Links

v3.0 datasets (model pending)

Two additions on top of v2.0:

ablation_polarity on every circuit. Every circuit in mindreader_dataset_v3.jsonl (567) and blind_test_v3.jsonl (40) now carries brain_signature.ablation_polarity β€” "excitatory" when ablating the component drops the target behaviour, "inhibitory" when it raises it. This is the signal that separates copy-suppression heads from induction heads β€” the one systematic miss in the v2 blind benchmark. Counts: 565 excitatory / 2 inhibitory (train), 39 / 1 (blind).

Neuron profiler records. neuron_profiler_v3.jsonl (113 records, 5 training models) and neuron_profiler_blind_v3.jsonl (96 records, 4 held-out architectures, zero training overlap). For each prompt: the causally verified set of active MLP neurons β€” every reported neuron individually moves the target logit by at least 0.1 when ablated, and a cluster is kept only if it passes an additive-coverage (>= 0.85) or centered-logit impact test β€” plus a 4-metric profile: active scale, shared consensus concepts, per-neuron unique contributions, and dormant zones (refusal / arithmetic / factual lookup). Prompts span reasoning, math, factual recall, negation, refusal/safety and multi-concept queries (209 records in total).

Model status, honestly. MindReader-7B-v3 (QLoRA on the combined circuit + profiler data, 2,174 pairs) trained to step 383/408 with loss 1.341 -> 0.0267 β€” then the Kaggle session hit its 12-hour cap and the adapter was lost before it could be downloaded. The retrain is scheduled for when the GPU quota resets, and the blind evaluation (circuit Suite B + the profiler blind set) will be published with the model. The v3 data above is final and does not change with the retrain.

Downloads last month
99