Upload folder using huggingface_hub
Browse files
gemma_scope/core_1M/gemma-scope-2b-pt-res_layer_12_width_1m_average_l0_19_eval_results.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eval_type_id": "core",
|
| 3 |
+
"eval_config": {
|
| 4 |
+
"model_name": "gemma-2-2b",
|
| 5 |
+
"llm_dtype": "bfloat16",
|
| 6 |
+
"batch_size_prompts": 2,
|
| 7 |
+
"n_eval_reconstruction_batches": 1600,
|
| 8 |
+
"n_eval_sparsity_variance_batches": 16000,
|
| 9 |
+
"dataset": "Skylion007/openwebtext",
|
| 10 |
+
"context_size": 128,
|
| 11 |
+
"compute_kl": true,
|
| 12 |
+
"compute_ce_loss": true,
|
| 13 |
+
"compute_l2_norms": true,
|
| 14 |
+
"compute_sparsity_metrics": true,
|
| 15 |
+
"compute_variance_metrics": true,
|
| 16 |
+
"compute_featurewise_density_statistics": false,
|
| 17 |
+
"compute_featurewise_weight_based_metrics": false,
|
| 18 |
+
"exclude_special_tokens_from_reconstruction": true,
|
| 19 |
+
"verbose": false
|
| 20 |
+
},
|
| 21 |
+
"eval_id": "a4041870-141a-4321-9012-28d11da1b3cc",
|
| 22 |
+
"datetime_epoch_millis": 1733113515858,
|
| 23 |
+
"eval_result_metrics": {
|
| 24 |
+
"model_behavior_preservation": {
|
| 25 |
+
"kl_div_score": 0.983792701863354,
|
| 26 |
+
"kl_div_with_ablation": 10.0625,
|
| 27 |
+
"kl_div_with_sae": 0.1630859375
|
| 28 |
+
},
|
| 29 |
+
"model_performance_preservation": {
|
| 30 |
+
"ce_loss_score": 0.9835526315789473,
|
| 31 |
+
"ce_loss_with_ablation": 12.4375,
|
| 32 |
+
"ce_loss_with_sae": 3.09375,
|
| 33 |
+
"ce_loss_without_sae": 2.9375
|
| 34 |
+
},
|
| 35 |
+
"reconstruction_quality": {
|
| 36 |
+
"explained_variance": 0.70703125,
|
| 37 |
+
"mse": 13.75,
|
| 38 |
+
"cossim": 0.9140625
|
| 39 |
+
},
|
| 40 |
+
"shrinkage": {
|
| 41 |
+
"l2_norm_in": 149.0,
|
| 42 |
+
"l2_norm_out": 137.0,
|
| 43 |
+
"l2_ratio": 0.9140625,
|
| 44 |
+
"relative_reconstruction_bias": 1.0
|
| 45 |
+
},
|
| 46 |
+
"sparsity": {
|
| 47 |
+
"l0": 18.4305419921875,
|
| 48 |
+
"l1": 392.0
|
| 49 |
+
},
|
| 50 |
+
"token_stats": {
|
| 51 |
+
"total_tokens_eval_reconstruction": 409600,
|
| 52 |
+
"total_tokens_eval_sparsity_variance": 4096000
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
"eval_result_details": [],
|
| 56 |
+
"sae_bench_commit_hash": "67c9b0381e8bbf0ef5a845dee64aa2b955a47213",
|
| 57 |
+
"sae_lens_id": "layer_12/width_1m/average_l0_19",
|
| 58 |
+
"sae_lens_release_id": "gemma-scope-2b-pt-res",
|
| 59 |
+
"sae_lens_version": "4.4.5",
|
| 60 |
+
"sae_cfg_dict": {
|
| 61 |
+
"architecture": "jumprelu",
|
| 62 |
+
"d_in": 2304,
|
| 63 |
+
"d_sae": 1048576,
|
| 64 |
+
"activation_fn_str": "relu",
|
| 65 |
+
"apply_b_dec_to_input": false,
|
| 66 |
+
"finetuning_scaling_factor": false,
|
| 67 |
+
"context_size": 1024,
|
| 68 |
+
"model_name": "gemma-2-2b",
|
| 69 |
+
"hook_name": "blocks.12.hook_resid_post",
|
| 70 |
+
"hook_layer": 12,
|
| 71 |
+
"hook_head_index": null,
|
| 72 |
+
"prepend_bos": true,
|
| 73 |
+
"dataset_path": "monology/pile-uncopyrighted",
|
| 74 |
+
"dataset_trust_remote_code": true,
|
| 75 |
+
"normalize_activations": null,
|
| 76 |
+
"dtype": "torch.bfloat16",
|
| 77 |
+
"device": "cuda",
|
| 78 |
+
"sae_lens_training_version": null,
|
| 79 |
+
"activation_fn_kwargs": {},
|
| 80 |
+
"neuronpedia_id": "gemma-2-2b/12-gemmascope-res-1m__l0-19",
|
| 81 |
+
"model_from_pretrained_kwargs": {},
|
| 82 |
+
"seqpos_slice": [
|
| 83 |
+
null
|
| 84 |
+
]
|
| 85 |
+
},
|
| 86 |
+
"eval_result_unstructured": {}
|
| 87 |
+
}
|
gemma_scope/core_1M/gemma-scope-2b-pt-res_layer_12_width_1m_average_l0_207_eval_results.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eval_type_id": "core",
|
| 3 |
+
"eval_config": {
|
| 4 |
+
"model_name": "gemma-2-2b",
|
| 5 |
+
"llm_dtype": "bfloat16",
|
| 6 |
+
"batch_size_prompts": 2,
|
| 7 |
+
"n_eval_reconstruction_batches": 1600,
|
| 8 |
+
"n_eval_sparsity_variance_batches": 16000,
|
| 9 |
+
"dataset": "Skylion007/openwebtext",
|
| 10 |
+
"context_size": 128,
|
| 11 |
+
"compute_kl": true,
|
| 12 |
+
"compute_ce_loss": true,
|
| 13 |
+
"compute_l2_norms": true,
|
| 14 |
+
"compute_sparsity_metrics": true,
|
| 15 |
+
"compute_variance_metrics": true,
|
| 16 |
+
"compute_featurewise_density_statistics": false,
|
| 17 |
+
"compute_featurewise_weight_based_metrics": false,
|
| 18 |
+
"exclude_special_tokens_from_reconstruction": true,
|
| 19 |
+
"verbose": false
|
| 20 |
+
},
|
| 21 |
+
"eval_id": "3e5b376c-bd18-4ff7-82ab-dd0e5d4ffec7",
|
| 22 |
+
"datetime_epoch_millis": 1733115669696,
|
| 23 |
+
"eval_result_metrics": {
|
| 24 |
+
"model_behavior_preservation": {
|
| 25 |
+
"kl_div_score": 0.9970035908385093,
|
| 26 |
+
"kl_div_with_ablation": 10.0625,
|
| 27 |
+
"kl_div_with_sae": 0.0301513671875
|
| 28 |
+
},
|
| 29 |
+
"model_performance_preservation": {
|
| 30 |
+
"ce_loss_score": 0.9983552631578947,
|
| 31 |
+
"ce_loss_with_ablation": 12.4375,
|
| 32 |
+
"ce_loss_with_sae": 2.953125,
|
| 33 |
+
"ce_loss_without_sae": 2.9375
|
| 34 |
+
},
|
| 35 |
+
"reconstruction_quality": {
|
| 36 |
+
"explained_variance": 0.875,
|
| 37 |
+
"mse": 5.875,
|
| 38 |
+
"cossim": 0.96484375
|
| 39 |
+
},
|
| 40 |
+
"shrinkage": {
|
| 41 |
+
"l2_norm_in": 149.0,
|
| 42 |
+
"l2_norm_out": 144.0,
|
| 43 |
+
"l2_ratio": 0.9609375,
|
| 44 |
+
"relative_reconstruction_bias": 1.0
|
| 45 |
+
},
|
| 46 |
+
"sparsity": {
|
| 47 |
+
"l0": 210.41099548339844,
|
| 48 |
+
"l1": 756.0
|
| 49 |
+
},
|
| 50 |
+
"token_stats": {
|
| 51 |
+
"total_tokens_eval_reconstruction": 409600,
|
| 52 |
+
"total_tokens_eval_sparsity_variance": 4096000
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
"eval_result_details": [],
|
| 56 |
+
"sae_bench_commit_hash": "67c9b0381e8bbf0ef5a845dee64aa2b955a47213",
|
| 57 |
+
"sae_lens_id": "layer_12/width_1m/average_l0_207",
|
| 58 |
+
"sae_lens_release_id": "gemma-scope-2b-pt-res",
|
| 59 |
+
"sae_lens_version": "4.4.5",
|
| 60 |
+
"sae_cfg_dict": {
|
| 61 |
+
"architecture": "jumprelu",
|
| 62 |
+
"d_in": 2304,
|
| 63 |
+
"d_sae": 1048576,
|
| 64 |
+
"activation_fn_str": "relu",
|
| 65 |
+
"apply_b_dec_to_input": false,
|
| 66 |
+
"finetuning_scaling_factor": false,
|
| 67 |
+
"context_size": 1024,
|
| 68 |
+
"model_name": "gemma-2-2b",
|
| 69 |
+
"hook_name": "blocks.12.hook_resid_post",
|
| 70 |
+
"hook_layer": 12,
|
| 71 |
+
"hook_head_index": null,
|
| 72 |
+
"prepend_bos": true,
|
| 73 |
+
"dataset_path": "monology/pile-uncopyrighted",
|
| 74 |
+
"dataset_trust_remote_code": true,
|
| 75 |
+
"normalize_activations": null,
|
| 76 |
+
"dtype": "torch.bfloat16",
|
| 77 |
+
"device": "cuda:0",
|
| 78 |
+
"sae_lens_training_version": null,
|
| 79 |
+
"activation_fn_kwargs": {},
|
| 80 |
+
"neuronpedia_id": "gemma-2-2b/12-gemmascope-res-1m__l0-207",
|
| 81 |
+
"model_from_pretrained_kwargs": {},
|
| 82 |
+
"seqpos_slice": [
|
| 83 |
+
null
|
| 84 |
+
]
|
| 85 |
+
},
|
| 86 |
+
"eval_result_unstructured": {}
|
| 87 |
+
}
|
gemma_scope/core_1M/gemma-scope-2b-pt-res_layer_5_width_1m_average_l0_9_eval_results.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eval_type_id": "core",
|
| 3 |
+
"eval_config": {
|
| 4 |
+
"model_name": "gemma-2-2b",
|
| 5 |
+
"llm_dtype": "bfloat16",
|
| 6 |
+
"batch_size_prompts": 2,
|
| 7 |
+
"n_eval_reconstruction_batches": 1600,
|
| 8 |
+
"n_eval_sparsity_variance_batches": 16000,
|
| 9 |
+
"dataset": "Skylion007/openwebtext",
|
| 10 |
+
"context_size": 128,
|
| 11 |
+
"compute_kl": true,
|
| 12 |
+
"compute_ce_loss": true,
|
| 13 |
+
"compute_l2_norms": true,
|
| 14 |
+
"compute_sparsity_metrics": true,
|
| 15 |
+
"compute_variance_metrics": true,
|
| 16 |
+
"compute_featurewise_density_statistics": false,
|
| 17 |
+
"compute_featurewise_weight_based_metrics": false,
|
| 18 |
+
"exclude_special_tokens_from_reconstruction": true,
|
| 19 |
+
"verbose": false
|
| 20 |
+
},
|
| 21 |
+
"eval_id": "3189e07f-932c-4881-86e7-ed01fa6ceb03",
|
| 22 |
+
"datetime_epoch_millis": 1733111254164,
|
| 23 |
+
"eval_result_metrics": {
|
| 24 |
+
"model_behavior_preservation": {
|
| 25 |
+
"kl_div_score": 0.9933035714285714,
|
| 26 |
+
"kl_div_with_ablation": 10.0625,
|
| 27 |
+
"kl_div_with_sae": 0.0673828125
|
| 28 |
+
},
|
| 29 |
+
"model_performance_preservation": {
|
| 30 |
+
"ce_loss_score": 0.9950657894736842,
|
| 31 |
+
"ce_loss_with_ablation": 12.4375,
|
| 32 |
+
"ce_loss_with_sae": 2.984375,
|
| 33 |
+
"ce_loss_without_sae": 2.9375
|
| 34 |
+
},
|
| 35 |
+
"reconstruction_quality": {
|
| 36 |
+
"explained_variance": 0.83203125,
|
| 37 |
+
"mse": 3.546875,
|
| 38 |
+
"cossim": 0.9453125
|
| 39 |
+
},
|
| 40 |
+
"shrinkage": {
|
| 41 |
+
"l2_norm_in": 90.0,
|
| 42 |
+
"l2_norm_out": 84.0,
|
| 43 |
+
"l2_ratio": 0.9375,
|
| 44 |
+
"relative_reconstruction_bias": 0.99609375
|
| 45 |
+
},
|
| 46 |
+
"sparsity": {
|
| 47 |
+
"l0": 9.345510482788086,
|
| 48 |
+
"l1": 140.0
|
| 49 |
+
},
|
| 50 |
+
"token_stats": {
|
| 51 |
+
"total_tokens_eval_reconstruction": 409600,
|
| 52 |
+
"total_tokens_eval_sparsity_variance": 4096000
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
"eval_result_details": [],
|
| 56 |
+
"sae_bench_commit_hash": "67c9b0381e8bbf0ef5a845dee64aa2b955a47213",
|
| 57 |
+
"sae_lens_id": "layer_5/width_1m/average_l0_9",
|
| 58 |
+
"sae_lens_release_id": "gemma-scope-2b-pt-res",
|
| 59 |
+
"sae_lens_version": "4.4.5",
|
| 60 |
+
"sae_cfg_dict": {
|
| 61 |
+
"architecture": "jumprelu",
|
| 62 |
+
"d_in": 2304,
|
| 63 |
+
"d_sae": 1048576,
|
| 64 |
+
"activation_fn_str": "relu",
|
| 65 |
+
"apply_b_dec_to_input": false,
|
| 66 |
+
"finetuning_scaling_factor": false,
|
| 67 |
+
"context_size": 1024,
|
| 68 |
+
"model_name": "gemma-2-2b",
|
| 69 |
+
"hook_name": "blocks.5.hook_resid_post",
|
| 70 |
+
"hook_layer": 5,
|
| 71 |
+
"hook_head_index": null,
|
| 72 |
+
"prepend_bos": true,
|
| 73 |
+
"dataset_path": "monology/pile-uncopyrighted",
|
| 74 |
+
"dataset_trust_remote_code": true,
|
| 75 |
+
"normalize_activations": null,
|
| 76 |
+
"dtype": "torch.bfloat16",
|
| 77 |
+
"device": "cuda",
|
| 78 |
+
"sae_lens_training_version": null,
|
| 79 |
+
"activation_fn_kwargs": {},
|
| 80 |
+
"neuronpedia_id": "gemma-2-2b/5-gemmascope-res-1m__l0-9",
|
| 81 |
+
"model_from_pretrained_kwargs": {},
|
| 82 |
+
"seqpos_slice": [
|
| 83 |
+
null
|
| 84 |
+
]
|
| 85 |
+
},
|
| 86 |
+
"eval_result_unstructured": {}
|
| 87 |
+
}
|