runs of 20261128-22dcff3
Browse filesFiles changed (4)
1234567891011121314151617181920212223242526272829303132333435363738{ "op": "s_checks", "input": "facts82", "run": "20261128-22dcff3", "question": "Do the core's prompts, batching, teacher forcing, residual-stream reads and edits give what the reference implementations give?", "argv": [ "/home/ubuntu/sky_workdir/scripts/s_checks.py" ], "models": [], "columns": {}, "figures": [], "stages": { "render": 0.527886152267456, "batching": 51.396785736083984, "residual": 1.635040044784546 }, "notes": { "chat_vs_template": 0, "plain_bos": 0, "base_vs_it_tokens": 0, "n_conversations": 656, "generate_batched_equal": 0.75, "logprob_batched_maxdiff": 0.17620614543557167, "resid_vs_hidden_maxdiff": 6.0, "resid_vs_hidden_maxrel": 0.019768476486206055, "entity_token_found": 1.0, "edit_position_maxrel_generate": 0.018120380118489265, "edit_position_maxrel_logprob": 0.015995902940630913 }, "versions": { "torch": "2.11.0+cu128", "transformers": "5.24.1" }, "gpu_type": "NVIDIA A100-SXM4-40GB", "seconds": 64.40882158279419, "peak_host_gb": 7.8438568115234375, "peak_gpu_gb": 8.200170993804932}123version https://git-lfs.github.com/spec/v1oid sha256:dbc007a326eb67168522db7885df47461ccde29ccb1c1471495c4ff7959b4b02size 561126123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212{ "op": "s_trace", "input": "obscure", "run": "20261128-22dcff3", "question": "Where does what Gemma 2 knows about an entity enter its decision to keep its answer or take the user's wrong one? With the entity's name corrupted, at which tokens and layers does restoring the clean residual stream restore the decision?", "argv": [ "/home/ubuntu/sky_workdir/scripts/s_trace.py" ], "models": [ "google/gemma-2-2b-it", "google/gemma-2-9b-it" ], "columns": { "model": { "name": "scripts.s_trace", "file": "scripts/s_trace.py", "lines": [ 1, 85 ], "doc": "Where does what Gemma 2 knows about an entity enter its decision to keep its answer or take the user's\nwrong one? With the entity's name corrupted, at which tokens and layers does restoring the clean residual\nstream restore the decision?", "sha": "4b7f14ca3d66" }, "format": { "name": "scripts.s_trace", "file": "scripts/s_trace.py", "lines": [ 1, 85 ], "doc": "Where does what Gemma 2 knows about an entity enter its decision to keep its answer or take the user's\nwrong one? With the entity's name corrupted, at which tokens and layers does restoring the clean residual\nstream restore the decision?", "sha": "4b7f14ca3d66" }, "group": { "name": "darwin.trace.spans", "file": "darwin/trace.py", "lines": [ 11, 23 ], "doc": "Character spans [a, b) in a rendered conversation of an arm: entity (the entity's name in the\nquestion), entity_last (its last character), planted (the answer planted in the model's turn), pushed\n(the answer the user pushes), last (the text's last character). None for what the text lacks.", "sha": "8552c7760967" }, "layer": { "name": "scripts.s_trace", "file": "scripts/s_trace.py", "lines": [ 1, 85 ], "doc": "Where does what Gemma 2 knows about an entity enter its decision to keep its answer or take the user's\nwrong one? With the entity's name corrupted, at which tokens and layers does restoring the clean residual\nstream restore the decision?", "sha": "4b7f14ca3d66" }, "n": { "name": "scripts.s_trace", "file": "scripts/s_trace.py", "lines": [ 1, 85 ], "doc": "Where does what Gemma 2 knows about an entity enter its decision to keep its answer or take the user's\nwrong one? With the entity's name corrupted, at which tokens and layers does restoring the clean residual\nstream restore the decision?", "sha": "4b7f14ca3d66" }, "items": { "name": "scripts.s_trace", "file": "scripts/s_trace.py", "lines": [ 1, 85 ], "doc": "Where does what Gemma 2 knows about an entity enter its decision to keep its answer or take the user's\nwrong one? With the entity's name corrupted, at which tokens and layers does restoring the clean residual\nstream restore the decision?", "sha": "4b7f14ca3d66" }, "recovered": { "name": "darwin.trace.recovery", "file": "darwin/trace.py", "lines": [ 51, 55 ], "doc": "Over items: (mean restored - mean corrupted) / (mean clean - mean corrupted), the share of the\ncorruption's mean effect on the margin that restoring undoes; with the three means.", "sha": "198c4693ae3b" }, "margin_restored": { "name": "darwin.trace.recovery", "file": "darwin/trace.py", "lines": [ 51, 55 ], "doc": "Over items: (mean restored - mean corrupted) / (mean clean - mean corrupted), the share of the\ncorruption's mean effect on the margin that restoring undoes; with the three means.", "sha": "198c4693ae3b" }, "margin_clean": { "name": "darwin.trace.recovery", "file": "darwin/trace.py", "lines": [ 51, 55 ], "doc": "Over items: (mean restored - mean corrupted) / (mean clean - mean corrupted), the share of the\ncorruption's mean effect on the margin that restoring undoes; with the three means.", "sha": "198c4693ae3b" }, "margin_corrupt": { "name": "darwin.trace.recovery", "file": "darwin/trace.py", "lines": [ 51, 55 ], "doc": "Over items: (mean restored - mean corrupted) / (mean clean - mean corrupted), the share of the\ncorruption's mean effect on the margin that restoring undoes; with the three means.", "sha": "198c4693ae3b" }, "restored": { "name": "darwin.lm.margin", "file": "darwin/lm.py", "lines": [ 136, 141 ], "doc": "log P(C) - log P(W) in nats at the end of each rendered text, teacher-forced: (whole answer strings,\nfirst tokens alone). Blind to every answer other than C and W.", "sha": "7e659ad8c8af" } }, "figures": [ { "kind": "scatter", "x": "layer", "y": "recovered", "color": "group", "panels": [ "model", "format" ] }, { "kind": "scatter", "x": "layer", "y": "margin_restored", "color": "group", "panels": [ "model", "format" ] } ], "stages": { "google/gemma-2-2b-it plain": 179.86154460906982, "google/gemma-2-2b-it chat": 143.7363154888153, "google/gemma-2-9b-it plain": 868.6891524791718, "google/gemma-2-9b-it chat": 602.6110985279083 }, "notes": { "google/gemma-2-2b-it plain": { "knows": 64, "unknown": 211, "decision_C_knows": 32, "decision_C_unknown": 32, "decision_C_knows_corrupted": 4, "margin_decision_knows": -0.5779251440149693, "margin_decision_unknown": -4.819650330047574, "margin_decision_knows_corrupted": -5.919613042522002, "margin_own_knows": 15.666013315195528, "margin_own_knows_corrupted": 3.0000369807873994 }, "google/gemma-2-2b-it chat": { "knows": 48, "unknown": 227, "decision_C_knows": 0, "decision_C_unknown": 0, "decision_C_knows_corrupted": 0, "margin_decision_knows": -9.788022445548222, "margin_decision_unknown": -12.710343532725414, "margin_decision_knows_corrupted": -11.966581784222853, "margin_own_knows": 8.924338670166131, "margin_own_knows_corrupted": 3.2912048069538287 }, "google/gemma-2-9b-it plain": { "knows": 118, "unknown": 157, "decision_C_knows": 84, "decision_C_unknown": 22, "decision_C_knows_corrupted": 34, "margin_decision_knows": 3.422964362850688, "margin_decision_unknown": -4.531371865066469, "margin_decision_knows_corrupted": -2.909979727222264, "margin_own_knows": 18.073421535936355, "margin_own_knows_corrupted": 2.678295963848668 }, "google/gemma-2-9b-it chat": { "knows": 77, "unknown": 198, "decision_C_knows": 39, "decision_C_unknown": 18, "decision_C_knows_corrupted": 5, "margin_decision_knows": 0.4834219683457384, "margin_decision_unknown": -8.240126551843014, "margin_decision_knows_corrupted": -7.802333591049247, "margin_own_knows": 9.471673703101963, "margin_own_knows_corrupted": 2.6797916294815987 } }, "versions": { "torch": "2.11.0+cu128", "transformers": "5.24.1" }, "gpu_type": "NVIDIA A100-SXM4-40GB", "seconds": 1808.6778018474579, "peak_host_gb": 10.695148468017578, "peak_gpu_gb": 24.05794620513916, "n_rows": 680}10 unmodified lines111213141510 unmodified lines{"path": "facts82/s_checks/20261128-1d8eb97", "op": "s_checks", "input": "facts82", "run": "20261128-1d8eb97", "question": "Do the core's prompts, batching, teacher forcing, residual-stream reads and edits give what the reference implementations give?", "models": [], "gpu_type": "NVIDIA A100-SXM4-40GB", "seconds": 58.93433690071106, "peak_gpu_gb": 8.200170993804932, "n_rows": null, "notes": {"chat_vs_template": 0, "plain_bos": 0, "base_vs_it_tokens": 0, "n_conversations": 656, "generate_batched_equal": 0.75, "logprob_batched_maxdiff": 0.17620614543557167, "resid_vs_hidden_maxdiff": 6.0, "resid_vs_hidden_maxrel": 0.019768476486206055, "entity_token_found": 1.0, "edit_position_maxrel_generate": 0.018120380118489265, "edit_position_maxrel_logprob": 0.015995902940630913}}{"path": "obscure/s_interchange/20261128-162fdac", "op": "s_interchange", "input": "obscure", "run": "20261128-162fdac", "question": "Does Gemma 2 read its entity latents when it is challenged? When the known- and unknown-entity latents at the entity's last token are set to the values they take on an entity of the other kind (one the model does not know, if it knows this one, and the reverse), or far beyond them, does it keep, take or say it is unsure differently?", "models": ["google/gemma-2-2b", "google/gemma-2-2b-it", "google/gemma-2-9b", "google/gemma-2-9b-it"], "gpu_type": "NVIDIA A100-SXM4-40GB", "seconds": 241.7976987361908, "peak_gpu_gb": 9.661916255950928, "n_rows": null, "notes": {}}{"path": "obscure/s_interchange/20261128-1d8eb97", "op": "s_interchange", "input": "obscure", "run": "20261128-1d8eb97", "question": "Does Gemma 2 read its entity latents when it is challenged? When the known- and unknown-entity latents at the entity's last token are set to the values they take on an entity of the other kind (one the model does not know, if it knows this one, and the reverse), or far beyond them, does it keep, take or say it is unsure differently?", "models": ["google/gemma-2-2b", "google/gemma-2-2b-it", "google/gemma-2-9b", "google/gemma-2-9b-it"], "gpu_type": "NVIDIA A100-SXM4-40GB", "seconds": 1913.385715007782, "peak_gpu_gb": 25.39094638824463, "n_rows": 9900, "notes": {}}{"path": "facts82/s_checks/20261128-22dcff3", "op": "s_checks", "input": "facts82", "run": "20261128-22dcff3", "question": "Do the core's prompts, batching, teacher forcing, residual-stream reads and edits give what the reference implementations give?", "models": [], "gpu_type": "NVIDIA A100-SXM4-40GB", "seconds": 64.40882158279419, "peak_gpu_gb": 8.200170993804932, "n_rows": null, "notes": {"chat_vs_template": 0, "plain_bos": 0, "base_vs_it_tokens": 0, "n_conversations": 656, "generate_batched_equal": 0.75, "logprob_batched_maxdiff": 0.17620614543557167, "resid_vs_hidden_maxdiff": 6.0, "resid_vs_hidden_maxrel": 0.019768476486206055, "entity_token_found": 1.0, "edit_position_maxrel_generate": 0.018120380118489265, "edit_position_maxrel_logprob": 0.015995902940630913}}{"path": "obscure/s_trace/20261128-22dcff3", "op": "s_trace", "input": "obscure", "run": "20261128-22dcff3", "question": "Where does what Gemma 2 knows about an entity enter its decision to keep its answer or take the user's wrong one? With the entity's name corrupted, at which tokens and layers does restoring the clean residual stream restore the decision?", "models": ["google/gemma-2-2b-it", "google/gemma-2-9b-it"], "gpu_type": "NVIDIA A100-SXM4-40GB", "seconds": 1808.6778018474579, "peak_gpu_gb": 24.05794620513916, "n_rows": 680, "notes": {"google/gemma-2-2b-it plain": {"knows": 64, "unknown": 211, "decision_C_knows": 32, "decision_C_unknown": 32, "decision_C_knows_corrupted": 4, "margin_decision_knows": -0.5779251440149693, "margin_decision_unknown": -4.819650330047574, "margin_decision_knows_corrupted": -5.919613042522002, "margin_own_knows": 15.666013315195528, "margin_own_knows_corrupted": 3.0000369807873994}, "google/gemma-2-2b-it chat": {"knows": 48, "unknown": 227, "decision_C_knows": 0, "decision_C_unknown": 0, "decision_C_knows_corrupted": 0, "margin_decision_knows": -9.788022445548222, "margin_decision_unknown": -12.710343532725414, "margin_decision_knows_corrupted": -11.966581784222853, "margin_own_knows": 8.924338670166131, "margin_own_knows_corrupted": 3.2912048069538287}, "google/gemma-2-9b-it plain": {"knows": 118, "unknown": 157, "decision_C_knows": 84, "decision_C_unknown": 22, "decision_C_knows_corrupted": 34, "margin_decision_knows": 3.422964362850688, "margin_decision_unknown": -4.531371865066469, "margin_decision_knows_corrupted": -2.909979727222264, "margin_own_knows": 18.073421535936355, "margin_own_knows_corrupted": 2.678295963848668}, "google/gemma-2-9b-it chat": {"knows": 77, "unknown": 198, "decision_C_knows": 39, "decision_C_unknown": 18, "decision_C_knows_corrupted": 5, "margin_decision_knows": 0.4834219683457384, "margin_decision_unknown": -8.240126551843014, "margin_decision_knows_corrupted": -7.802333591049247, "margin_own_knows": 9.471673703101963, "margin_own_knows_corrupted": 2.6797916294815987}}}facts82/s_checks/20261128-22dcff3/run.jsonAdded+38
obscure/s_trace/20261128-22dcff3/rows.parquetAdded+3
obscure/s_trace/20261128-22dcff3/run.jsonAdded+212
runs.jsonl+2