circuitkit 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {circuitkit-0.2.0/src/circuitkit.egg-info → circuitkit-0.2.2}/PKG-INFO +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/INSTALLATION.md +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/about/faq.md +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/advanced/experimental-models.md +11 -5
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/algorithms/capability-matrix.md +6 -4
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/api-reference/dict-config.md +2 -1
- circuitkit-0.2.2/docs/api-reference/provenance.md +66 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/cli/evaluation.md +4 -4
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/evaluation/ablation.md +2 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/evaluation/baselines.md +35 -14
- circuitkit-0.2.2/docs/evaluation/causal-patching.md +190 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/evaluation/framework.md +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/getting-started/quickstart.md +15 -2
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/trust/index.md +1 -1
- circuitkit-0.2.2/docs/trust/results.md +107 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/user-guide/evaluation.md +7 -4
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/user-guide/visualization.md +3 -2
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/06-applications.py +6 -4
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/09-load-and-reuse.py +5 -3
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/finetuning/finetune-llama.py +2 -2
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/finetuning/finetune-qwen.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/__init__.py +1 -1
- circuitkit-0.2.2/src/circuitkit/_tl_patches/0007-local-checkpoint-config.patch +128 -0
- circuitkit-0.2.2/src/circuitkit/_tl_patches/0008-neox-lm-head.patch +27 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/_tl_patches/__init__.py +2 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/api.py +97 -36
- circuitkit-0.2.2/src/circuitkit/applications/common_utils/_dtype.py +26 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/common_utils/cure_clue.py +4 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/editing/fine_tune_editing.py +5 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/finetuning/circuit_tuning.py +7 -3
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/finetuning/soft_healing.py +6 -2
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/selective_finetuning/examples/finetune_llama.py +2 -2
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/selective_finetuning/examples/finetune_qwen.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/selective_finetuning/finetune_utils.py +40 -2
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/selective_finetuning/score_loader.py +90 -48
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/attribute.py +10 -3
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/eap_utils.py +7 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/circuit.py +99 -13
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/cli/main.py +59 -5
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/effectiveness.py +3 -3
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/base.py +11 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/code_syntax_corrupt.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/entity_swap.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/final_answer_swap.py +25 -3
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/instruction_swap.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/logical_negation.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/math_step_corrupt.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/mcq_choice_swap.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/operand_swap.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/profession_swap.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/resample.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/token_swap.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/normalized_task.py +21 -6
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/ioi/utils.py +8 -3
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/hf_checkpoint.py +11 -2
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/pillars/ablation.py +14 -3
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/pillars/causal_patching.py +36 -3
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/pillars/generalization.py +2 -2
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/pillars/intervention_reliability.py +68 -36
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/report.py +52 -11
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/transfer.py +26 -10
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/transfer_analysis.py +6 -3
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/provenance.py +41 -5
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/quick.py +79 -22
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/double_io.py +18 -5
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/ioi.py +19 -5
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/ioi_legacy.py +10 -4
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/generic.py +14 -4
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/specs.py +34 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/logging.py +5 -15
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/d3_template.py +200 -84
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/graph_viz.py +46 -18
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/streamlit_app.py +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2/src/circuitkit.egg-info}/PKG-INFO +1 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit.egg-info/SOURCES.txt +16 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_cohere_backends.py +2 -2
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_patches/test_tl_patchset.py +90 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_effectiveness.py +9 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/data/test_data_corruption_strategies.py +69 -0
- circuitkit-0.2.2/tests/integration/test_ioi_gpt2_position_and_faithfulness.py +102 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/integration/test_tl3_interop.py +2 -3
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/integration/test_transfer_integration.py +106 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_api.py +107 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_attribute.py +69 -1
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_circuit.py +137 -6
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_cli_commands.py +54 -0
- circuitkit-0.2.2/tests/unit/test_d3_lod.py +125 -0
- circuitkit-0.2.2/tests/unit/test_faithfulness_raw_ratio.py +111 -0
- circuitkit-0.2.2/tests/unit/test_fine_tune_edit_weight_decay.py +39 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_finetune_utils.py +124 -0
- circuitkit-0.2.2/tests/unit/test_float16_guard.py +121 -0
- circuitkit-0.2.2/tests/unit/test_generic_num_examples.py +71 -0
- circuitkit-0.2.2/tests/unit/test_graph_export_safety.py +134 -0
- circuitkit-0.2.2/tests/unit/test_logging_no_log_dir.py +50 -0
- circuitkit-0.2.2/tests/unit/test_normalized_task_num_examples.py +42 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_pillars.py +18 -0
- circuitkit-0.2.2/tests/unit/test_provenance.py +67 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_quick_api.py +119 -9
- circuitkit-0.2.2/tests/unit/test_r1_seed_consistency.py +165 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_score_loader.py +236 -22
- circuitkit-0.2.2/tests/unit/test_task_answer_position.py +151 -0
- circuitkit-0.2.2/tests/unit/test_tokenize_plus_padding_mask.py +47 -0
- circuitkit-0.2.0/docs/evaluation/causal-patching.md +0 -99
- circuitkit-0.2.0/docs/trust/results.md +0 -62
- circuitkit-0.2.0/tests/unit/test_d3_lod.py +0 -74
- {circuitkit-0.2.0 → circuitkit-0.2.2}/.github/workflows/docs.yml +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/.github/workflows/patch-release.yml +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/.github/workflows/test.yml +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/.github/workflows/version-consistency.yml +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/LICENSE.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/MANIFEST.in +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/README.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/API_REFERENCE.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/about/license.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/about/release-notes.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/about/roadmap.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/advanced/architecture-registry.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/advanced/chat-templates.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/advanced/circuit-artifacts.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/advanced/hallucination-detection.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/advanced/memory-optimization.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/advanced/tiny-aya.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/advanced/vllm-evaluation.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/algorithms/acdc.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/algorithms/cdt.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/algorithms/eap.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/algorithms/ibcircuit.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/algorithms/overview.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/algorithms/stability-tiers.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/api-reference/applications.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/api-reference/backends.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/api-reference/evaluation.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/api-reference/flat-api.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/api-reference/overview.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/api-reference/pipeline.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/api-reference/selectors.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/api-reference/tasks.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/blog/introducing-circuitkit.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/citation-map.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/cli/applications.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/cli/discovery.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/cli/overview.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/cli/yaml-config.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/contributing/documentation.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/contributing/new-algorithms.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/contributing/setup.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/contributing/standards.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/contributing/testing-on-cuda.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/dev_enterprise_runbook.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/evaluation/benchmarking.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/evaluation/generalization.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/evaluation/robustness.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/evaluation/stability.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/examples/case-studies.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/examples/notebooks.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/examples/overview.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/examples/scripts.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/getting-started/configuration.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/getting-started/core-concepts.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/getting-started/index.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/getting-started/installation.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/getting-started/taxonomy.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/guidelines/Testing_Guidelines.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/guides/CONCEPTS.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/guides/circuit_artifact_guide.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/guides/eap_ig_memory_optimization.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/guides/hallucination_detection_guide.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/guides/index.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/guides/steering.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/guides/vllm_evaluation.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/index.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/product_blueprint.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/pypi_core_contract.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/reference/ARCHITECTURE_REGISTRY.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/reference/FEATURES.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/reference/hyperparameters.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/reference/index.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/references.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/trust/scope.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/user-guide/applications.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/user-guide/custom-data.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/user-guide/data-corruption.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/user-guide/data.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/user-guide/pipeline-overview.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/user-guide/selectors.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/user-guide/tasks.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/docs/user-guide/troubleshooting.md +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/01-quickstart.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/02-discover-python-api.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/04-discover-yaml.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/05-evaluate-faithfulness.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/07-pipeline.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/08-custom-data.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/10-steering.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/11-knowledge-editing.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/12-custom-corruption.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/13-transfer-matrix.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/14-faithfulness-audit-for-compliance.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/15-compression-for-deployment.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/16-tabular-model-audit.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/17-quantization-unlearning.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/18-banking-safety-steering.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/19-trade-finance-document-classification.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/20-transit-edge-deployment.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/21-quantization-permanent-unlearning.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/22-gender-bias-audit-and-mitigation.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/23-jailbreak-refusal-multi-model.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/case-studies/24-safety-refusal-custom-data.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/discovery/algorithm-comparison.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/discovery/benchmark-circuit-discovery.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/experiments/e1_algo_validation_ioi.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/experiments/e2_cross_family_discovery.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/experiments/e3_neuron_level_ioi.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/experiments/e4_custom_data_jailbreak.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/experiments/e567_downstream_applications.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/notebooks/00_colab_setup.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/notebooks/01_quickstart_pipeline.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/notebooks/02_algorithm_comparison.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/notebooks/03_evaluation_deep_dive.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/notebooks/04_visualization_gallery.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/notebooks/05_applications.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/notebooks/06_cli_and_yaml.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/notebooks/07_advanced_research_tools.ipynb +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/pruning/basic-prune.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/pruning/prune-llama.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/pruning/prune-qwen.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/quantization/quantize-llama.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/quantization/quantize-qwen.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/simple_csv_task.yaml +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/_common.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/_runner.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/01_eap_ig_activations_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/02_eap_clean_corrupted_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/03_eap_exact_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/04_compare_eap_family_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/05_atp_gd_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/06_eap_gp_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/07_relp_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/08_ibcircuit_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/09_peap_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/10_cdt_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/11_eap_ifr_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/12_all_algos_llama.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/algos/_algos_common.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/01_pruning_gpt2_ioi.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/02_lora_healing_gpt2_ioi.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/03_pruning_gpt2_mmlu.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/04_pruning_gpt2_gender_bias.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/05_pruning_gpt2_sva.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/06_pruning_gpt2_capital_country.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/07_pruning_gpt2_boolq.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/08_pruning_gpt2_arc_easy.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/09_pruning_gpt2_hellaswag.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/10_pruning_gpt2_crows_pairs.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/11_knowledge_editing_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/12_unlearning_tofu_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/13_steering_gpt2_ioi.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/14_linear_probe_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/15_hallucination_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/16_peft_benchmark.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/17_knowledge_editing_full_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/18_steering_safety_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/19_quantization_llama1b.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/20_ctheta_steering_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/21_ctheta_steering_llama1b.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/22_ctheta_advbench_refusal.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/23_ctheta_k_grid_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/24_circuitkit_advbench_refusal_steering.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/25_knowledge_editing_llama_circuit.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/26_soft_healing_llama_circuit.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/27_hallucination_truthfulqa_llama.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/28_safety_dataset_pillar_evals.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/_apps_common.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/applications/_make_apps_cell.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/01_gpt2_ioi.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/02_gpt2_greater_than.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/03_llama1b_ioi.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/04_llama1b_greater_than.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/05_gpt2_mmlu.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/06_llama1b_mmlu.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/07_gpt2_gender_bias.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/08_gpt2_hypernymy.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/09_gpt2_sva.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/10_gpt2_capital_country.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/11_gpt2_boolq.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/12_gpt2_wmdp.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/13_gpt2_arc_easy.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/14_gpt2_arc_challenge.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/15_gpt2_hellaswag.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/16_gpt2_crows_pairs.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/17_gpt2_tofu.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/18_gpt2_gsm8k.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/99_aggregate.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/_bench_common.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/_custom_tasks.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/benchmark/_make_cell.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/01_pairwise_crowspairs.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/02_instruction_alpaca.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/03_conversational_sharegpt.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/04_mcq_mmlu_arc_hellaswag.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/05_forget_retain_tofu.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/06_strategies_all.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/07_e2e_discovery_mcq_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/08_e2e_discovery_tofu_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/09_e2e_discovery_crowspairs_llama1b.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/10_e2e_quality_stability_mcq_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/11_e2e_all_algos_custom_mcq_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/12_e2e_safety_advbench_gpt2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/data/_data_common.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/master_aggregator.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/01_circuit_graph.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/02_activation_saliency.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/03_feature_saliency.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/04_circuit_editor.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/05_comparison_dashboard.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/06_jupyter_widgets.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/07_gallery_generator.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/08_plotter.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/09_eap_visualization.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/10_acdc_visualize.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/validation/visualizations/11_transfer_visualizer.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/examples/visualization/graph-viz-example.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/pyproject.toml +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/pytest.ini +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/requirements.txt +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/setup.cfg +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/__main__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/_tl_patches/0001-moe-dtype-and-devices-fixes.patch +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/_tl_patches/0002-gemma4.patch +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/_tl_patches/0003-sarvam-moe.patch +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/_tl_patches/0004-gemma4-hf-parity.patch +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/_tl_patches/0005-memory-no-weight-copies.patch +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/_tl_patches/0006-cohere.patch +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/analysis/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/analysis/cross_method_jaccard.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/analysis/metrics.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/analysis/scores.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/arch_registry.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/arch_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/common_utils/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/common_utils/_covariance.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/common_utils/_device.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/common_utils/_metrics.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/common_utils/_tokenization.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/common_utils/benchmark_analysis.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/common_utils/hallucination_detection.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/common_utils/linear_probe.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/editing/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/editing/cake.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/editing/circuit_guided_editing.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/editing/knowledge_editing.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/editing/knowledge_editing_enhanced.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/editing/mcircke.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/editing/memit_wrapper.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/editing/rome_wrapper.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/finetuning/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/finetuning/benchmark_peft.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/finetuning/healing_metrics.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/finetuning/peft_methods.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/eval_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/examples/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/examples/prune.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/examples/prune_llama.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/examples/prune_qwen.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/finetune_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/importance.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/neuron_pruner.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/node_pruner.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/pruner.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/score_extractor.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/selectors/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/selectors/multi_granular_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/selectors/taylor_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/pruning/weight_pruner.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/quantization/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/quantization/examples/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/quantization/examples/quantize_llama.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/quantization/examples/quantize_qwen.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/quantization/llmcompressor_quantize.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/quantization/quant_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/quantization/score_extractor.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/quantization/selectors/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/quantization/selectors/awq_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/quantization/selectors/tacq_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/selective_finetuning/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/selective_finetuning/examples/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/selective_finetuning/selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/steering/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/steering/steering.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/steering/steering_enhanced.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/applications/steering/weight_steering.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/artifacts/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/artifacts/circuit_artifact.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/artifacts/converters.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/artifacts/scores.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/_tl_compat/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/_tl_compat/cohere.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/_tl_compat/registry.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/_tl_compat/smollm3.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/artifact_export.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/data.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/model_utils/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/model_utils/micro_model_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/model_utils/transformer_lens_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/prune.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/prune_algos/ACDC.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/prune_algos/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/prune_algos/mask_gradient.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/prune_algos/prune_algos.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/tasks/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/tasks/docstring_prompts.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/tasks/docstring_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/tasks/induction_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/tasks/ioi_dataset.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/tasks/ioi_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/types.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/utils/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/utils/ablation_activations.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/utils/custom_tqdm.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/utils/graph_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/utils/misc.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/utils/patch_wrapper.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/utils/patchable_model.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/utils/task_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/utils/tensor_ops.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/acdc/visualize.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/adapter.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/propagation.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/cdt_ablations.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/cdt_basic.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/cdt_core.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/cdt_from_source_nodes.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/cdt_source_to_target.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/faithfulness_ablations.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/general.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/ioi_dataset.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/local_importance.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/pathology.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/toy_model.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/cdt/pyfunctions/wrappers.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/artifact_export.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/attribute_node.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/circuit_kit_adapter.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/evaluate.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/graph.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/metrics.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/py.typed +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/eap/visualization.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/ibcircuit/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/ibcircuit/artifact_export.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/ibcircuit/ib_noise.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/ibcircuit/ib_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/ibcircuit/model_wrapper.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/backends/ibcircuit/trainer.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/benchmarks/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/benchmarks/baselines/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/benchmarks/baselines/gptq.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/benchmarks/baselines/magnitude.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/benchmarks/baselines/random.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/benchmarks/baselines/sparsegpt.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/benchmarks/baselines/wanda.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/benchmarks/benchmark.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/benchmarks/reporting.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/cli/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/cli/config.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/cli/debug.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/cli/utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/base.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/color_swap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/distractor.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/distractor_variation.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/entity_swap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/negation.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/paraphrase.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/pipeline.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/position_shift.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/role_swap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/token_swap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/validators.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/corruption/voice_swap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/base.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/code.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/conversational.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/forget_retain.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/instruction.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/math.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/mcq.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/pairwise.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/qa.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/adapters/safety_prompt.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/auto_detect.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/clean_only.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/benign_rewrite.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/llm_counterfactual.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/template.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/corruption/template_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/dataset_schema.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/eap_dataset.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/invariance_groups/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/invariance_groups/builder.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/invariance_groups/schema.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/normalized.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/core/TLACDCCorrespondence.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/core/TLACDCEdge.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/core/TLACDCExperiment.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/core/TLACDCInterpNode.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/core/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/core/acdc_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/generation/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/generation/cache.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/generation/manager.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/generation/utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/storage/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/storage/greaterthan/greaterthan_32_ffd33106.json +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/storage/ioi/ioi_16_8c879ddb.json +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/storage/ioi/ioi_32_a432ca4a.json +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/storage/ioi/ioi_500_1f7e7324.json +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/storage/ioi/ioi_64_3bba747e.json +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/storage/ioi/ioi_64_f4a164db.json +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/storage/ioi/ioi_8_e87df42e.json +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/binary_align/generate_binary_align.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/binary_align/jailbreak_binary.csv +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/binary_align/safe_binary.csv +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/capital_country/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/capital_country/utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/docstring/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/docstring/prompts.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/docstring/utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/double_io/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/double_io/double_io_dataset.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/gender_bias/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/gender_bias/utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/gender_bias/utils2.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/greaterthan/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/greaterthan/utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/hypernymy/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/hypernymy/utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/induction/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/induction/utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/ioi/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/ioi/ioi_dataset.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/sva/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/sva/utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/task_data/tasks/wmdp/wmdp_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/template.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/wikitext_calibration.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/data/worthiness.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/checkpoint_benchmark.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/evaluate.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/full.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/intervention_faithfulness.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/lm_eval_simple.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/lm_harness.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/master_grid.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/mmlu_eval.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/pillars/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/pillars/baselines.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/pillars/robustness.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/pillars/stability.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/reports/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/reports/aggregator.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/reports/robustness_report.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/reports/stability_report.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/stability_discovery.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/transfer_visualizer.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/evaluation/weight_based_eval.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/pipeline.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/selection/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/selection/cdt_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/selection/eap_gp_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/selection/eap_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/selection/gptq_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/selection/ibcircuit_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/selection/magnitude_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/selection/random_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/selection/relp_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/selection/wanda_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/_algorithm_families.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/_chat.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/auto_schema.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/bootstrap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/boolq.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/capital_country.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/gender_bias.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/glue.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/greater_than.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/gsm8k.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/hypernymy.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/ifeval.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/ioi_acdc.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/mmlu.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/sva.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/truthfulqa.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/winogrande.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/winogrande_mc.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/builtins/wmdp.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/hf_factory.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/inspect.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/registry.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/safety_datasets.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/type_specs/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/type_specs/classification_spec.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/type_specs/generation_spec.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/type_specs/mcq_spec.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/type_specs/qa_spec.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/type_specs/summarization_spec.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/type_specs/translation_spec.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/validator.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tasks/yaml_loader.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tooling/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/tooling/validate_environment.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/artifacts.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/async_processing.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/bootstrap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/config.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/corruption_validation.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/dataset_cache.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/debug.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/debugging.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/device.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/distributed.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/exceptions.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/hparams.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/memory.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/profiling.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/utils/token_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/comparison.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/editor.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/feature_saliency.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/gallery.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/jupyter_suite.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/plotter.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/saliency.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit/visualize/theme.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit.egg-info/dependency_links.txt +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit.egg-info/entry_points.txt +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit.egg-info/requires.txt +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/src/circuitkit.egg-info/top_level.txt +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/conftest.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_architecture_registry.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_benchmark_analysis.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_benchmark_peft.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_circuit_artifact.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_covariance.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_cross_architecture.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_fine_tune_editing.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_hallucination_detection.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_knowledge_editing.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_knowledge_editing_enhanced.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_knowledge_editing_pipeline.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_linear_probe.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_peft_methods.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_pruner.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_steering.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_steering_enhanced.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_tokenization.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/apply/test_weight_steering.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/ibcircuit/test_ib_noise.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/ibcircuit/test_ib_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/ibcircuit/test_model_wrapper.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/ibcircuit/test_trainer.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/test_artifact_export_integration.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_aya_expanse.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_aya_expanse_32b.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_aya_expanse_32b_parity.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_aya_expanse_parity.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_cohere.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_cohere_gqa.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_cohere_parity.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_cohere_selectors.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_cohere_wiring.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_command_r7b.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_command_r7b_parity.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_smollm3.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_compat/test_smollm3_parity.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_patches/configs/Ministral-3-3B-Instruct-2512.json +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_patches/configs/gemma-4-31B-it.json +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_patches/configs/sarvam-30b.json +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/backends/tl_patches/test_patch_hook.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/benchmarks/test_baselines.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/benchmarks/test_benchmark.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/conftest.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_distractor.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_entity_swap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_new_corruptions.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_paraphrase.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_pipeline.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_pipeline_integration_ioi.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_practical_examples.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_role_swap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_strategies_integration.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_strategies_standalone.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_template.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_template_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_token_swap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_validators.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/corruption/test_yaml_strategy_synthesis.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/data/test_qa_adapter.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/fixtures/sample_pipeline.yaml +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/integration/test_chat_template_instruct.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/integration/test_interfaces_e2e.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/integration/test_soft_healing_integration.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/integration/test_steering_ioi.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/integration/test_template_e2e.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/integration/test_transfer_matrix.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/integration/test_transfer_minimal.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/integration/test_yaml_run_advanced.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_aya_expanse_32b_discovery.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_aya_expanse_32b_evaluation.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_aya_expanse_32b_interventions.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_aya_expanse_discovery.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_aya_expanse_evaluation.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_aya_expanse_interventions.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_cdt_nonzero_scores.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_circuit_tuner_training.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_cli_and_api_args.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_cohere_discovery.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_cohere_evaluation.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_cohere_interventions.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_command_r7b_discovery.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_command_r7b_evaluation.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_command_r7b_interventions.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_data_adapters_and_utils.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_greater_than_tokenizer.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_pruner_gqa_kv_head.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_smollm3_discovery.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_smollm3_evaluation.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_smollm3_interventions.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/regression/test_steering_and_baselines.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/release/test_release.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_auto_schema.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_capital_country.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_chat_template.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_cohere_tokenization.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_generic_task.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_glue.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_greater_than_corruption.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_gsm8k.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_ioi_regression.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_validator.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_winogrande.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/tasks/test_winogrande_mc.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/test_custom_data.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/test_environment.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/test_packaging.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/conftest.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/sample_pipeline.yaml +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_attribute_node.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_baselines_multidraw.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_bootstrap.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_circuit_kit_adapter.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_circuit_scores.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_cli.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_cli_smoke.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_config_defaults.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_d5_d7_import.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_device_allocator.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_double_io.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_eap_grad_scope.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_end_to_end.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_evaluate.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_exceptions.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_expandable_segments.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_extended_schema.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_graph.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_graph_viz.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_graph_viz_bounded.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_hf_checkpoint.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_hparams.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_init_exports.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_instruction_swap_audit.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_mean_activations.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_mlp1.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_modules_exist.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_multi_token_answers.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_multi_token_unit.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_neuron_pruner.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_no_regressions.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_node_pruner.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_normalized_task.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_optimize_memory_usage.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_perplexity_metric.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_pillar_baseline_reuse.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_pipeline_benchmark_offload.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_pipeline_smoke.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_pipeline_unit.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_qkv_memory_guard.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_quantize_export_flow.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_quick_extensions.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_r2_effect_magnitude.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_ranking_metrics.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_report.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_security_hardening.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_selector.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_selector_bugs.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_selector_registry.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_soft_healing.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_stability_robustness_reports.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_steering.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_structural_pruner.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_taylor_grad_scope.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_tokenize_batch_pair_max_length.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_tokenize_warning_throttle.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_trust_remote_code.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_validators_direct.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_yaml_pipeline_config.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/unit/test_yaml_run_cli.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/visualize/__init__.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/visualize/test_comparison.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/visualize/test_editor.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/visualize/test_feature_saliency.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/visualize/test_gallery.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/visualize/test_jupyter_suite.py +0 -0
- {circuitkit-0.2.0 → circuitkit-0.2.2}/tests/visualize/test_saliency.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: circuitkit
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Unified Discover, Evaluate, Intervene toolkit for mechanistic interpretability: 13 circuit discovery algorithms, 6-pillar faithfulness evaluation, and pruning / quantization / knowledge editing / unlearning / activation steering / contrastive weight steering interventions behind one API.
|
|
5
5
|
Author: Hem Gosalia, Aditya Kasliwal, Vinay Kumar Sankarapu
|
|
6
6
|
Author-email: Pratinav Seth <pratinav.seth@lexsi.ai>
|
|
@@ -39,7 +39,7 @@ transformers>=5.15,<6, ordered-set, pyyaml, networkx,
|
|
|
39
39
|
matplotlib, ipywidgets, scikit-learn, evaluate,
|
|
40
40
|
sacrebleu, rouge_score, bert-score, accelerate,
|
|
41
41
|
sentence-transformers, click, rich, torch-pruning>=1.0,
|
|
42
|
-
transformer-lens==3.8.0 (CircuitKIT applies its Gemma-4 / Sarvam-MoE / Cohere patches at import)
|
|
42
|
+
transformer-lens==3.8.0 (CircuitKIT applies its Gemma-4 / Sarvam-MoE / Cohere patches and the Pythia / GPT-NeoX loading fix at import)
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Install core only:
|
|
@@ -42,7 +42,7 @@ Use `chat_template_mode="auto"` (or `"on"`). The model's chat template will be a
|
|
|
42
42
|
|
|
43
43
|
**What is a "good" circuit quality score?**
|
|
44
44
|
|
|
45
|
-
A patching score (P1) ≥ 0.75 is generally considered a strong circuit. GPT-2 IOI with the default `eap-ig`
|
|
45
|
+
A patching score (P1) ≥ 0.75 is generally considered a strong circuit. GPT-2 IOI with the default `eap-ig` gives a patching score of 0.945 (seed 42, 256 examples, 30% pruned, Tesla T4, re-measured 2026-10-11). The Llama and Gemma IOI numbers on the [Audit Results](../trust/results.md) page were measured before the `ioi` scored position was corrected and have not been re-measured. See [Causal Patching](../evaluation/causal-patching.md) for interpretation guidance.
|
|
46
46
|
|
|
47
47
|
**Why is Pillar 6 (Generalization) marked preliminary?**
|
|
48
48
|
|
|
@@ -42,11 +42,17 @@ repository — no `HF_TOKEN` needed.
|
|
|
42
42
|
[Tests](#tests) below).
|
|
43
43
|
|
|
44
44
|
!!! note "Local checkpoint folders"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
While CircuitKIT's in-memory TransformerLens patch series is active
|
|
46
|
+
(`transformer-lens==3.8.0`, with `import circuitkit` before the first
|
|
47
|
+
`import transformer_lens`), a local checkpoint folder loads from its
|
|
48
|
+
`config.json` whatever it is called (a fine-tune in
|
|
49
|
+
`meta-llama-Llama-3.2-1B_sft/` is not mistaken for base Llama-3.2-1B).
|
|
50
|
+
Without the series, a folder whose path contains "llama" or "gemma" is
|
|
51
|
+
refused. Local Gemma checkpoints, fine-tunes included, are refused until
|
|
52
|
+
CircuitKIT moves to TransformerLens 4: TransformerLens 3.8 has Gemma configs
|
|
53
|
+
for Hub names only, and loading the Hub ID gives the base weights. Local SmolLM3
|
|
54
|
+
checkpoint folders are not supported by the current port; load
|
|
55
|
+
`HuggingFaceTB/SmolLM3-3B` by Hub ID.
|
|
50
56
|
|
|
51
57
|
## Gemma-4 and Sarvam-MoE: discovery-only TransformerLens ports
|
|
52
58
|
|
|
@@ -42,12 +42,14 @@ Measured at `bfloat16`, `ig_steps=5` (the previous default), `batch_size=4`. Red
|
|
|
42
42
|
|
|
43
43
|
## Validated combinations (from the audit paper)
|
|
44
44
|
|
|
45
|
+
The GPT-2 IOI `eap-ig` row was re-measured on 2026-10-11 (Tesla T4, seed 42, 256 examples, 30% pruned; command on the [Audit Results](../trust/results.md#gpt-2-ioi-re-measured) page) and reports the patching score, the [measure for comparing circuits](../evaluation/causal-patching.md#which-measure-to-compare-circuits-with). The Llama and Gemma IOI rows were measured before the `ioi` scored position was corrected and not re-measured (gated models). The `acdc` row is not affected.
|
|
46
|
+
|
|
45
47
|
| Model | Task | Algorithm | Result |
|
|
46
48
|
|---|---|---|---|
|
|
47
|
-
| GPT-2 | IOI | eap-ig | ablation_score 0.91 |
|
|
48
|
-
| Llama-1B | IOI | eap-ig | ablation_score 0.88 |
|
|
49
|
-
| Llama-3B | IOI | eap-ig | ablation_score 0.85 |
|
|
50
|
-
| Gemma-2B | IOI | eap-ig | ablation_score 0.87 |
|
|
49
|
+
| GPT-2 | IOI | eap-ig | patching_score 0.945 (zero-ablation ratio -0.276; was ablation_score 0.91 before the correction) |
|
|
50
|
+
| Llama-1B | IOI | eap-ig | ablation_score 0.88 *(before the correction, not re-measured)* |
|
|
51
|
+
| Llama-3B | IOI | eap-ig | ablation_score 0.85 *(before the correction, not re-measured)* |
|
|
52
|
+
| Gemma-2B | IOI | eap-ig | ablation_score 0.87 *(before the correction, not re-measured)* |
|
|
51
53
|
| Llama-1B | SVA | eap-ig | ablation_score 0.87 |
|
|
52
54
|
| Llama-1B | Gender Bias | eap-ig | ablation_score 0.90 |
|
|
53
55
|
| GPT-2 | IOI | acdc | ablation_score 0.76 |
|
|
@@ -116,7 +116,8 @@ report = evaluate_circuit(
|
|
|
116
116
|
{"model": {"name": "gpt2"}, "discovery": {"task": "ioi"}, "pruning": {}},
|
|
117
117
|
scores_path="./gpt2_ioi_scores.pt",
|
|
118
118
|
)
|
|
119
|
-
print(report.
|
|
119
|
+
print(report.patching_score) # clipped to 0-1
|
|
120
|
+
print(report.patching_raw_ratio) # not clipped
|
|
120
121
|
```
|
|
121
122
|
|
|
122
123
|
---
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Provenance record (`lexsi_provenance.json`)
|
|
2
|
+
|
|
3
|
+
CircuitKIT writes a `lexsi.provenance/1` record into every checkpoint folder it exports
|
|
4
|
+
(`lexsi_provenance.json`) and embeds one under `provenance` in every `*_scores.json`.
|
|
5
|
+
The writer is `circuitkit.provenance.make_provenance` / `write_provenance`.
|
|
6
|
+
|
|
7
|
+
## `base_model` is the immediate parent
|
|
8
|
+
|
|
9
|
+
`base_model` names the model this step loaded: a Hub id or a local path. It is always
|
|
10
|
+
the `ref` of a `kind: "model"` entry in `inputs`. It is not the original foundation
|
|
11
|
+
model. To find that, follow the parent's own record, which is embedded under that
|
|
12
|
+
input's `provenance`, until it is `null`.
|
|
13
|
+
|
|
14
|
+
`base_model` is `null` only when `inputs` has no model entry.
|
|
15
|
+
|
|
16
|
+
Example: `gpt2` is pruned and exported to `out/pruned`, then that folder is loaded,
|
|
17
|
+
quantized and exported to `out/quantized`. The second record:
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"schema": "lexsi.provenance/1",
|
|
22
|
+
"library": "circuitkit",
|
|
23
|
+
"base_model": "out/pruned",
|
|
24
|
+
"base_model_relation": "quantized",
|
|
25
|
+
"method": "export_checkpoint.quantization",
|
|
26
|
+
"inputs": [
|
|
27
|
+
{
|
|
28
|
+
"kind": "model",
|
|
29
|
+
"ref": "out/pruned",
|
|
30
|
+
"provenance": {
|
|
31
|
+
"schema": "lexsi.provenance/1",
|
|
32
|
+
"library": "circuitkit",
|
|
33
|
+
"base_model": "gpt2",
|
|
34
|
+
"base_model_relation": "finetune",
|
|
35
|
+
"method": "export_checkpoint.pruning",
|
|
36
|
+
"inputs": [{"kind": "model", "ref": "gpt2", "provenance": null}],
|
|
37
|
+
"params": {}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"params": {}
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
(`version`, `git_sha` and `created_at` are left out here.)
|
|
46
|
+
|
|
47
|
+
## `base_model_relation`
|
|
48
|
+
|
|
49
|
+
Optional. One of `finetune`, `adapter`, `quantized`, `merge`. The key is left out when
|
|
50
|
+
the step did not produce a model or the relation is not known; it is never `null`.
|
|
51
|
+
|
|
52
|
+
| Written by | `method` | `base_model_relation` |
|
|
53
|
+
|---|---|---|
|
|
54
|
+
| `ck.export_checkpoint` / `save_pruned_checkpoint` (pruned or edited weights) | `export_checkpoint.pruning` | `finetune` (same architecture, changed weights) |
|
|
55
|
+
| `save_quantized_checkpoint` | `export_checkpoint.quantization` | `quantized` |
|
|
56
|
+
| `*_scores.json` from discovery | the algorithm | not written: discovery reads the model and produces no model |
|
|
57
|
+
|
|
58
|
+
## Limits
|
|
59
|
+
|
|
60
|
+
- `make_provenance` raises `ValueError` when `base_model` is passed and is not the `ref`
|
|
61
|
+
of a model entry in `inputs`, or when the relation is not one of the four values.
|
|
62
|
+
- The record compares strings. It cannot tell whether the named model is the one that
|
|
63
|
+
was really loaded; for a model built in memory the `ref` comes from its config.
|
|
64
|
+
- Records written before this rule can name the parent's parent in `base_model` when
|
|
65
|
+
the loaded folder carried its own record. Their `inputs` are correct, so read the
|
|
66
|
+
parent from the model entry in `inputs` for those files.
|
|
@@ -37,8 +37,8 @@ The command writes a JSON report:
|
|
|
37
37
|
|
|
38
38
|
```json
|
|
39
39
|
{
|
|
40
|
-
"patching_score": 0.
|
|
41
|
-
"ablation_score": 0.
|
|
40
|
+
"patching_score": 0.94,
|
|
41
|
+
"ablation_score": 0.0,
|
|
42
42
|
"stability": null,
|
|
43
43
|
"robustness": null,
|
|
44
44
|
"baseline_comparison": null,
|
|
@@ -156,8 +156,8 @@ python3 -c "
|
|
|
156
156
|
import json
|
|
157
157
|
with open('./ci/eval_report.json') as f:
|
|
158
158
|
r = json.load(f)
|
|
159
|
-
assert r['
|
|
160
|
-
print('Circuit quality check passed:', r['
|
|
159
|
+
assert r['patching_score'] > 0.70, f'Circuit quality below threshold: {r[\"patching_score\"]}'
|
|
160
|
+
print('Circuit quality check passed:', r['patching_score'], 'raw', r['metadata'].get('patching_raw_ratio'))
|
|
161
161
|
"
|
|
162
162
|
```
|
|
163
163
|
|
|
@@ -81,6 +81,8 @@ score = evaluate_graph(model, graph, dataloader, metrics=[metric_fn],
|
|
|
81
81
|
|
|
82
82
|
A low score means ablating the out-of-circuit nodes destroys behavior that the circuit was supposed to carry on its own — a sign the circuit is incomplete.
|
|
83
83
|
|
|
84
|
+
The score is clipped to the range 0 to 1. `report.ablation_raw_ratio` holds the unclipped ratio, and the report says when it is outside the range. With zero ablation it is often below 0, including for good circuits: on GPT-2 `ioi` a discovered circuit and a deliberately bad control both score a clipped 0.0. See [the raw ratio](causal-patching.md#the-raw-ratio-and-scores-outside-0-to-1) for the numbers.
|
|
85
|
+
|
|
84
86
|
---
|
|
85
87
|
|
|
86
88
|
## Pillar 1 vs. Pillar 2 Together
|
|
@@ -26,16 +26,18 @@ A faithful circuit should score higher than both baselines. The gap between the
|
|
|
26
26
|
# Via Pipeline
|
|
27
27
|
pipe.evaluate(pillars=["baselines"], n_examples=256)
|
|
28
28
|
print(pipe.report.baseline_comparison)
|
|
29
|
+
# GPT-2, ioi, eap-ig, seed 42, 256 examples, 30% pruned (Tesla T4, 2026-10-11):
|
|
29
30
|
# {
|
|
30
|
-
# "circuit_score":
|
|
31
|
+
# "circuit_score": 4.044, # mean logit difference, not a 0-to-1 ratio
|
|
31
32
|
# "baselines": {
|
|
32
|
-
# "random": {"score":
|
|
33
|
-
#
|
|
33
|
+
# "random": {"score": 1.172, "score_std": 1.288, "n_draws": 5,
|
|
34
|
+
# "percentage": 345.0, "improvement": 3.45, "z_score": 2.23, ...},
|
|
35
|
+
# "magnitude": {"score": -0.493, "percentage": None, "improvement": None, ...},
|
|
34
36
|
# },
|
|
35
|
-
# "best_baseline_score":
|
|
36
|
-
# "circuit_advantage":
|
|
37
|
-
# "circuit_sparsity": 0.
|
|
38
|
-
# "summary": "Circuit substantially outperforms random baseline (
|
|
37
|
+
# "best_baseline_score": 1.172,
|
|
38
|
+
# "circuit_advantage": 2.872, # circuit_score - best_baseline_score
|
|
39
|
+
# "circuit_sparsity": 0.696,
|
|
40
|
+
# "summary": "Circuit substantially outperforms random baseline (3.45x improvement)",
|
|
39
41
|
# "baseline_types": ["random", "magnitude"],
|
|
40
42
|
# }
|
|
41
43
|
```
|
|
@@ -44,7 +46,12 @@ print(pipe.report.baseline_comparison)
|
|
|
44
46
|
|
|
45
47
|
## Interpreting the Results
|
|
46
48
|
|
|
47
|
-
|
|
49
|
+
The scores in `baseline_comparison` are the task metric itself (for `ioi`, a mean logit
|
|
50
|
+
difference). To put them on the 0-to-1 scale of the patching score, divide the distance from the
|
|
51
|
+
corrupt baseline by `clean - corrupt`; both are printed in the Pillar 1 log line. The table below
|
|
52
|
+
is on that scale.
|
|
53
|
+
|
|
54
|
+
**Key metric:** the circuit's ratio minus the random baseline's ratio (the "baseline gap")
|
|
48
55
|
|
|
49
56
|
| Gap | Interpretation |
|
|
50
57
|
|:---:|----------------|
|
|
@@ -55,13 +62,27 @@ print(pipe.report.baseline_comparison)
|
|
|
55
62
|
|
|
56
63
|
**Circuit vs. magnitude:** If the magnitude baseline is close to the circuit score, the discovery algorithm may be largely selecting high-weight components — which magnitude selection also does. This suggests the algorithm is not providing much value beyond a simple weight-norm heuristic.
|
|
57
64
|
|
|
58
|
-
**
|
|
65
|
+
**Measured values.** The GPT-2 IOI row was re-measured on 2026-10-11: `gpt2`, `ioi`, `eap-ig`,
|
|
66
|
+
seed 42, 256 discovery and 256 evaluation examples, 30% pruned, `float32`, one Tesla T4, with
|
|
67
|
+
|
|
68
|
+
```python
|
|
69
|
+
circuit = ck.discover(model, "ioi", algorithm="eap-ig", n_examples=256, sparsity=0.3, seed=42)
|
|
70
|
+
report = ck.faithfulness(model, circuit, "ioi", pillars=["patching", "ablation", "baselines"],
|
|
71
|
+
n_examples=256, seed=42)
|
|
72
|
+
```
|
|
59
73
|
|
|
60
|
-
| Model | Task | Circuit | Random | Magnitude |
|
|
61
|
-
|
|
62
|
-
| GPT-2 | IOI | 0.
|
|
63
|
-
| GPT-2 |
|
|
64
|
-
|
|
|
74
|
+
| Model | Task | Circuit | Random | Magnitude | Status |
|
|
75
|
+
|-------|------|:-------:|:------:|:---------:|--------|
|
|
76
|
+
| GPT-2 | IOI | 0.945 | 0.290 (mean of 5 draws) | -0.089 | re-measured 2026-10-11 |
|
|
77
|
+
| GPT-2 | IOI | 0.83 | 0.31 | 0.48 | before the `ioi` scored position was corrected; superseded by the row above |
|
|
78
|
+
| GPT-2 | SVA | 0.79 | 0.28 | 0.45 | audit value; not affected by the correction |
|
|
79
|
+
| Llama-1B | MMLU | 0.71 | 0.33 | 0.50 | measured before the padding correction (`mmlu` pads left) and not re-measured |
|
|
80
|
+
|
|
81
|
+
In the re-measured row the raw logit differences are 4.044 (circuit), 1.172 (random) and -0.493
|
|
82
|
+
(magnitude), against a clean value of 4.288 and a corrupt value of -0.101. The five random draws
|
|
83
|
+
range from -0.37 to 3.09 (standard deviation 1.29), so one random draw is not a reliable baseline;
|
|
84
|
+
the gap to the mean is 0.65. The magnitude selection scores below the corrupt baseline here, where
|
|
85
|
+
the earlier number had it at 0.48.
|
|
65
86
|
|
|
66
87
|
---
|
|
67
88
|
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
# Pillar 1: Causal Patching
|
|
2
|
+
|
|
3
|
+
Causal patching is the **fastest** faithfulness test and the most commonly reported metric. It answers the question: *if we patch back only the circuit nodes to their clean activation values (leaving all other nodes at their corrupted values), does the model's behavior recover?*
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## The Measurement
|
|
8
|
+
|
|
9
|
+
**Setup:**
|
|
10
|
+
1. Run the model on the corrupted input $x^*$ — all activations are now "corrupted"
|
|
11
|
+
2. Patch circuit nodes back to their clean activation values (from $x$)
|
|
12
|
+
3. Measure the logit-difference metric $f$ at the output
|
|
13
|
+
|
|
14
|
+
If the circuit is faithful, the metric after patching should be close to the full-model clean metric:
|
|
15
|
+
|
|
16
|
+
$$\text{patching score} = \frac{f(\text{corrupted} + \text{circuit nodes patched}) - f(x^*)}{f(x) - f(x^*)}$$
|
|
17
|
+
|
|
18
|
+
A score of 1.0 means the circuit alone can fully recover the clean behavior. A score of 0.0 means patching back the circuit has no effect.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Running Pillar 1
|
|
23
|
+
|
|
24
|
+
```python
|
|
25
|
+
# Via Pipeline
|
|
26
|
+
pipe.evaluate(pillars=["patching"], n_examples=256)
|
|
27
|
+
print(pipe.report.patching_score)
|
|
28
|
+
|
|
29
|
+
# Via evaluate_circuit
|
|
30
|
+
results = evaluate_circuit({
|
|
31
|
+
...,
|
|
32
|
+
"eval": {"pillars": ["patching"]},
|
|
33
|
+
})
|
|
34
|
+
print(results.patching_score) # Pillar 1 patching score
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Low-level:
|
|
38
|
+
|
|
39
|
+
```python
|
|
40
|
+
from circuitkit.evaluation.evaluate import evaluate_graph
|
|
41
|
+
|
|
42
|
+
# Apply circuit to graph
|
|
43
|
+
graph.apply_topn(n=30, level="node") # keep top 30 nodes (default level="edge")
|
|
44
|
+
|
|
45
|
+
raw_metric = evaluate_graph(
|
|
46
|
+
model,
|
|
47
|
+
graph,
|
|
48
|
+
dataloader,
|
|
49
|
+
metrics=[metric_fn],
|
|
50
|
+
intervention="patching", # the patching intervention
|
|
51
|
+
quiet=True,
|
|
52
|
+
)
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
!!! note "`evaluate_graph` returns the raw metric, not the normalized score"
|
|
56
|
+
`evaluate_graph` gives you the raw per-sample metric under the patching intervention — **not** the 0-1 faithfulness ratio. The normalization against the clean and corrupt baselines happens inside `Pillar1_CausalPatching.run`, which is what populates `report.patching_score`. If you call `evaluate_graph` directly, you still need to normalize yourself: `(raw_metric - corrupt_baseline) / (clean_baseline - corrupt_baseline)`.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## The raw ratio, and scores outside 0 to 1
|
|
61
|
+
|
|
62
|
+
`report.patching_score` and `report.ablation_score` are the ratio clipped to the range 0 to 1.
|
|
63
|
+
The unclipped value is kept next to them:
|
|
64
|
+
|
|
65
|
+
```python
|
|
66
|
+
report = ck.faithfulness(model, circuit, "ioi")
|
|
67
|
+
report.patching_score # clipped to [0, 1]
|
|
68
|
+
report.patching_raw_ratio # (circuit - corrupt) / (clean - corrupt), not clipped
|
|
69
|
+
report.ablation_raw_ratio # same, for Pillar 2
|
|
70
|
+
report.summary() # includes pillar_1_patching_raw_ratio and pillar_2_ablation_raw_ratio
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
The raw ratio is also in `report.metadata["patching_raw_ratio"]` and
|
|
74
|
+
`report.metadata["ablation_raw_ratio"]`, which is where the JSON report stores it, and each
|
|
75
|
+
pillar's result dict has `raw_ratio` and an `out_of_range` flag.
|
|
76
|
+
|
|
77
|
+
A raw ratio can leave the range in two ways:
|
|
78
|
+
|
|
79
|
+
- **Above 1**: the circuit scores higher on the metric than the full model. Removing components
|
|
80
|
+
can raise a logit difference, so this does not mean the circuit is "more than faithful".
|
|
81
|
+
- **Below 0**: the circuit scores lower than the corrupt baseline. Zero ablation often does this,
|
|
82
|
+
because zeroed activations push the model somewhere neither the clean nor the corrupt run goes.
|
|
83
|
+
|
|
84
|
+
When that happens the pillar logs a warning, and the printed report says so:
|
|
85
|
+
|
|
86
|
+
```text
|
|
87
|
+
PILLAR 2: Ablation Faithfulness
|
|
88
|
+
Score: 0.0000 (OUT OF RANGE: raw ratio -0.7333 is below 0: the circuit scores lower than the corrupt baseline, and the score is floored at 0)
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Read the raw ratio whenever a score is exactly 0.0 or 1.0. Two circuits that both clip to the same
|
|
92
|
+
end can be far apart, and a clipped 1.0 is not evidence that a pruned checkpoint still does the
|
|
93
|
+
task. The values are `None` for reports that did not record a ratio.
|
|
94
|
+
|
|
95
|
+
### A control circuit to compare against
|
|
96
|
+
|
|
97
|
+
A faithfulness score means more next to a deliberately bad circuit of the same size. Reverse the
|
|
98
|
+
ranking, so the components the algorithm scored highest are the ones removed:
|
|
99
|
+
|
|
100
|
+
```python
|
|
101
|
+
from circuitkit.circuit import Circuit
|
|
102
|
+
|
|
103
|
+
top = max(abs(v) for v in circuit.scores.values())
|
|
104
|
+
control = Circuit(circuit.nodes, {k: top - abs(v) for k, v in circuit.scores.items()},
|
|
105
|
+
task="ioi", algorithm="eap", level="node")
|
|
106
|
+
bad = ck.faithfulness(model, control, "ioi")
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Measured on GPT-2, `ioi`, `eap`, 32 examples, seed 0, CPU. Raw ratios; the clipped score is in
|
|
110
|
+
brackets where it differs:
|
|
111
|
+
|
|
112
|
+
| Circuit | Pruned | Pillar 1 patching | Pillar 2 zero ablation |
|
|
113
|
+
|---|---|:---:|:---:|
|
|
114
|
+
| discovered | 30% | 0.931 | -0.155 (0.0) |
|
|
115
|
+
| reversed control | 30% | -0.015 (0.0) | -0.733 (0.0) |
|
|
116
|
+
| discovered | 80% | 0.834 | -0.308 (0.0) |
|
|
117
|
+
| reversed control | 80% | -0.010 (0.0) | -0.329 (0.0) |
|
|
118
|
+
|
|
119
|
+
Patching separates the discovered circuit from the control by a wide margin. Zero ablation does
|
|
120
|
+
not on this model and task: both circuits fall below the corrupt baseline, and at 80% pruned the
|
|
121
|
+
two raw ratios are nearly equal. Do not use the zero-ablation score alone to accept a GPT-2 `ioi`
|
|
122
|
+
circuit; use patching and the control comparison. Mean ablation was not measured here.
|
|
123
|
+
|
|
124
|
+
### Where the `ioi` and `double_io` prompts end
|
|
125
|
+
|
|
126
|
+
Both tasks score the logit difference at the last prompt token, the one that predicts the name
|
|
127
|
+
("... gave a drink to"). The cached prompt text stops there. Before this was corrected the prompt
|
|
128
|
+
kept the answer name at its end (for `ioi` on every row, with a second BOS token at the start; for
|
|
129
|
+
`double_io` on every row shorter than the longest, followed by padding tokens written out as
|
|
130
|
+
text), so the metric was read at the name itself. On GPT-2, 32 prompts, seed 0, the mean logit
|
|
131
|
+
difference is:
|
|
132
|
+
|
|
133
|
+
| Task | At the name (before) | At the predicting position (now) |
|
|
134
|
+
|---|:---:|:---:|
|
|
135
|
+
| `ioi` | 1.06 | 3.87 |
|
|
136
|
+
| `double_io` | 1.51 | 2.21 |
|
|
137
|
+
|
|
138
|
+
Every `ioi` and `double_io` score measured on the paired-text path (the EAP family and CD-T, and
|
|
139
|
+
`ck.faithfulness` on those tasks) before the correction is on the old position and is not
|
|
140
|
+
comparable with new ones. ACDC and IBCircuit already used the predicting position. Finetuning
|
|
141
|
+
data built from the discovery cache also changes: it used to append the answer to a prompt that
|
|
142
|
+
already ended with it.
|
|
143
|
+
|
|
144
|
+
Cache files are now named `ioi_prompt_<model>_<n>_seed<seed>.csv` and
|
|
145
|
+
`double_io_prompt_<model>_<n>_seed<seed>.csv`. Files written under the old names
|
|
146
|
+
(`ioi_<model>_...`, `double_io_<model>_...`) are no longer read and can be deleted.
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Interpreting the Score
|
|
151
|
+
|
|
152
|
+
| Score | Interpretation |
|
|
153
|
+
|-------|---------------|
|
|
154
|
+
| ≥ 0.85 | **Strong.** The circuit accounts for ≥ 85% of the behavior. |
|
|
155
|
+
| 0.70 – 0.85 | **Moderate.** The circuit captures the main computation but misses some components. |
|
|
156
|
+
| 0.50 – 0.70 | **Weak.** A meaningful portion of the behavior is outside the circuit. |
|
|
157
|
+
| < 0.50 | **Poor.** The circuit does not explain the behavior well. |
|
|
158
|
+
|
|
159
|
+
**Typical values in the CircuitKIT audit** (the two IOI rows were measured before the scored
|
|
160
|
+
position was corrected, see above, and have not been re-measured):
|
|
161
|
+
|
|
162
|
+
| Model | Task | Algorithm | Pillar 1 Score |
|
|
163
|
+
|-------|------|-----------|:-----------:|
|
|
164
|
+
| GPT-2 | IOI | `eap-ig` | 0.83 |
|
|
165
|
+
| GPT-2 | SVA | `eap-ig` | 0.79 |
|
|
166
|
+
| Llama-1B | MMLU | `eap-ig` | 0.71 |
|
|
167
|
+
| Gemma-2B | IOI | `eap-ig` | 0.76 |
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## What Causal Patching Tests (and Does Not Test)
|
|
172
|
+
|
|
173
|
+
**Tests:**
|
|
174
|
+
- Whether the circuit nodes are sufficient to reproduce the behavior (sufficiency)
|
|
175
|
+
- The circuit's ability to carry the relevant information
|
|
176
|
+
|
|
177
|
+
**Does NOT test:**
|
|
178
|
+
- Circuit *sufficiency* under ablation of out-of-circuit nodes (that's Pillar 2: Ablation)
|
|
179
|
+
- Whether the circuit is stable across seeds (Pillar 3)
|
|
180
|
+
- Whether the circuit is better than a random selection of the same size (Pillar 5)
|
|
181
|
+
|
|
182
|
+
A circuit can pass Pillar 1 and fail Pillar 2 if there are other components outside the circuit that *also* carry the information: the model has redundancy.
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Next Steps
|
|
187
|
+
|
|
188
|
+
- [Ablation (Pillar 2)](ablation.md) — testing necessity
|
|
189
|
+
- [Baselines (Pillar 5)](baselines.md) — comparing to random selection
|
|
190
|
+
- [Framework Overview](framework.md) — all 6 pillars
|
|
@@ -153,7 +153,7 @@ These are rough at-a-glance guides only; each pillar page carries the authoritat
|
|
|
153
153
|
| Better than magnitude (Pillar 5) | No | Yes by ≥ 0.10 |
|
|
154
154
|
|
|
155
155
|
**`patching_score`** (Pillar 1) = normalized faithfulness ratio from causal patching,
|
|
156
|
-
(y_circuit − y_corrupt) / (y_clean − y_corrupt),
|
|
156
|
+
(y_circuit − y_corrupt) / (y_clean − y_corrupt), clipped to the range 0 to 1. The unclipped value is `patching_raw_ratio` ([details](causal-patching.md#the-raw-ratio-and-scores-outside-0-to-1)).
|
|
157
157
|
**`ablation_score`** (Pillar 2) = the same normalized ratio computed on the ablated circuit.
|
|
158
158
|
|
|
159
159
|
## Optional: Intervention reliability (7th auxiliary pillar)
|
|
@@ -56,13 +56,26 @@ results = evaluate_circuit({
|
|
|
56
56
|
"pruning": {"target_sparsity": 0.3, "scope": "both"},
|
|
57
57
|
"output_path": "./circuit.pt",
|
|
58
58
|
})
|
|
59
|
-
print(results.patching_score)
|
|
60
|
-
print(results.
|
|
59
|
+
print(results.patching_score) # Pillar 1 (causal patching): 1.0, clipped
|
|
60
|
+
print(results.patching_raw_ratio) # 1.035: just above the full model
|
|
61
|
+
print(results.ablation_score) # Pillar 2 (zero ablation): 0.0, clipped
|
|
62
|
+
print(results.ablation_raw_ratio) # -0.21: below the corrupt baseline, see the note below
|
|
61
63
|
# results is a FaithfulnessReport; the full-faithfulness path also populates
|
|
62
64
|
# .stability / .robustness / .baseline_comparison / .generalization /
|
|
63
65
|
# .intervention_reliability. See results.summary() for a formatted view.
|
|
64
66
|
```
|
|
65
67
|
|
|
68
|
+
These values were measured on 2026-10-11 by running Steps 2 and 3 exactly as printed, on one Tesla T4:
|
|
69
|
+
`gpt2`, `eap-ig`, `ioi`, 32 discovery examples, 30% pruned (46 of 156 components removed). Step 3
|
|
70
|
+
states no seed or example count, so the defaults apply: seed 42 and 256 evaluation examples. The
|
|
71
|
+
same steps on a CPU gave 1.029 and -0.20. An earlier CPU figure printed here (0.94 and -0.07) was
|
|
72
|
+
not reproduced.
|
|
73
|
+
|
|
74
|
+
Both scores are clipped to the range 0 to 1. On GPT-2 `ioi`, zero ablation takes the model below
|
|
75
|
+
the corrupt baseline, so `ablation_score` prints as 0.0 even for a good circuit; judge this circuit
|
|
76
|
+
by `patching_score` and read [the raw ratio](../evaluation/causal-patching.md#the-raw-ratio-and-scores-outside-0-to-1) before drawing a conclusion from a
|
|
77
|
+
score of exactly 0.0 or 1.0.
|
|
78
|
+
|
|
66
79
|
## Step 4: Prune and export
|
|
67
80
|
|
|
68
81
|
```python
|
|
@@ -23,7 +23,7 @@ Every algorithm has a stability tier, displayed next to its name throughout thes
|
|
|
23
23
|
|
|
24
24
|
The CircuitKIT audit paper ("Faithfulness Is Not Actionability", EMNLP Findings 2026) evaluated the core discovery algorithms across 6 faithfulness pillars and found:
|
|
25
25
|
|
|
26
|
-
- **`eap` and `eap-ig`**
|
|
26
|
+
- **`eap` and `eap-ig`** recover about 95% of the behaviour on GPT-2 IOI under patching (patching score 0.945 for `eap-ig`, 0.971 for `eap`; seed 42, 256 examples, 30% pruned, re-measured 2026-10-11). The audit's earlier claim of ≥0.85 `ablation_score` for `eap-ig` across GPT-2, Llama-3.2-3B and Gemma-2-2B does not hold on GPT-2 after the `ioi` scored position was corrected (zero-ablation ratio -0.28), and its Llama and Gemma parts were measured before the correction and not re-measured. See [Audit Results](results.md).
|
|
27
27
|
- **ACDC and IBCircuit** produce smaller circuits but with lower faithfulness. The audit scored them on GPT-2 IOI only. ACDC is slow, and IBCircuit has a memory ceiling on multi-billion-parameter models (it can OOM above ~3B parameters on a single GPU at aggressive settings).
|
|
28
28
|
- **Research algorithms** are unvalidated beyond GPT-2 IOI. Do not cite findings from them without independent verification.
|
|
29
29
|
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# CircuitKIT — Audit Results
|
|
2
|
+
|
|
3
|
+
This page answers the question [scope.md](scope.md) does not: an algorithm is *stable* — but **how faithful is it on real models?** These are the empirical results from the CircuitKIT audit paper.
|
|
4
|
+
|
|
5
|
+
> [scope.md](scope.md) tells you which algorithms are validated. This page tells you how faithful they actually were on real checkpoints.
|
|
6
|
+
|
|
7
|
+
!!! warning "Which numbers on this page are current"
|
|
8
|
+
Two corrections changed every `ioi` number from the EAP family: the task now reads its metric
|
|
9
|
+
at the token that predicts the answer, and padding is masked on the side that was padded
|
|
10
|
+
(see [where the prompts end](../evaluation/causal-patching.md#where-the-ioi-and-double_io-prompts-end)).
|
|
11
|
+
|
|
12
|
+
- **Re-measured on 2026-10-11:** the GPT-2 IOI rows for `eap-ig`, `eap`, `eap-ig-activations`
|
|
13
|
+
and `eap-clean-corrupted`. They are in the tables marked *re-measured*, with the command.
|
|
14
|
+
- **Measured before the corrections and not re-measured:** every Llama and Gemma IOI number and
|
|
15
|
+
the BoolQ row. The models are gated and were not available to the re-measurement run. These
|
|
16
|
+
cells are marked *(before)*. Do not compare them with current runs.
|
|
17
|
+
- **Not affected:** the `acdc` and `ibcircuit` rows, which build their own batches and already
|
|
18
|
+
read the predicting position.
|
|
19
|
+
|
|
20
|
+
## Methodology
|
|
21
|
+
|
|
22
|
+
- **Models**: GPT-2 (124M), Llama-3.2-1B-Instruct, Llama-3.2-3B-Instruct, Gemma-2-2B-it
|
|
23
|
+
- **Tasks**: IOI, SVA, Gender Bias, Greater-Than, BoolQ — the 5 core evaluation tasks
|
|
24
|
+
- **Metrics**: Each pillar produces a faithfulness ratio clipped to [0, 1]. The re-measured tables report the patching score (Pillar 1), which is [the measure for comparing circuits](../evaluation/causal-patching.md#which-measure-to-compare-circuits-with), with the zero-ablation ratio (Pillar 2) next to it. The tables marked *(before)* report `ablation_score` as the audit recorded it.
|
|
25
|
+
- **All runs**: Single seed (seed 42), 256 examples. EAP-family rows use `eap-ig` defaults; `acdc` and `ibcircuit` use their own defaults and required data regime.
|
|
26
|
+
|
|
27
|
+
## Stable-tier results (EAP family)
|
|
28
|
+
|
|
29
|
+
### GPT-2 IOI, re-measured
|
|
30
|
+
|
|
31
|
+
| Algorithm | Patching score | Zero-ablation ratio (clipped score) | `ablation_score` before the corrections |
|
|
32
|
+
|---|:---:|:---:|:---:|
|
|
33
|
+
| `eap-ig` | **0.945** | -0.276 (0.0) | 0.91 |
|
|
34
|
+
| `eap` | **0.971** | 0.113 (0.113) | 0.84 |
|
|
35
|
+
|
|
36
|
+
Measured 2026-10-11 on one Tesla T4 and reproduced on 2026-11-10 with the same command on CPU and on one RTX 6000 Ada (`eap-ig` 0.9446 and -0.2763, `eap` 0.9710 and 0.1132 on both). Model `gpt2`, task `ioi`, seed 42, 256 discovery examples and
|
|
37
|
+
256 evaluation examples, node level, 30% pruned (46 of 156 components removed), `float32`:
|
|
38
|
+
|
|
39
|
+
```python
|
|
40
|
+
model = ck.load_model("gpt2", dtype="float32")
|
|
41
|
+
circuit = ck.discover(model, "ioi", algorithm="eap-ig", n_examples=256, sparsity=0.3, seed=42)
|
|
42
|
+
report = ck.faithfulness(model, circuit, "ioi", n_examples=256, seed=42)
|
|
43
|
+
report.patching_score, report.ablation_raw_ratio
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**Read:** both algorithms recover about 95% of the clean-minus-corrupt logit difference under
|
|
47
|
+
patching (clean 4.29, corrupt -0.10). The old `ablation_score` values of 0.84 to 0.91 do not
|
|
48
|
+
survive: with zero ablation the same circuits score between -0.28 and 0.11. Run time was not
|
|
49
|
+
compared in this run.
|
|
50
|
+
|
|
51
|
+
### Llama and Gemma IOI (before, not re-measured)
|
|
52
|
+
|
|
53
|
+
| Algorithm | Llama-1B IOI *(before)* | Llama-3B IOI *(before)* | Gemma-2B IOI *(before)* |
|
|
54
|
+
|---|---|---|---|
|
|
55
|
+
| `eap-ig` | 0.88 | 0.85 | 0.87 |
|
|
56
|
+
| `eap` | 0.81 | 0.79 | 0.80 |
|
|
57
|
+
|
|
58
|
+
These are `ablation_score` values measured before the corrections. Given what happened to the GPT-2
|
|
59
|
+
column, expect them to change.
|
|
60
|
+
|
|
61
|
+
## By task (eap-ig, Llama-1B)
|
|
62
|
+
|
|
63
|
+
The IOI and BoolQ rows were measured before the corrections and not re-measured (`ioi`: scored
|
|
64
|
+
position; `boolq`: pads left, so it attended to padding on a right-padding tokenizer). The SVA,
|
|
65
|
+
Gender Bias and Greater-Than rows are not touched by the position correction; the padding
|
|
66
|
+
correction reaches them only on a tokenizer that pads left.
|
|
67
|
+
|
|
68
|
+
| Task | Patching | Ablation | Stability | Robustness | Baselines | Generalization |
|
|
69
|
+
|---|---|---|---|---|---|---|
|
|
70
|
+
| IOI *(before)* | 0.91 | 0.89 | 0.88 (Spearman) | 0.86 | 0.84 | 0.81 |
|
|
71
|
+
| SVA | 0.87 | 0.85 | 0.84 | 0.82 | 0.80 | — |
|
|
72
|
+
| Gender Bias | 0.90 | 0.88 | 0.87 | 0.85 | 0.83 | — |
|
|
73
|
+
| Greater-Than | 0.83 | 0.81 | 0.80 | 0.78 | 0.76 | — |
|
|
74
|
+
| BoolQ *(before)* | 0.79 | 0.76 | 0.75 | 0.73 | 0.71 | — |
|
|
75
|
+
|
|
76
|
+
**Read:** as recorded by the audit, IOI and Gender Bias produced the most faithful circuits (0.86–0.91) and BoolQ the least (0.73–0.79). The IOI and BoolQ ends of that comparison rest on numbers that have not been re-measured.
|
|
77
|
+
|
|
78
|
+
!!! note "Missing values (—)"
|
|
79
|
+
Generalization (Pillar 6) requires a `target_task`. It was only run for IOI (target: SVA). Baselines data for non-IOI tasks is preliminary — treat as directional.
|
|
80
|
+
|
|
81
|
+
## Stable-tier results (ACDC, IBCircuit)
|
|
82
|
+
|
|
83
|
+
| Algorithm | GPT-2 IOI | Notes |
|
|
84
|
+
|---|---|---|
|
|
85
|
+
| `acdc` | 0.76 | Produces smaller circuits (~5% of heads vs. ~15% for EAP) |
|
|
86
|
+
| `ibcircuit` | 0.72 | Requires clean-only data; OOM at 3B (safe below) |
|
|
87
|
+
|
|
88
|
+
**Read:** ACDC and IBCircuit produce smaller circuits. These two numbers are `ablation_score` values and are not on the same measure as the re-measured EAP rows above, so the two tables cannot be ranked against each other. The audit scored them on GPT-2 IOI only.
|
|
89
|
+
|
|
90
|
+
## Research-tier results (EAP variants)
|
|
91
|
+
|
|
92
|
+
GPT-2 IOI, re-measured 2026-10-11 with the command above (`algorithm=` changed; seed 42, 256 examples, 30% pruned, Tesla T4):
|
|
93
|
+
|
|
94
|
+
| Algorithm | Patching score | Zero-ablation ratio (clipped score) | `ablation_score` before the corrections |
|
|
95
|
+
|---|:---:|:---:|:---:|
|
|
96
|
+
| `eap-ig-activations` | 0.971 | 0.006 (0.006) | 0.89 |
|
|
97
|
+
| `eap-clean-corrupted` | 0.977 | -0.029 (0.0) | 0.87 |
|
|
98
|
+
|
|
99
|
+
**Read:** These EAP variants score close to `eap-ig` on GPT-2 IOI under patching, but — unlike `eap` and `eap-ig` — they have not been validated on Llama, Gemma, or Qwen, so they remain Research tier. Do not assume the GPT-2 numbers transfer to other model families.
|
|
100
|
+
|
|
101
|
+
## How to read this — honest caveats
|
|
102
|
+
|
|
103
|
+
- This is a **smoke-grade audit**, not a benchmark paper: limited model families, single seed, 256 examples per run. Treat scores as directional, not exact.
|
|
104
|
+
- Numbers are for the **default 30% sparsity** (keep top 70% of nodes). Results change with sparsity — circuits at 50% sparsity have lower faithfulness.
|
|
105
|
+
- The exact magnitude depends on the checkpoint and will differ on your model. Treat verdicts (high/medium/low) as the signal; the exact decimal is environment-dependent.
|
|
106
|
+
|
|
107
|
+
See the [Evaluation framework](../evaluation/framework.md) for how each pillar is computed.
|
|
@@ -24,8 +24,9 @@ results = evaluate_circuit({
|
|
|
24
24
|
"eval": {"pillars": ["patching", "ablation", "baselines"]},
|
|
25
25
|
})
|
|
26
26
|
# results is a FaithfulnessReport:
|
|
27
|
-
# results.patching_score
|
|
28
|
-
# results.ablation_score
|
|
27
|
+
# results.patching_score (Pillar 1, clipped to 0-1)
|
|
28
|
+
# results.ablation_score (Pillar 2, clipped to 0-1; 0.0 on GPT-2 ioi with zero ablation)
|
|
29
|
+
# results.patching_raw_ratio, results.ablation_raw_ratio (not clipped)
|
|
29
30
|
# results.baseline_comparison (Pillar 5, incl. circuit-vs-random)
|
|
30
31
|
```
|
|
31
32
|
|
|
@@ -110,8 +111,10 @@ Rows are **sorted by cost** (cheapest first), not by pillar number.
|
|
|
110
111
|
| Better than magnitude (Pillar 5) | No | Yes by ≥ 0.10 |
|
|
111
112
|
|
|
112
113
|
**`report.patching_score`** (Pillar 1) = normalized faithfulness ratio under
|
|
113
|
-
patching, `(y_circuit − y_corrupt) / (y_clean − y_corrupt)`
|
|
114
|
-
1.0 means the circuit fully recovers full-model behavior.
|
|
114
|
+
patching, `(y_circuit − y_corrupt) / (y_clean − y_corrupt)` clipped to the range 0 to 1;
|
|
115
|
+
1.0 means the circuit fully recovers full-model behavior. The unclipped value is
|
|
116
|
+
`report.patching_raw_ratio` (and `report.ablation_raw_ratio`); the report says when it is
|
|
117
|
+
outside the range. See [the raw ratio](../evaluation/causal-patching.md#the-raw-ratio-and-scores-outside-0-to-1).
|
|
115
118
|
**`report.ablation_score`** (Pillar 2) = the same normalized ratio computed on
|
|
116
119
|
the ablated circuit.
|
|
117
120
|
|