Upload folder using huggingface_hub
Browse filesFiles changed (12)
- runs.jsonl+2
- swissprot-depth/contact_rank/20261120-edb87f0/rank.ptAdded+3
- swissprot-depth/contact_rank/20261120-edb87f0/run-0of8.jsonAdded+41
- swissprot-depth/contact_rank/20261120-edb87f0/run-1of8.jsonAdded+41
- swissprot-depth/contact_rank/20261120-edb87f0/run-2of8.jsonAdded+41
- swissprot-depth/contact_rank/20261120-edb87f0/run-3of8.jsonAdded+41
- swissprot-depth/contact_rank/20261120-edb87f0/run-4of8.jsonAdded+41
- swissprot-depth/contact_rank/20261120-edb87f0/run-5of8.jsonAdded+41
- swissprot-depth/contact_rank/20261120-edb87f0/run-6of8.jsonAdded+41
- swissprot-depth/contact_rank/20261120-edb87f0/run-7of8.jsonAdded+41
- swissprot-depth/contact_rank/20261120-edb87f0/run-reduce.jsonAdded+277
- swissprot-random/checks/20261120-edb87f0/run-0of1.jsonAdded+64
55 unmodified lines56575855 unmodified lines{"input": "swissprot-random", "op": "checks", "run": "20261117-16501a1", "path": "swissprot-random/checks/20261117-16501a1", "question": "Does our forward pass of ESM C 6B give exactly Biohub's logits and SAE feature values while exposing every unit's gate, value and activation, every attention head's output and every block's residual state? What does each kind of access cost?", "upstream": [], "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 1, "seconds": 78.45300602912903, "tok_s": 1335.6484114350878, "fwd_equiv": {"forward_backward_all_units": 1.638550807329034, "forward_tapped": 1.0001622926245253, "forward_to_60": 0.7493135993794707, "forward_with_patterns": 1.1586913997775794}, "peak_gpu_gb": 35.574951171875, "peak_host_gb": 33.8482666015625, "notes": {"checks": {"write_rebuild_max_rel": 7.948748134367634e-06, "edit_to_current_max_abs": 0.0, "logits_vs_biohub_max_abs": 0.0, "feature_vs_biohub_max_abs": 0.0, "feature_support_mismatch": 0.0, "feature_max": 30.605085372924805, "sae_idf_max_are_ones": true}, "batch": [8, 1024], "grad_nonzero": 0.9833496809005737}, "cheaper": []}{"input": "swissprot-random", "op": "checks", "run": "20261117-2d837fc", "path": "swissprot-random/checks/20261117-2d837fc", "question": "Does our forward pass of ESM C 6B give exactly Biohub's logits and SAE feature values while exposing every unit's gate, value and activation, every attention head's output and every block's residual state? What does each kind of access cost?", "upstream": [], "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 1, "seconds": 75.64423441886902, "tok_s": 1335.3785340385762, "fwd_equiv": {"forward_backward_all_units": 1.6387277647676268, "forward_tapped": 1.0000279048046634, "forward_to_60": 0.7492709772620147, "forward_with_patterns": 1.1585793127614035}, "peak_gpu_gb": 35.574951171875, "peak_host_gb": 33.812801361083984, "notes": {"checks": {"write_rebuild_max_rel": 7.948748134367634e-06, "edit_to_current_max_abs": 0.0, "logits_vs_biohub_max_abs": 0.0, "feature_vs_biohub_max_abs": 0.0, "feature_support_mismatch": 0.0, "feature_max": 30.605085372924805, "sae_idf_max_are_ones": true}, "batch": [8, 1024], "grad_nonzero": 0.9833496809005737}, "cheaper": []}{"input": "swissprot-random", "op": "checks", "run": "20261117-e90a77a", "path": "swissprot-random/checks/20261117-e90a77a", "question": "Does our forward pass of ESM C 6B give exactly Biohub's logits and SAE feature values while exposing every unit's gate, value and activation, every attention head's output and every block's residual state? What does each kind of access cost?", "upstream": [], "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 1, "seconds": 75.45090794563293, "tok_s": 1335.8268322923122, "fwd_equiv": {"forward_backward_all_units": 1.6382810763564977, "forward_tapped": 0.999750832963963, "forward_to_60": 0.7489841748801916, "forward_with_patterns": 1.1590189544618374}, "peak_gpu_gb": 35.574951171875, "peak_host_gb": 33.820274353027344, "notes": {"checks": {"write_rebuild_max_rel": 7.948748134367634e-06, "edit_to_current_max_abs": 0.0, "logits_vs_biohub_max_abs": 0.0, "feature_vs_biohub_max_abs": 0.0, "feature_support_mismatch": 0.0, "feature_max": 30.605085372924805, "sae_idf_max_are_ones": true}, "batch": [8, 1024], "grad_nonzero": 0.9833496809005737}, "cheaper": []}55 unmodified lines565758596055 unmodified lines{"input": "swissprot-random", "op": "checks", "run": "20261117-16501a1", "path": "swissprot-random/checks/20261117-16501a1", "question": "Does our forward pass of ESM C 6B give exactly Biohub's logits and SAE feature values while exposing every unit's gate, value and activation, every attention head's output and every block's residual state? What does each kind of access cost?", "upstream": [], "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 1, "seconds": 78.45300602912903, "tok_s": 1335.6484114350878, "fwd_equiv": {"forward_backward_all_units": 1.638550807329034, "forward_tapped": 1.0001622926245253, "forward_to_60": 0.7493135993794707, "forward_with_patterns": 1.1586913997775794}, "peak_gpu_gb": 35.574951171875, "peak_host_gb": 33.8482666015625, "notes": {"checks": {"write_rebuild_max_rel": 7.948748134367634e-06, "edit_to_current_max_abs": 0.0, "logits_vs_biohub_max_abs": 0.0, "feature_vs_biohub_max_abs": 0.0, "feature_support_mismatch": 0.0, "feature_max": 30.605085372924805, "sae_idf_max_are_ones": true}, "batch": [8, 1024], "grad_nonzero": 0.9833496809005737}, "cheaper": []}{"input": "swissprot-random", "op": "checks", "run": "20261117-2d837fc", "path": "swissprot-random/checks/20261117-2d837fc", "question": "Does our forward pass of ESM C 6B give exactly Biohub's logits and SAE feature values while exposing every unit's gate, value and activation, every attention head's output and every block's residual state? What does each kind of access cost?", "upstream": [], "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 1, "seconds": 75.64423441886902, "tok_s": 1335.3785340385762, "fwd_equiv": {"forward_backward_all_units": 1.6387277647676268, "forward_tapped": 1.0000279048046634, "forward_to_60": 0.7492709772620147, "forward_with_patterns": 1.1585793127614035}, "peak_gpu_gb": 35.574951171875, "peak_host_gb": 33.812801361083984, "notes": {"checks": {"write_rebuild_max_rel": 7.948748134367634e-06, "edit_to_current_max_abs": 0.0, "logits_vs_biohub_max_abs": 0.0, "feature_vs_biohub_max_abs": 0.0, "feature_support_mismatch": 0.0, "feature_max": 30.605085372924805, "sae_idf_max_are_ones": true}, "batch": [8, 1024], "grad_nonzero": 0.9833496809005737}, "cheaper": []}{"input": "swissprot-random", "op": "checks", "run": "20261117-e90a77a", "path": "swissprot-random/checks/20261117-e90a77a", "question": "Does our forward pass of ESM C 6B give exactly Biohub's logits and SAE feature values while exposing every unit's gate, value and activation, every attention head's output and every block's residual state? What does each kind of access cost?", "upstream": [], "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 1, "seconds": 75.45090794563293, "tok_s": 1335.8268322923122, "fwd_equiv": {"forward_backward_all_units": 1.6382810763564977, "forward_tapped": 0.999750832963963, "forward_to_60": 0.7489841748801916, "forward_with_patterns": 1.1590189544618374}, "peak_gpu_gb": 35.574951171875, "peak_host_gb": 33.820274353027344, "notes": {"checks": {"write_rebuild_max_rel": 7.948748134367634e-06, "edit_to_current_max_abs": 0.0, "logits_vs_biohub_max_abs": 0.0, "feature_vs_biohub_max_abs": 0.0, "feature_support_mismatch": 0.0, "feature_max": 30.605085372924805, "sae_idf_max_are_ones": true}, "batch": [8, 1024], "grad_nonzero": 0.9833496809005737}, "cheaper": []}{"input": "swissprot-depth", "op": "contact_rank", "run": "20261120-edb87f0", "path": "swissprot-depth/contact_rank/20261120-edb87f0", "question": "Which attention heads show a protein's contacts in their attention, and which heads and units carry the coupling between residues in contact? On the train proteins of an input but KEPT of them, set aside for s_contact_edits. Per head: of the L residue pairs, 24 or more apart, that its attention weighs most (the pattern among the residues, made symmetric, less row mean times column mean over the mean), how many are in contact in the protein's AlphaFold model? Per head and per unit: SUBS residues of each protein are replaced by another amino acid each. The gap is the change of the amino-acid logits at the residues in contact with the replaced one less that at residues equally far along the chain and not in contact. To first order, how much of the gap would go if the head's output or the unit's activation were held at its value on the unchanged protein (the gradient of the gap times the change of the value, summed over residues)?", "upstream": [], "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 8, "seconds": 234.71436381340027, "tok_s": 1394.5035116882596, "fwd_equiv": {"forward_backward": 2.271143576477626, "forward_with_patterns": 1.8863828827106046}, "peak_gpu_gb": 35.72701930999756, "peak_host_gb": 33.8131217956543, "notes": {"done": 11, "proteins": 90, "kept": [4, 9, 17, 21, 31, 51, 55, 58, 65, 70, 71, 75, 95, 107, 112], "readable_precision": {"1": 0.4980655312538147, "8": 0.4480496644973755, "64": 0.1853807270526886, "512": 0.045133039355278015}, "top8": {"readable": [[78, 4], [78, 6], [78, 23], [79, 39], [75, 7], [79, 2], [76, 20], [79, 11]], "grad_heads": [[79, 10], [79, 15], [79, 23], [79, 19], [78, 23], [79, 16], [79, 32], [79, 17]], "grad_units": [[78, 6464], [78, 4378], [77, 1359], [78, 2281], [50, 282], [79, 3510], [79, 512], [78, 1164]]}, "heads_in_both": {"8": 1, "64": 32, "512": 159}, "by_8_blocks": {"readable": {"8": [0, 0, 0, 0, 0, 0, 0, 0, 0, 8], "64": [0, 0, 0, 0, 0, 0, 0, 1, 8, 55], "512": [17, 13, 18, 12, 26, 20, 61, 56, 82, 207]}, "grad_heads": {"8": [0, 0, 0, 0, 0, 0, 0, 0, 0, 8], "64": [5, 0, 0, 0, 0, 3, 2, 0, 0, 54], "512": [47, 18, 12, 9, 15, 58, 73, 53, 80, 147]}, "grad_units": {"64": [0, 0, 0, 0, 0, 2, 7, 1, 1, 53], "512": [1, 5, 0, 0, 1, 14, 28, 8, 11, 444], "4096": [32, 35, 5, 13, 18, 63, 136, 75, 95, 3624]}}}, "cheaper": []}{"input": "swissprot-random", "op": "checks", "run": "20261120-edb87f0", "path": "swissprot-random/checks/20261120-edb87f0", "question": "Does our forward pass of ESM C 6B give exactly Biohub's logits and SAE feature values while exposing every unit's gate, value and activation, every attention head's output and every block's residual state? What does each kind of access cost?", "upstream": [], "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 1, "seconds": 78.10475087165833, "tok_s": 1335.62582662885, "fwd_equiv": {"forward_backward_all_units": 1.6384139485800355, "forward_tapped": 0.9998538419281795, "forward_to_60": 0.7490396326270219, "forward_with_patterns": 1.1587762169097737}, "peak_gpu_gb": 35.574951171875, "peak_host_gb": 33.84626007080078, "notes": {"checks": {"write_rebuild_max_rel": 7.948748134367634e-06, "edit_to_current_max_abs": 0.0, "logits_vs_biohub_max_abs": 0.0, "feature_vs_biohub_max_abs": 0.0, "feature_support_mismatch": 0.0, "feature_max": 30.605085372924805, "sae_idf_max_are_ones": true}, "batch": [8, 1024], "grad_nonzero": 0.9833496809005737}, "cheaper": []}
123version https://git-lfs.github.com/spec/v1oid sha256:c8ed47a58d681418897ac537572534ec8d018726e332c2f2c833bb975211626esize 72912421234567891011121314151617181920212223242526272829303132333435363738394041{ "op": "contact_rank", "input": "swissprot-depth", "run": "20261120-edb87f0", "question": "Which attention heads show a protein's contacts in their attention, and which heads and units carry the coupling between residues in contact? On the train proteins of an input but KEPT of them, set aside for s_contact_edits. Per head: of the L residue pairs, 24 or more apart, that its attention weighs most (the pattern among the residues, made symmetric, less row mean times column mean over the mean), how many are in contact in the protein's AlphaFold model? Per head and per unit: SUBS residues of each protein are replaced by another amino acid each. The gap is the change of the amino-acid logits at the residues in contact with the replaced one less that at residues equally far along the chain and not in contact. To first order, how much of the gap would go if the head's output or the unit's activation were held at its value on the unchanged protein (the gradient of the gap times the change of the value, summed over residues)?", "shard": [ 0, 8 ], "argv": [ "/home/ubuntu/sky_workdir/scripts/s_contact_rank.py", "--shard", "0/8", "--input", "swissprot-depth" ], "upstream": [], "tok_s": 1399.682329340086, "ops": { "forward_with_patterns": { "seconds": 2.2595908641815186, "tokens": 1667, "fwd_equiv": 1.8972461932412512 }, "forward_backward": { "seconds": 174.96673250198364, "tokens": 106688, "fwd_equiv": 2.295458193099507 } }, "stages": {}, "cheaper": [], "notes": { "done": 12 }, "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 8, "seconds": 225.42520928382874, "peak_host_gb": 33.809452056884766, "peak_gpu_gb": 35.612531661987305}1234567891011121314151617181920212223242526272829303132333435363738394041{ "op": "contact_rank", "input": "swissprot-depth", "run": "20261120-edb87f0", "question": "Which attention heads show a protein's contacts in their attention, and which heads and units carry the coupling between residues in contact? On the train proteins of an input but KEPT of them, set aside for s_contact_edits. Per head: of the L residue pairs, 24 or more apart, that its attention weighs most (the pattern among the residues, made symmetric, less row mean times column mean over the mean), how many are in contact in the protein's AlphaFold model? Per head and per unit: SUBS residues of each protein are replaced by another amino acid each. The gap is the change of the amino-acid logits at the residues in contact with the replaced one less that at residues equally far along the chain and not in contact. To first order, how much of the gap would go if the head's output or the unit's activation were held at its value on the unchanged protein (the gradient of the gap times the change of the value, summed over residues)?", "shard": [ 1, 8 ], "argv": [ "/home/ubuntu/sky_workdir/scripts/s_contact_rank.py", "--shard", "1/8", "--input", "swissprot-depth" ], "upstream": [], "tok_s": 1391.6812158035887, "ops": { "forward_with_patterns": { "seconds": 2.291177272796631, "tokens": 1731, "fwd_equiv": 1.8420498975315804 }, "forward_backward": { "seconds": 180.10611081123352, "tokens": 110784, "fwd_equiv": 2.2625134610361903 } }, "stages": {}, "cheaper": [], "notes": { "done": 12 }, "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 8, "seconds": 234.71436381340027, "peak_host_gb": 33.80839538574219, "peak_gpu_gb": 35.66568660736084}1234567891011121314151617181920212223242526272829303132333435363738394041{ "op": "contact_rank", "input": "swissprot-depth", "run": "20261120-edb87f0", "question": "Which attention heads show a protein's contacts in their attention, and which heads and units carry the coupling between residues in contact? On the train proteins of an input but KEPT of them, set aside for s_contact_edits. Per head: of the L residue pairs, 24 or more apart, that its attention weighs most (the pattern among the residues, made symmetric, less row mean times column mean over the mean), how many are in contact in the protein's AlphaFold model? Per head and per unit: SUBS residues of each protein are replaced by another amino acid each. The gap is the change of the amino-acid logits at the residues in contact with the replaced one less that at residues equally far along the chain and not in contact. To first order, how much of the gap would go if the head's output or the unit's activation were held at its value on the unchanged protein (the gradient of the gap times the change of the value, summed over residues)?", "shard": [ 2, 8 ], "argv": [ "/home/ubuntu/sky_workdir/scripts/s_contact_rank.py", "--shard", "2/8", "--input", "swissprot-depth" ], "upstream": [], "tok_s": 1400.001057941023, "ops": { "forward_with_patterns": { "seconds": 2.0659537315368652, "tokens": 1518, "fwd_equiv": 1.9053606125222762 }, "forward_backward": { "seconds": 158.49116849899292, "tokens": 97152, "fwd_equiv": 2.283924196855433 } }, "stages": {}, "cheaper": [], "notes": { "done": 11 }, "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 8, "seconds": 206.92991089820862, "peak_host_gb": 33.81217575073242, "peak_gpu_gb": 35.43564176559448}1234567891011121314151617181920212223242526272829303132333435363738394041{ "op": "contact_rank", "input": "swissprot-depth", "run": "20261120-edb87f0", "question": "Which attention heads show a protein's contacts in their attention, and which heads and units carry the coupling between residues in contact? On the train proteins of an input but KEPT of them, set aside for s_contact_edits. Per head: of the L residue pairs, 24 or more apart, that its attention weighs most (the pattern among the residues, made symmetric, less row mean times column mean over the mean), how many are in contact in the protein's AlphaFold model? Per head and per unit: SUBS residues of each protein are replaced by another amino acid each. The gap is the change of the amino-acid logits at the residues in contact with the replaced one less that at residues equally far along the chain and not in contact. To first order, how much of the gap would go if the head's output or the unit's activation were held at its value on the unchanged protein (the gradient of the gap times the change of the value, summed over residues)?", "shard": [ 3, 8 ], "argv": [ "/home/ubuntu/sky_workdir/scripts/s_contact_rank.py", "--shard", "3/8", "--input", "swissprot-depth" ], "upstream": [], "tok_s": 1394.573908678969, "ops": { "forward_with_patterns": { "seconds": 1.9541292190551758, "tokens": 1405, "fwd_equiv": 1.9396282014815358 }, "forward_backward": { "seconds": 145.5691692829132, "tokens": 89920, "fwd_equiv": 2.2576397396577264 } }, "stages": {}, "cheaper": [], "notes": { "done": 11 }, "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 8, "seconds": 191.2432587146759, "peak_host_gb": 33.81203079223633, "peak_gpu_gb": 35.53756523132324}1234567891011121314151617181920212223242526272829303132333435363738394041{ "op": "contact_rank", "input": "swissprot-depth", "run": "20261120-edb87f0", "question": "Which attention heads show a protein's contacts in their attention, and which heads and units carry the coupling between residues in contact? On the train proteins of an input but KEPT of them, set aside for s_contact_edits. Per head: of the L residue pairs, 24 or more apart, that its attention weighs most (the pattern among the residues, made symmetric, less row mean times column mean over the mean), how many are in contact in the protein's AlphaFold model? Per head and per unit: SUBS residues of each protein are replaced by another amino acid each. The gap is the change of the amino-acid logits at the residues in contact with the replaced one less that at residues equally far along the chain and not in contact. To first order, how much of the gap would go if the head's output or the unit's activation were held at its value on the unchanged protein (the gradient of the gap times the change of the value, summed over residues)?", "shard": [ 4, 8 ], "argv": [ "/home/ubuntu/sky_workdir/scripts/s_contact_rank.py", "--shard", "4/8", "--input", "swissprot-depth" ], "upstream": [], "tok_s": 1386.8733539743562, "ops": { "forward_with_patterns": { "seconds": 2.05220365524292, "tokens": 1480, "fwd_equiv": 1.9230720043143121 }, "forward_backward": { "seconds": 155.845055103302, "tokens": 94720, "fwd_equiv": 2.281855513845384 } }, "stages": {}, "cheaper": [], "notes": { "done": 11 }, "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 8, "seconds": 205.31715488433838, "peak_host_gb": 33.80459976196289, "peak_gpu_gb": 35.72701930999756}1234567891011121314151617181920212223242526272829303132333435363738394041{ "op": "contact_rank", "input": "swissprot-depth", "run": "20261120-edb87f0", "question": "Which attention heads show a protein's contacts in their attention, and which heads and units carry the coupling between residues in contact? On the train proteins of an input but KEPT of them, set aside for s_contact_edits. Per head: of the L residue pairs, 24 or more apart, that its attention weighs most (the pattern among the residues, made symmetric, less row mean times column mean over the mean), how many are in contact in the protein's AlphaFold model? Per head and per unit: SUBS residues of each protein are replaced by another amino acid each. The gap is the change of the amino-acid logits at the residues in contact with the replaced one less that at residues equally far along the chain and not in contact. To first order, how much of the gap would go if the head's output or the unit's activation were held at its value on the unchanged protein (the gradient of the gap times the change of the value, summed over residues)?", "shard": [ 5, 8 ], "argv": [ "/home/ubuntu/sky_workdir/scripts/s_contact_rank.py", "--shard", "5/8", "--input", "swissprot-depth" ], "upstream": [], "tok_s": 1394.6378306866366, "ops": { "forward_with_patterns": { "seconds": 2.2031643390655518, "tokens": 1654, "fwd_equiv": 1.857688231245791 }, "forward_backward": { "seconds": 171.44923901557922, "tokens": 105856, "fwd_equiv": 2.25881947904287 } }, "stages": {}, "cheaper": [], "notes": { "done": 11 }, "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 8, "seconds": 220.7823178768158, "peak_host_gb": 33.809326171875, "peak_gpu_gb": 35.644816398620605}1234567891011121314151617181920212223242526272829303132333435363738394041{ "op": "contact_rank", "input": "swissprot-depth", "run": "20261120-edb87f0", "question": "Which attention heads show a protein's contacts in their attention, and which heads and units carry the coupling between residues in contact? On the train proteins of an input but KEPT of them, set aside for s_contact_edits. Per head: of the L residue pairs, 24 or more apart, that its attention weighs most (the pattern among the residues, made symmetric, less row mean times column mean over the mean), how many are in contact in the protein's AlphaFold model? Per head and per unit: SUBS residues of each protein are replaced by another amino acid each. The gap is the change of the amino-acid logits at the residues in contact with the replaced one less that at residues equally far along the chain and not in contact. To first order, how much of the gap would go if the head's output or the unit's activation were held at its value on the unchanged protein (the gradient of the gap times the change of the value, summed over residues)?", "shard": [ 6, 8 ], "argv": [ "/home/ubuntu/sky_workdir/scripts/s_contact_rank.py", "--shard", "6/8", "--input", "swissprot-depth" ], "upstream": [], "tok_s": 1391.8793906687526, "ops": { "forward_with_patterns": { "seconds": 2.1443607807159424, "tokens": 1567, "fwd_equiv": 1.9047170241460605 }, "forward_backward": { "seconds": 162.2026424407959, "tokens": 100288, "fwd_equiv": 2.2511817478198446 } }, "stages": {}, "cheaper": [], "notes": { "done": 11 }, "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 8, "seconds": 212.3832938671112, "peak_host_gb": 33.80555725097656, "peak_gpu_gb": 35.689642906188965}1234567891011121314151617181920212223242526272829303132333435363738394041{ "op": "contact_rank", "input": "swissprot-depth", "run": "20261120-edb87f0", "question": "Which attention heads show a protein's contacts in their attention, and which heads and units carry the coupling between residues in contact? On the train proteins of an input but KEPT of them, set aside for s_contact_edits. Per head: of the L residue pairs, 24 or more apart, that its attention weighs most (the pattern among the residues, made symmetric, less row mean times column mean over the mean), how many are in contact in the protein's AlphaFold model? Per head and per unit: SUBS residues of each protein are replaced by another amino acid each. The gap is the change of the amino-acid logits at the residues in contact with the replaced one less that at residues equally far along the chain and not in contact. To first order, how much of the gap would go if the head's output or the unit's activation were held at its value on the unchanged protein (the gradient of the gap times the change of the value, summed over residues)?", "shard": [ 7, 8 ], "argv": [ "/home/ubuntu/sky_workdir/scripts/s_contact_rank.py", "--shard", "7/8", "--input", "swissprot-depth" ], "upstream": [], "tok_s": 1396.6990064126644, "ops": { "forward_with_patterns": { "seconds": 2.0837981700897217, "tokens": 1598, "fwd_equiv": 1.821300897202029 }, "forward_backward": { "seconds": 166.7866084575653, "tokens": 102272, "fwd_equiv": 2.277756280464052 } }, "stages": {}, "cheaper": [], "notes": { "done": 11 }, "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 8, "seconds": 213.34520530700684, "peak_host_gb": 33.8131217956543, "peak_gpu_gb": 35.60761642456055}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277{ "op": "contact_rank", "input": "swissprot-depth", "run": "20261120-edb87f0", "question": "Which attention heads show a protein's contacts in their attention, and which heads and units carry the coupling between residues in contact? On the train proteins of an input but KEPT of them, set aside for s_contact_edits. Per head: of the L residue pairs, 24 or more apart, that its attention weighs most (the pattern among the residues, made symmetric, less row mean times column mean over the mean), how many are in contact in the protein's AlphaFold model? Per head and per unit: SUBS residues of each protein are replaced by another amino acid each. The gap is the change of the amino-acid logits at the residues in contact with the replaced one less that at residues equally far along the chain and not in contact. To first order, how much of the gap would go if the head's output or the unit's activation were held at its value on the unchanged protein (the gradient of the gap times the change of the value, summed over residues)?", "shard": [ 0, 1 ], "argv": [ "/home/ubuntu/sky_workdir/scripts/s_contact_rank.py", "--input", "swissprot-depth", "--reduce" ], "upstream": [], "tok_s": null, "ops": {}, "stages": {}, "cheaper": [], "notes": { "proteins": 90, "kept": [ 4, 9, 17, 21, 31, 51, 55, 58, 65, 70, 71, 75, 95, 107, 112 ], "readable_precision": { "1": 0.4980655312538147, "8": 0.4480496644973755, "64": 0.1853807270526886, "512": 0.045133039355278015 }, "top8": { "readable": [ [ 78, 4 ], [ 78, 6 ], [ 78, 23 ], [ 79, 39 ], [ 75, 7 ], [ 79, 2 ], [ 76, 20 ], [ 79, 11 ] ], "grad_heads": [ [ 79, 10 ], [ 79, 15 ], [ 79, 23 ], [ 79, 19 ], [ 78, 23 ], [ 79, 16 ], [ 79, 32 ], [ 79, 17 ] ], "grad_units": [ [ 78, 6464 ], [ 78, 4378 ], [ 77, 1359 ], [ 78, 2281 ], [ 50, 282 ], [ 79, 3510 ], [ 79, 512 ], [ 78, 1164 ] ] }, "heads_in_both": { "8": 1, "64": 32, "512": 159 }, "by_8_blocks": { "readable": { "8": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 8 ], "64": [ 0, 0, 0, 0, 0, 0, 0, 1, 8, 55 ], "512": [ 17, 13, 18, 12, 26, 20, 61, 56, 82, 207 ] }, "grad_heads": { "8": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 8 ], "64": [ 5, 0, 0, 0, 0, 3, 2, 0, 0, 54 ], "512": [ 47, 18, 12, 9, 15, 58, 73, 53, 80, 147 ] }, "grad_units": { "64": [ 0, 0, 0, 0, 0, 2, 7, 1, 1, 53 ], "512": [ 1, 5, 0, 0, 1, 14, 28, 8, 11, 444 ], "4096": [ 32, 35, 5, 13, 18, 63, 136, 75, 95, 3624 ] } } }, "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 1, "seconds": 0.2424602508544922, "peak_host_gb": 0.7171249389648438, "peak_gpu_gb": 0.0}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ "op": "checks", "input": "swissprot-random", "run": "20261120-edb87f0", "question": "Does our forward pass of ESM C 6B give exactly Biohub's logits and SAE feature values while exposing every unit's gate, value and activation, every attention head's output and every block's residual state? What does each kind of access cost?", "shard": [ 0, 1 ], "argv": [ "/home/ubuntu/sky_workdir/scripts/s_checks.py", "--shard", "0/1", "--input", "swissprot-random" ], "upstream": [], "tok_s": 1335.62582662885, "ops": { "forward_to_60": { "seconds": 4.594200372695923, "tokens": 8192, "fwd_equiv": 0.7490396326270219 }, "forward_tapped": { "seconds": 6.1325578689575195, "tokens": 8192, "fwd_equiv": 0.9998538419281795 }, "forward_with_patterns": { "seconds": 7.1073009967803955, "tokens": 8192, "fwd_equiv": 1.1587762169097737 }, "forward_backward_all_units": { "seconds": 1.2561421394348145, "tokens": 1024, "fwd_equiv": 1.6384139485800355 } }, "stages": {}, "cheaper": [], "notes": { "checks": { "write_rebuild_max_rel": 7.948748134367634e-06, "edit_to_current_max_abs": 0.0, "logits_vs_biohub_max_abs": 0.0, "feature_vs_biohub_max_abs": 0.0, "feature_support_mismatch": 0.0, "feature_max": 30.605085372924805, "sae_idf_max_are_ones": true }, "batch": [ 8, 1024 ], "grad_nonzero": 0.9833496809005737 }, "gpu_type": "NVIDIA A100-SXM4-40GB", "gpu_count": 1, "seconds": 78.10475087165833, "peak_host_gb": 33.84626007080078, "peak_gpu_gb": 35.574951171875}runs.jsonl+2
swissprot-depth/contact_rank/20261120-edb87f0/rank.ptAdded+3
swissprot-depth/contact_rank/20261120-edb87f0/run-0of8.jsonAdded+41
swissprot-depth/contact_rank/20261120-edb87f0/run-1of8.jsonAdded+41
swissprot-depth/contact_rank/20261120-edb87f0/run-2of8.jsonAdded+41
swissprot-depth/contact_rank/20261120-edb87f0/run-3of8.jsonAdded+41
swissprot-depth/contact_rank/20261120-edb87f0/run-4of8.jsonAdded+41
swissprot-depth/contact_rank/20261120-edb87f0/run-5of8.jsonAdded+41
swissprot-depth/contact_rank/20261120-edb87f0/run-6of8.jsonAdded+41
swissprot-depth/contact_rank/20261120-edb87f0/run-7of8.jsonAdded+41
swissprot-depth/contact_rank/20261120-edb87f0/run-reduce.jsonAdded+277
swissprot-random/checks/20261120-edb87f0/run-0of1.jsonAdded+64