logogram 0.7.2__tar.gz → 0.8.0__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.
- {logogram-0.7.2 → logogram-0.8.0}/AGENTS.md +23 -14
- {logogram-0.7.2 → logogram-0.8.0}/CHANGELOG.md +65 -0
- {logogram-0.7.2 → logogram-0.8.0}/PKG-INFO +13 -7
- {logogram-0.7.2 → logogram-0.8.0}/README.md +12 -6
- {logogram-0.7.2 → logogram-0.8.0}/docs/README.md +1 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/__init__.py +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/atp.py +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/circuits.py +213 -23
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/edges.py +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/engine.py +75 -2
- logogram-0.8.0/src/logogram/examples/factual-recall-gpt2/experiments/capital-causal-trace/spec.json +49 -0
- logogram-0.8.0/src/logogram/examples/gendered-pronoun-gpt2/experiments/pronoun-direct-effects/spec.json +50 -0
- logogram-0.8.0/src/logogram/examples/greater-than-gpt2/experiments/greater-than-layers/spec.json +54 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/ioi-gpt2/experiments/ioi-head-patching/spec.json +4 -2
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/partial.py +4 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/report.py +40 -3
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/results.py +71 -24
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/robustness.py +4 -1
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/schema.py +29 -7
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/spec.py +181 -6
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/stats.py +68 -4
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/system.py +9 -1
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/toys.py +11 -2
- logogram-0.8.0/src/logogram/web_dist/assets/GuideFigures-oNmw1JJx.css +1 -0
- logogram-0.7.2/src/logogram/web_dist/assets/GuideFigures-Cmhte-Sh.js → logogram-0.8.0/src/logogram/web_dist/assets/GuideFigures-p7qiS74L.js +1 -1
- logogram-0.7.2/src/logogram/web_dist/assets/PatchingFigures-BR5oqtfl.js → logogram-0.8.0/src/logogram/web_dist/assets/PatchingFigures-DeWS5QCW.js +1 -1
- logogram-0.8.0/src/logogram/web_dist/assets/PatchingFigures-Se31mF8l.css +1 -0
- logogram-0.7.2/src/logogram/web_dist/assets/StartHere-NLiFuTvq.js → logogram-0.8.0/src/logogram/web_dist/assets/StartHere-D9we17E2.js +1 -1
- logogram-0.7.2/src/logogram/web_dist/assets/StartHere-DLYKmSNI.css → logogram-0.8.0/src/logogram/web_dist/assets/StartHere-DwqjC9X4.css +1 -1
- logogram-0.8.0/src/logogram/web_dist/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- logogram-0.8.0/src/logogram/web_dist/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- logogram-0.8.0/src/logogram/web_dist/assets/index-CvUrkw0h.js +61 -0
- logogram-0.8.0/src/logogram/web_dist/assets/index-CxuG1JuO.css +1 -0
- logogram-0.8.0/src/logogram/web_dist/assets/instrument-serif-latin-400-normal-BVbkICAY.woff +0 -0
- logogram-0.8.0/src/logogram/web_dist/assets/instrument-serif-latin-400-normal-DnYpCC2O.woff2 +0 -0
- logogram-0.8.0/src/logogram/web_dist/assets/night-observatory-C_gG3uNO.webp +0 -0
- logogram-0.8.0/src/logogram/web_dist/assets/paint-observatory-zcbTu2Fm.webp +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/web_dist/index.html +2 -2
- logogram-0.8.0/tests/test_controls.py +390 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_partial.py +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_specs.py +34 -7
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_statistics.py +98 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/package-lock.json +20 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/package.json +2 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/api/types.ts +67 -9
- logogram-0.8.0/web/src/assets/night-observatory.webp +0 -0
- logogram-0.8.0/web/src/assets/paint-observatory.webp +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/CircuitDialog.tsx +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/GuideDialog.tsx +1 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Header.module.css +2 -2
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Heatmap/Heatmap.tsx +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Inspector.tsx +9 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ModelMap/ModelMap.tsx +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/RobustnessDialog.tsx +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/StartHere.module.css +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/StartHere.tsx +3 -2
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/SweepChart/SweepChart.tsx +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/TopBar.module.css +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/UpdateNotice.module.css +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Walkthrough.module.css +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/figures/Figures.module.css +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/figures/GuideFigures.module.css +2 -2
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ui/ui.module.css +6 -6
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/buildSpec.ts +43 -4
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/canvas.ts +4 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/formDraft.ts +21 -2
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/formState.ts +9 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/guide.ts +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/spec.ts +44 -5
- {logogram-0.7.2 → logogram-0.8.0}/web/src/screens/Screens.module.css +43 -50
- {logogram-0.7.2 → logogram-0.8.0}/web/src/screens/Welcome.tsx +2 -4
- {logogram-0.7.2 → logogram-0.8.0}/web/src/styles/global.css +11 -8
- {logogram-0.7.2 → logogram-0.8.0}/web/src/styles/tokens.css +63 -48
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/CircuitResults.tsx +51 -6
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/EdgeResults.tsx +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/ExperimentView.tsx +52 -8
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/ExploreView.tsx +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/FeaturesView.module.css +2 -2
- logogram-0.8.0/web/src/views/GateSettings.tsx +52 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/NeuronResults.module.css +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/PromptsView.tsx +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/RepresentationsView.tsx +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/RunSummary.tsx +9 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/SAEPicker.module.css +2 -2
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/SiteSets.module.css +8 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/SiteSetsEditor.tsx +34 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/StatisticsSettings.tsx +26 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/views.module.css +3 -3
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/analyses.browser.ts +52 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/autosave.unit.ts +26 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/circuits.unit.ts +3 -3
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/context.unit.ts +2 -2
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/directions.unit.ts +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/export.unit.ts +2 -2
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/spec.unit.ts +67 -6
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/sweep.browser.ts +1 -1
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/sweeps.unit.ts +2 -2
- logogram-0.7.2/src/logogram/examples/factual-recall-gpt2/experiments/capital-causal-trace/spec.json +0 -47
- logogram-0.7.2/src/logogram/examples/gendered-pronoun-gpt2/experiments/pronoun-direct-effects/spec.json +0 -48
- logogram-0.7.2/src/logogram/examples/greater-than-gpt2/experiments/greater-than-layers/spec.json +0 -52
- logogram-0.7.2/src/logogram/web_dist/assets/GuideFigures-CVkB65JR.css +0 -1
- logogram-0.7.2/src/logogram/web_dist/assets/PatchingFigures-C3wr9f6-.css +0 -1
- logogram-0.7.2/src/logogram/web_dist/assets/index-DITrz_0O.css +0 -1
- logogram-0.7.2/src/logogram/web_dist/assets/index-DreV1655.js +0 -61
- {logogram-0.7.2 → logogram-0.8.0}/.gitignore +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/LICENSE +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/notebooks/README.md +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/pyproject.toml +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/scripts/build_reference.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/scripts/check_privacy.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/scripts/sae_catalogue.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/scripts/smoke_wheel.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/scripts/validate_real_weights.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/__main__.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/acdc.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/analysis.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/api.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/backends/__init__.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/backends/base.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/backends/catalogue.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/backends/hub.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/backends/sae_catalogue.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/backends/saes.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/backends/transformer_lens.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/chat.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/cli.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/compare.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/corpora.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/corpus_import.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/das.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/datasets.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/direct.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/directions.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/factual-recall-gpt2/.gitignore +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/factual-recall-gpt2/datasets/factual-recall.jsonl +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/factual-recall-gpt2/project.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/gendered-pronoun-gpt2/.gitignore +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/gendered-pronoun-gpt2/datasets/gendered-pronoun.jsonl +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/gendered-pronoun-gpt2/project.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/greater-than-gpt2/.gitignore +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/greater-than-gpt2/datasets/greater-than.jsonl +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/greater-than-gpt2/project.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/ioi-gpt2/.gitignore +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/ioi-gpt2/datasets/ioi.jsonl +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/examples/ioi-gpt2/project.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/exports.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/features.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/fileio.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/gallery.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/heads.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/history.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/inside.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/ioi.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/lenses.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/local_models.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/metrics.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/owner.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/paths.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/probes.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/project.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/prompts.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/representations.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/research.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/runner.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/runqueue.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/runs.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/sae.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/sae_training.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/server/__init__.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/server/app.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/server/models.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/server/security.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/server/state.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/sites.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/steering.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/support.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/sweeps.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/tasks.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/top_activations.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/training.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/updates.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/verify.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/web_dist/assets/instrument-sans-latin-ext-standard-normal-C5E2Gvlv.woff2 +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/web_dist/assets/instrument-sans-latin-standard-normal-BVScPF0l.woff2 +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/src/logogram/web_dist/favicon.svg +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/browser_server.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/catalogue_fixture.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/conftest.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/datasets/ioi.jsonl +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/datasets/snapshots/f5e2f2b1d68ac7ab59b1cefcd84f7f0cfc81c71c85c05c925f872e01c01d6e69.jsonl +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/experiments/made-by-0.1.0/manifest.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/experiments/made-by-0.1.0/results.parquet +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/experiments/made-by-0.1.0/spec.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/experiments/made-by-0.1.0/summary.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/experiments/made-by-0.2.0/manifest.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/experiments/made-by-0.2.0/results.parquet +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/experiments/made-by-0.2.0/spec.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/experiments/made-by-0.2.0/summary.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/experiments/written-for-0.1.0/spec.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/fixtures/old-runs/project.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_acdc.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_api.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_architectures.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_atp.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_attention_saes.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_chat_models.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_chat_templates.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_circuits.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_cli.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_community.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_corpora.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_corpus_cli.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_corpus_import.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_corpus_server.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_dataset_files.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_devices.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_direct.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_direction_methods.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_directions.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_docs.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_edges.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_engine.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_examples.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_explorer.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_feature_writes.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_finer_sites.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_gpus.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_hardening.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_heads.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_history.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_inside.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_lenses.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_loading.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_local_models.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_metrics.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_notebooks.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_old_runs.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_paths.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_privacy.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_projects.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_queue.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_reference.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_release_fixes.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_report.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_representations.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_run_tracking.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_sae.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_sae_catalogue.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_sae_training.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_sanity.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_saved_queue.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_security.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_server.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_skip_transcoders.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_steering.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_steering_features.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_support.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_sweeps.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_tasks.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_toys.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_training_cli.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_training_server.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_transcoders.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_uneven.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_units.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_updates.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/tests/test_validation_script.py +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/uv.lock +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/index.html +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/playwright.config.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/public/favicon.svg +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/App.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/App.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/api/client.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/api/events.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/AboutDialog.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/CancelRunDialog.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/CommandPalette.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/CommandPalette.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/CopyCommand.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/CopyCommand.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Distribution.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Distribution.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ErrorBoundary.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ErrorBoundary.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ExampleGallery.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ExampleGallery.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/FeatureWrites.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/FeatureWrites.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/FolderPicker.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/FolderPicker.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/GuideDialog.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Header.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Heatmap/Heatmap.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Heatmap/ScaleBar.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/HelpDialogs.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/HelpMenu.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/HelpMenu.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/History.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/History.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Inspector.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Logogram.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/LogogramDial.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/LogogramDial.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ManageDialogs.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ModelDialog.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ModelDialog.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ModelMap/Legend.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ModelMap/ModelMap.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Notices.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Notices.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Questions.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Questions.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ReportDialog.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/RunButton.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ShortcutsDialog.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ShortcutsDialog.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Splitter.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Splitter.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/StatusLine.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/StatusLine.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/SweepChart/SweepChart.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/SweepDialog.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/SweepDialog.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/TokenStrip.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/TokenStrip.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/TopBar.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/TrainDialog.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/TrainDialog.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/UpdateNotice.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ViewTabs.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/Walkthrough.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/figures/GuideFigures.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/figures/IoiFinds.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/figures/ModelParts.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/figures/ModelParts.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/figures/Patching.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/figures/PatchingFigures.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/figures/StagedFigure.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ui/Icon.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/components/ui/index.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/analysis.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/chat.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/circuits.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/color.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/corpora.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/devices.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/directions.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/edgePlan.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/edges.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/environment.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/export.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/figures.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/formHistory.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/format.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/heatmapNavigation.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/help.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/hooks.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/keys.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/logogram.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/metrics.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/milestones.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/motion.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/promptEdits.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/promptRows.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/questions.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/representations.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/route.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/runs.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/sites.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/start.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/sweeps.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/thresholds.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/training.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/lib/walkthrough.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/main.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/screens/Projects.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/screens/SystemCheck.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/screens/Workbench.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/screens/Workbench.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/store/app.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/store/help.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/AttentionView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/AttentionView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/BaselineView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/BaselineView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/ChatTemplateSettings.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/CompareView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/CompareView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/Continuations.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/Continuations.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/CorpusView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/CorpusView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/DirectionPicker.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/DirectionResults.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/EdgeResults.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/ExperimentView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/ExploreView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/FeaturesView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/Forest.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/Forest.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/HeadComparisonView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/HeadComparisonView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/HeadKinds.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/HeadKinds.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/MetricSettings.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/NeuronResults.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/PredictionsView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/PredictionsView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/ProbeSettings.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/PromptsView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/RepresentationsView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/ResearchView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/ResearchView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/ResultsView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/ResultsView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/SAEPicker.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/SpecView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/SpecView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/SweepView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/SweepView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/TaskGenerator.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/TextView.module.css +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/src/views/TextView.tsx +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/a11y.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/acdc.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/acdc.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/axe.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/chat.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/chat.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/color.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/corpora.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/corpus.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/devices.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/directions.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/docs.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/edges.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/edges.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/environment.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/fakeRuns.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/finer.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/finer.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/form.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/gallery.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/guide.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/guide.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/heads.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/heatmap.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/help.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/help.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/history.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/history.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/logogram.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/manage.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/manage.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/navigation.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/notices.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/partial.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/prompts.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/prompts.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/queue.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/queue.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/route.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/runs.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/saes.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/steering.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/tasks.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/text.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/tokens.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/training.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/training.unit.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/uneven.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/ux.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/walkthrough.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tests/workbench.browser.ts +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/tsconfig.json +0 -0
- {logogram-0.7.2 → logogram-0.8.0}/web/vite.config.ts +0 -0
|
@@ -59,27 +59,36 @@ traceability come before features.
|
|
|
59
59
|
|
|
60
60
|
## Design rules
|
|
61
61
|
|
|
62
|
-
* White and
|
|
63
|
-
are separated by space and hairlines, never grey washes or drop shadows (only
|
|
64
|
-
tooltips float). Navigation runs across the top; there is no sidebar.
|
|
62
|
+
* White paper and ink, with one signal red. The page is white (or, at night, ink paper with light
|
|
63
|
+
type); regions are separated by space and hairlines, never grey washes or drop shadows (only
|
|
64
|
+
menus, dialogs and tooltips float). Navigation runs across the top; there is no sidebar.
|
|
65
65
|
* Color has jobs (tokens in `web/src/styles/tokens.css`):
|
|
66
|
-
*
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
* signal red (`--signal`) marks what an intervention changes and what is chosen to be changed:
|
|
67
|
+
the ring around a selected cell, the patched site in a figure. Nothing else is red. Results
|
|
68
|
+
are written up on pages that use red the same way, so a figure reads the same in the app and
|
|
69
|
+
in a paper;
|
|
70
|
+
* the workspaces are named, not colored: the open workspace's pill, its tab underline, its
|
|
71
|
+
progress and its radio marks are ink (`--ws` holds the current one's token, and all three
|
|
72
|
+
are ink);
|
|
69
73
|
* green (`--live`) means a loaded model;
|
|
70
74
|
* effects use the diverging cobalt–neutral–amber scale, symmetric around zero, always with a
|
|
71
75
|
legend, and nothing else uses those hues. Attention uses the single-hue ink ramp.
|
|
72
|
-
* Primary buttons are solid ink (white
|
|
73
|
-
* Selection is circled in
|
|
76
|
+
* Primary buttons are solid ink (white at night), not colored.
|
|
77
|
+
* Selection is circled in signal red (`inkRing` in `web/src/lib/canvas.ts`), drawn by hand like a
|
|
78
|
+
mark in red pen on a printout, and cut out of the data's colors by a band of the page.
|
|
74
79
|
* Logograms (`web/src/lib/logogram.ts`) are data, not decoration. A run's glyph is written by its
|
|
75
80
|
results: layers clockwise from the top, the ink swelling outward where a layer's strongest
|
|
76
81
|
effect is positive and inward where it is negative, bleeding in the effect colors. Glyphs from
|
|
77
|
-
a seed alone mark identity only: the brand (`BRAND_SEED`), projects, empty states.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
82
|
+
a seed alone mark identity only: the brand (`BRAND_SEED`), projects, empty states.
|
|
83
|
+
* One picture: the painted observatory along the foot of the first screens
|
|
84
|
+
(`web/src/assets/`, with a night version). It blends into the page, text stays in its sky, and
|
|
85
|
+
a short window leaves it out. It is the one decorative image; don't add others inside the
|
|
86
|
+
workbench.
|
|
87
|
+
* Two typefaces with jobs, both bundled. Instrument Serif (`--display`) sets titles, questions
|
|
88
|
+
and key numbers, as a paper sets its headings; it has one weight, so never bold it. Instrument
|
|
89
|
+
Sans (weight and width axes) sets everything else, with tabular figures for numbers in tables.
|
|
90
|
+
Its word space is narrow, so body text widens it (`--word-space`). IBM Plex Mono appears only
|
|
91
|
+
in the spec view. Sentence case everywhere; no all-caps labels.
|
|
83
92
|
* Motion only explains state changes, such as cells filling as results stream in, a glyph
|
|
84
93
|
appearing, or panels opening, and, in the guide's figures (`web/src/components/figures/`), how
|
|
85
94
|
a method works, stage by stage. A figure plays only while it is in view, can be paused and
|
|
@@ -2,6 +2,71 @@
|
|
|
2
2
|
|
|
3
3
|
What changed in each version of Logogram.
|
|
4
4
|
|
|
5
|
+
## 0.8.0 (2026-11-26)
|
|
6
|
+
|
|
7
|
+
Controls a result is read against: a gate on the baseline, random sets of the same size beside a
|
|
8
|
+
set of sites, each site of a set alone, donors chosen by a field of the prompts, a bootstrap
|
|
9
|
+
crossed over two fields, and Holm-adjusted p-values. Specs are version 5. And a new look: white
|
|
10
|
+
paper, ink and one signal red, with titles in a serif.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **A gate on the baseline.** A spec's `gate` says what the model must do on the prompts before
|
|
15
|
+
anything is intervened on: prefer the answer on at least a stated share of the clean prompts
|
|
16
|
+
(`min_correct`), show at least a stated mean clean–corrupt gap in the metric (`min_gap`), or
|
|
17
|
+
both. The baseline is measured first, and a run that falls short stops there and says what it
|
|
18
|
+
measured, where before it warned and went on. The experiment form has a **Gate** section, and
|
|
19
|
+
the summary beside **Run** says what the gate asks.
|
|
20
|
+
- **Random sets beside a set of sites.** With a site-sets scope's `controls`, each set gets `n`
|
|
21
|
+
random sets of the same size, intervened on like it: one site for each of the set's, of the
|
|
22
|
+
same kind and at the same position, redrawn within its own layer or among every layer, never a
|
|
23
|
+
site of the set itself. The results say where the set's effect lies among theirs, as their
|
|
24
|
+
mean, the range holding the run's confidence level of them, how many are at least as strong,
|
|
25
|
+
and that count as a p-value. Each set draws from its own stream of the seed.
|
|
26
|
+
- **Each site alone.** With `singles`, each site of a set of two or more is also intervened on
|
|
27
|
+
alone, and the results give the set's effect beyond the sum of its sites' effects alone, with
|
|
28
|
+
an interval from the same resamples. This was reported for sets of two whose sites were also
|
|
29
|
+
listed alone, and now covers sets of any size.
|
|
30
|
+
- **Donors chosen by a field.** A resample baseline's `group` draws each prompt's donors only
|
|
31
|
+
among prompts with the same value of a field of their `meta`, or only among those with a
|
|
32
|
+
different value. The form offers the fields every prompt has.
|
|
33
|
+
- **A bootstrap crossed over two fields.** `statistics.cross` names a second field beside
|
|
34
|
+
`statistics.cluster`, for prompts built from two lists such as names and places. Both fields'
|
|
35
|
+
values are resampled at once, and a prompt counts as often as its two values' draws multiplied.
|
|
36
|
+
A design too sparse for it is refused with the number of resamples that drew no prompt.
|
|
37
|
+
- **Holm-adjusted p-values.** Every finished sweep reports each site's Holm-adjusted p-value
|
|
38
|
+
beside its q-value and simultaneous band. It bounds the chance that even one reported site is
|
|
39
|
+
there by chance. The inspector and the guide show it.
|
|
40
|
+
- A new documentation page, [Controls](docs/concepts/controls.md), describes each of these and
|
|
41
|
+
when to use it.
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- **A new look: white paper, ink and one signal red.** The three workspace colors are gone. The
|
|
46
|
+
open workspace is filled in ink, and its tab, progress and choices are ink. One red marks what
|
|
47
|
+
an intervention changes and what you have chosen to change: the ring around a selected cell on
|
|
48
|
+
the map, a heatmap, a sweep or a chart, and the patched site in the guide's figures. Green
|
|
49
|
+
still means a loaded model, and the cobalt-to-amber scale still belongs to effects alone. The
|
|
50
|
+
night theme is ink paper with light type.
|
|
51
|
+
- **Titles and key numbers are set in a serif**, Instrument Serif, as a paper sets its headings.
|
|
52
|
+
Everything else stays in Instrument Sans, and the spec view is in IBM Plex Mono. All three ship
|
|
53
|
+
with the app.
|
|
54
|
+
- **The first screens end in a painting**, an observatory on a hill, with a night version. It
|
|
55
|
+
takes the place of the color bloom behind the glyph and is left out in a short window.
|
|
56
|
+
- The experiment form lists its methods three across, so the whole list is in view sooner.
|
|
57
|
+
- The Prompts view names a run's saved copy of its prompts in words, not by its file's
|
|
58
|
+
64-character name.
|
|
59
|
+
- The documentation's pictures of the results and of the methods show the new look. Its
|
|
60
|
+
pictures of a probe, representations, ACDC and a sweep still show the earlier colors.
|
|
61
|
+
- **Specs are version 5.** A version 5 spec states `gate`, `statistics.cross`, a site-sets
|
|
62
|
+
scope's `singles` and `controls`, and a resample baseline's `group`. Version 4 specs still run
|
|
63
|
+
and read with each of them off, which is what version 4 did. The bundled examples and the toy
|
|
64
|
+
models' specs are version 5.
|
|
65
|
+
- The methods paragraph says a run's gate, its donors' group, a crossed bootstrap, and the
|
|
66
|
+
singles and random sets of a run over sets.
|
|
67
|
+
- The memory estimate and the count of forward passes beside **Run** include the sites alone and
|
|
68
|
+
the random sets.
|
|
69
|
+
|
|
5
70
|
## 0.7.2 (2026-11-26)
|
|
6
71
|
|
|
7
72
|
Start here and the guide in moving figures, what Logogram can find out on the first screens, and a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: logogram
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: A local-first workbench for causal experiments inside language models.
|
|
5
5
|
Project-URL: Homepage, https://github.com/Jeevash23/logogram
|
|
6
6
|
Project-URL: Source, https://github.com/Jeevash23/logogram
|
|
@@ -1118,7 +1118,7 @@ must state every such choice, and a spec that leaves one out is refused with the
|
|
|
1118
1118
|
|
|
1119
1119
|
```json
|
|
1120
1120
|
{
|
|
1121
|
-
"logogram_spec":
|
|
1121
|
+
"logogram_spec": 5,
|
|
1122
1122
|
"name": "Which heads restore the answer?",
|
|
1123
1123
|
"notes": "",
|
|
1124
1124
|
"model": {
|
|
@@ -1135,8 +1135,9 @@ must state every such choice, and a spec that leaves one out is refused with the
|
|
|
1135
1135
|
"experiment": {"kind": "activation_patching", "direction": "clean_to_corrupt"},
|
|
1136
1136
|
"scope": {"kind": "heads", "position": {"kind": "all"}},
|
|
1137
1137
|
"metric": {"kind": "logit_diff", "normalization": "dataset_gap"},
|
|
1138
|
-
"statistics": {"bootstrap": 1000, "ci": 0.95, "seed": 0, "cluster": null},
|
|
1139
|
-
"execution": {"batch_size": 64}
|
|
1138
|
+
"statistics": {"bootstrap": 1000, "ci": 0.95, "seed": 0, "cluster": null, "cross": null},
|
|
1139
|
+
"execution": {"batch_size": 64},
|
|
1140
|
+
"gate": null
|
|
1140
1141
|
}
|
|
1141
1142
|
```
|
|
1142
1143
|
|
|
@@ -1147,7 +1148,10 @@ specs (Logogram 0.2 to 0.4) read with what version 3 added turned off, which is
|
|
|
1147
1148
|
chat template, a model from Hugging Face, and steering along the mean difference without
|
|
1148
1149
|
continuations. Version 3 specs (Logogram 0.5 and 0.6) read as version 4 with what version 4 adds
|
|
1149
1150
|
turned off: the SAE a spec names is a published one, and the layer predictions read the logit
|
|
1150
|
-
lens. Version 4 also adds methods and sources that a version 3 spec can't name.
|
|
1151
|
+
lens. Version 4 also adds methods and sources that a version 3 spec can't name. Version 4 specs
|
|
1152
|
+
(Logogram 0.7) read as version 5 with the controls version 5 adds turned off: no gate, a bootstrap
|
|
1153
|
+
over one field or none, sets of sites without their sites alone or random sets beside them, and
|
|
1154
|
+
donors drawn among every prompt of the pool.
|
|
1151
1155
|
|
|
1152
1156
|
| Field | Values |
|
|
1153
1157
|
|---|---|
|
|
@@ -1158,13 +1162,15 @@ lens. Version 4 also adds methods and sources that a version 3 spec can't name.
|
|
|
1158
1162
|
| `tokenization.chat_template` | `null` feeds each prompt as raw text. `{"kind": "user_turn", "system": null}` makes each prompt the person's message in the model's own chat template, so the answer is the first token of the reply; `{"kind": "assistant_prefix", "system": null, "user": "…"}` makes it the start of the model's reply to a fixed message. `system` is an optional system message. The template is the one the tokenizer ships at the model's revision (see [Chat templates](#chat-templates)). With a template, `prepend_bos` is `false`: the template writes the beginning of the text. |
|
|
1159
1163
|
| `model.process_weights` | Fold LayerNorm and center weights, as TransformerLens does by default. Logit differences don't change. Value biases are folded into the attention output's bias, so zero ablation of head outputs and heads' direct effects do change (by up to several logits in Qwen 2.5, whose value biases are large); a layer's attention output doesn't. |
|
|
1160
1164
|
| `dataset.sha256` | If set, the run refuses a dataset file that has changed. |
|
|
1161
|
-
| `experiment` | `{"kind": "activation_patching", "direction": "clean_to_corrupt" \| "corrupt_to_clean"}`, `{"kind": "ablation", "baseline": …}` with `{"kind": "zero"}`, `{"kind": "mean", "reference": "clean" \| "corrupt"}` or `{"kind": "resample", "pool": "clean" \| "corrupt", "donors": 10, "seed": 0}
|
|
1162
|
-
| `scope` | `{"kind": "heads", "position": …}`, `{"kind": "layer_position", "site": "resid_pre", "positions": "each" \| "labels"}`, `{"kind": "layer_components", "components": ["attn_out", "mlp_out"], "position": …}` `{"kind": "sites", "sites": [{"kind": "head", "layer": 9, "head": 9, "position": {"kind": "label", "label": "end"}}]}` (feature sites are `{"kind": "sae_feature", "layer": 8, "feature": 1234, "position": …}`), `{"kind": "head_inputs", "input": "q" \| "k" \| "v", "position": …}`, `{"kind": "neurons", "layers": [3, 4], "position": …}`, for attribution patching, `{"kind": "features", "position": …, "top": 50, "choose_on": 0.5, "seed": 0}` (`choose_on` and `seed` both `null` to choose and report on every prompt), `{"kind": "site_sets", "universe": ["head"], "sets": [{"label": "circuit", "sites": […], "complement": true}]}
|
|
1165
|
+
| `experiment` | `{"kind": "activation_patching", "direction": "clean_to_corrupt" \| "corrupt_to_clean"}`, `{"kind": "ablation", "baseline": …}` with `{"kind": "zero"}`, `{"kind": "mean", "reference": "clean" \| "corrupt"}` or `{"kind": "resample", "pool": "clean" \| "corrupt", "donors": 10, "seed": 0, "group": null}` (or `"group": {"field": "template", "match": "same" \| "different"}` to draw each prompt's donors by a field of the prompts' `meta`), `{"kind": "attribution_patching", "direction": …, "method": "gradient", "steps": null}` (same directions as patching; or `"method": "integrated_gradients", "steps": 8`), `{"kind": "direct_logit_attribution", "prompts": "clean" \| "corrupt"}`, `{"kind": "path_patching", "direction": …, "receivers": [{"kind": "head", "layer": 9, "head": 9, "input": "q" \| "k" \| "v"}, {"kind": "mlp", "layer": 3}, {"kind": "logits"}], "freeze_mlps": false}`, `{"kind": "edge_attribution", "direction": …, "method": "gradient", "steps": null, "curve": {"counts": [10, 100, 1000], "patch": "chosen" \| "rest", "control": {"seed": 0, "draws": 1}}}` (`curve` `null` for none) with a `graph` scope, `{"kind": "acdc", "direction": …, "threshold": 0.1, "rule": "toward_source" \| "either_way"}` with a `graph` scope (`threshold` in the metric's units), or `{"kind": "steering", "apply_to": "clean" \| "corrupt", "direction": {"kind": "mean_difference"}, "coefficients": [-1, 1, 2], "train_fraction": 0.5, "seed": 0, "control": true, "continuations": null}` with a scope of one residual component per layer (`layer_components`) or residual `sites`, at one token. The direction can instead be one SAE feature's decoder direction, `{"kind": "sae_feature", "feature": 1234}` (with the spec's `sae`, and `sites` naming where the SAE writes), or a saved direction, `{"kind": "direction", "direction": {"name": "…", "sha256": null}}`, and `continuations` can be `{"prompts": 3, "tokens": 20}` to record what the steered model goes on to say. Also `{"kind": "probe", "labels": {"kind": "side"} \| {"kind": "meta", "field": "gender", "prompts": "clean" \| "corrupt" \| "both"}, "train_fraction": 0.5, "seed": 0, "regularization": 0.01, "iterations": 100, "control": true}`, `{"kind": "das", "direction": …, "dimensions": 1, "train_fraction": 0.5, "seed": 0, "steps": 100, "learning_rate": 0.01, "control": true}` and `{"kind": "subspace_patching", "direction": …, "subspace": {"name": "…", "sha256": null}}`, at one site at a time; ablation's baseline can also be `{"kind": "scale", "factor": 0.5}` or `{"kind": "projection", "direction": {"name": "…", "sha256": null}, "reference": null \| "clean" \| "corrupt"}` |
|
|
1166
|
+
| `scope` | `{"kind": "heads", "position": …}`, `{"kind": "layer_position", "site": "resid_pre", "positions": "each" \| "labels"}`, `{"kind": "layer_components", "components": ["attn_out", "mlp_out"], "position": …}` `{"kind": "sites", "sites": [{"kind": "head", "layer": 9, "head": 9, "position": {"kind": "label", "label": "end"}}]}` (feature sites are `{"kind": "sae_feature", "layer": 8, "feature": 1234, "position": …}`), `{"kind": "head_inputs", "input": "q" \| "k" \| "v", "position": …}`, `{"kind": "neurons", "layers": [3, 4], "position": …}`, for attribution patching, `{"kind": "features", "position": …, "top": 50, "choose_on": 0.5, "seed": 0}` (`choose_on` and `seed` both `null` to choose and report on every prompt), `{"kind": "site_sets", "universe": ["head"], "sets": [{"label": "circuit", "sites": […], "complement": true}], "singles": false, "controls": null}` (with `"singles": true` each site of a set is also intervened on alone, and `"controls": {"n": 100, "seed": 0, "match": "layer" \| "model"}` draws random sets of the same size beside each set), for edge attribution and ACDC `{"kind": "graph", "layers": null, "logits": true}` (`layers` the heads and MLPs that receive edges, `null` for every layer), or, for path patching edges one at a time, `{"kind": "edges", "edges": [{"sender": {"kind": "head", "layer": 5, "head": 5}, "receiver": {"kind": "head", "layer": 9, "head": 6, "input": "v"}}]}` (senders `{"kind": "embed"}`, heads or `{"kind": "mlp", "layer": 0}`; `freeze_mlps` true, and the experiment's receivers those of the edges; a `k` or `v` receiver's `head` is a key/value head where heads share them) |
|
|
1163
1167
|
| `sae` | The SAE that feature sites belong to: a published one, `{"repo": "…", "path": "blocks.8.hook_resid_pre", "revision": "…", "source": "hub", "sha256": null}`, whose revision is pinned when a run starts, or one trained in the project, `{"repo": "NAME", "path": "saes/NAME", "revision": null, "source": "project", "sha256": "…"}`, pinned by the hash of its files. |
|
|
1164
1168
|
| `predictions` | `null`, or the layer prediction diagnostic saved beside the results: `{"method": "final_norm_logit_lens" \| "tuned_lens", "lens": null, "prompt_index": 0, "which": "clean", "position": {"kind": "last"}, "top_k": 5}`, with `lens` `{"name": "NAME", "sha256": "…"}` naming a tuned lens trained in the project, pinned by the hash of its file. |
|
|
1165
1169
|
| `metric` | `{"kind": "logit_diff" \| "logprob_diff" \| "logprob" \| "prob" \| "prob_diff", "normalization": …}`, `{"kind": "kl", "target": "clean" \| "corrupt", "normalization": …}`, or, for patching, ablation and subspace patching, `{"kind": "readout", "unit": {"kind": "neuron", "layer": 9, "neuron": 652}, "position": {"kind": "last"}, "normalization": …}` (a unit can also be `{"kind": "direction", "direction": {"name": "…", "sha256": null}, "site": "resid_post", "layer": 10}` or `{"kind": "sae_feature", "feature": 1234}`); `null` for a probe |
|
|
1166
1170
|
| `metric.normalization` | `dataset_gap` or `prompt_gap` |
|
|
1167
1171
|
| `statistics.cluster` | `null` to resample prompts, or a field of the prompts' `meta` (such as `"template"`) to resample clusters of prompts |
|
|
1172
|
+
| `statistics.cross` | `null`, or a second field of the prompts' `meta` crossed with `cluster`: both fields' values are resampled at once, for prompts built from two lists such as names and places |
|
|
1173
|
+
| `gate` | `null`, or what the baseline must show before anything is intervened on: `{"min_correct": 0.9, "min_gap": null}` asks that the model prefer the answer on at least 90% of the clean prompts, and `min_gap` for a least mean clean–corrupt gap in the metric. A run that falls short stops there and says what it measured. See [controls](docs/concepts/controls.md). |
|
|
1168
1174
|
| `execution.batch_size` | Recorded because batch shape can change floating-point results in the last digits. |
|
|
1169
1175
|
|
|
1170
1176
|
## Projects
|
|
@@ -1080,7 +1080,7 @@ must state every such choice, and a spec that leaves one out is refused with the
|
|
|
1080
1080
|
|
|
1081
1081
|
```json
|
|
1082
1082
|
{
|
|
1083
|
-
"logogram_spec":
|
|
1083
|
+
"logogram_spec": 5,
|
|
1084
1084
|
"name": "Which heads restore the answer?",
|
|
1085
1085
|
"notes": "",
|
|
1086
1086
|
"model": {
|
|
@@ -1097,8 +1097,9 @@ must state every such choice, and a spec that leaves one out is refused with the
|
|
|
1097
1097
|
"experiment": {"kind": "activation_patching", "direction": "clean_to_corrupt"},
|
|
1098
1098
|
"scope": {"kind": "heads", "position": {"kind": "all"}},
|
|
1099
1099
|
"metric": {"kind": "logit_diff", "normalization": "dataset_gap"},
|
|
1100
|
-
"statistics": {"bootstrap": 1000, "ci": 0.95, "seed": 0, "cluster": null},
|
|
1101
|
-
"execution": {"batch_size": 64}
|
|
1100
|
+
"statistics": {"bootstrap": 1000, "ci": 0.95, "seed": 0, "cluster": null, "cross": null},
|
|
1101
|
+
"execution": {"batch_size": 64},
|
|
1102
|
+
"gate": null
|
|
1102
1103
|
}
|
|
1103
1104
|
```
|
|
1104
1105
|
|
|
@@ -1109,7 +1110,10 @@ specs (Logogram 0.2 to 0.4) read with what version 3 added turned off, which is
|
|
|
1109
1110
|
chat template, a model from Hugging Face, and steering along the mean difference without
|
|
1110
1111
|
continuations. Version 3 specs (Logogram 0.5 and 0.6) read as version 4 with what version 4 adds
|
|
1111
1112
|
turned off: the SAE a spec names is a published one, and the layer predictions read the logit
|
|
1112
|
-
lens. Version 4 also adds methods and sources that a version 3 spec can't name.
|
|
1113
|
+
lens. Version 4 also adds methods and sources that a version 3 spec can't name. Version 4 specs
|
|
1114
|
+
(Logogram 0.7) read as version 5 with the controls version 5 adds turned off: no gate, a bootstrap
|
|
1115
|
+
over one field or none, sets of sites without their sites alone or random sets beside them, and
|
|
1116
|
+
donors drawn among every prompt of the pool.
|
|
1113
1117
|
|
|
1114
1118
|
| Field | Values |
|
|
1115
1119
|
|---|---|
|
|
@@ -1120,13 +1124,15 @@ lens. Version 4 also adds methods and sources that a version 3 spec can't name.
|
|
|
1120
1124
|
| `tokenization.chat_template` | `null` feeds each prompt as raw text. `{"kind": "user_turn", "system": null}` makes each prompt the person's message in the model's own chat template, so the answer is the first token of the reply; `{"kind": "assistant_prefix", "system": null, "user": "…"}` makes it the start of the model's reply to a fixed message. `system` is an optional system message. The template is the one the tokenizer ships at the model's revision (see [Chat templates](#chat-templates)). With a template, `prepend_bos` is `false`: the template writes the beginning of the text. |
|
|
1121
1125
|
| `model.process_weights` | Fold LayerNorm and center weights, as TransformerLens does by default. Logit differences don't change. Value biases are folded into the attention output's bias, so zero ablation of head outputs and heads' direct effects do change (by up to several logits in Qwen 2.5, whose value biases are large); a layer's attention output doesn't. |
|
|
1122
1126
|
| `dataset.sha256` | If set, the run refuses a dataset file that has changed. |
|
|
1123
|
-
| `experiment` | `{"kind": "activation_patching", "direction": "clean_to_corrupt" \| "corrupt_to_clean"}`, `{"kind": "ablation", "baseline": …}` with `{"kind": "zero"}`, `{"kind": "mean", "reference": "clean" \| "corrupt"}` or `{"kind": "resample", "pool": "clean" \| "corrupt", "donors": 10, "seed": 0}
|
|
1124
|
-
| `scope` | `{"kind": "heads", "position": …}`, `{"kind": "layer_position", "site": "resid_pre", "positions": "each" \| "labels"}`, `{"kind": "layer_components", "components": ["attn_out", "mlp_out"], "position": …}` `{"kind": "sites", "sites": [{"kind": "head", "layer": 9, "head": 9, "position": {"kind": "label", "label": "end"}}]}` (feature sites are `{"kind": "sae_feature", "layer": 8, "feature": 1234, "position": …}`), `{"kind": "head_inputs", "input": "q" \| "k" \| "v", "position": …}`, `{"kind": "neurons", "layers": [3, 4], "position": …}`, for attribution patching, `{"kind": "features", "position": …, "top": 50, "choose_on": 0.5, "seed": 0}` (`choose_on` and `seed` both `null` to choose and report on every prompt), `{"kind": "site_sets", "universe": ["head"], "sets": [{"label": "circuit", "sites": […], "complement": true}]}
|
|
1127
|
+
| `experiment` | `{"kind": "activation_patching", "direction": "clean_to_corrupt" \| "corrupt_to_clean"}`, `{"kind": "ablation", "baseline": …}` with `{"kind": "zero"}`, `{"kind": "mean", "reference": "clean" \| "corrupt"}` or `{"kind": "resample", "pool": "clean" \| "corrupt", "donors": 10, "seed": 0, "group": null}` (or `"group": {"field": "template", "match": "same" \| "different"}` to draw each prompt's donors by a field of the prompts' `meta`), `{"kind": "attribution_patching", "direction": …, "method": "gradient", "steps": null}` (same directions as patching; or `"method": "integrated_gradients", "steps": 8`), `{"kind": "direct_logit_attribution", "prompts": "clean" \| "corrupt"}`, `{"kind": "path_patching", "direction": …, "receivers": [{"kind": "head", "layer": 9, "head": 9, "input": "q" \| "k" \| "v"}, {"kind": "mlp", "layer": 3}, {"kind": "logits"}], "freeze_mlps": false}`, `{"kind": "edge_attribution", "direction": …, "method": "gradient", "steps": null, "curve": {"counts": [10, 100, 1000], "patch": "chosen" \| "rest", "control": {"seed": 0, "draws": 1}}}` (`curve` `null` for none) with a `graph` scope, `{"kind": "acdc", "direction": …, "threshold": 0.1, "rule": "toward_source" \| "either_way"}` with a `graph` scope (`threshold` in the metric's units), or `{"kind": "steering", "apply_to": "clean" \| "corrupt", "direction": {"kind": "mean_difference"}, "coefficients": [-1, 1, 2], "train_fraction": 0.5, "seed": 0, "control": true, "continuations": null}` with a scope of one residual component per layer (`layer_components`) or residual `sites`, at one token. The direction can instead be one SAE feature's decoder direction, `{"kind": "sae_feature", "feature": 1234}` (with the spec's `sae`, and `sites` naming where the SAE writes), or a saved direction, `{"kind": "direction", "direction": {"name": "…", "sha256": null}}`, and `continuations` can be `{"prompts": 3, "tokens": 20}` to record what the steered model goes on to say. Also `{"kind": "probe", "labels": {"kind": "side"} \| {"kind": "meta", "field": "gender", "prompts": "clean" \| "corrupt" \| "both"}, "train_fraction": 0.5, "seed": 0, "regularization": 0.01, "iterations": 100, "control": true}`, `{"kind": "das", "direction": …, "dimensions": 1, "train_fraction": 0.5, "seed": 0, "steps": 100, "learning_rate": 0.01, "control": true}` and `{"kind": "subspace_patching", "direction": …, "subspace": {"name": "…", "sha256": null}}`, at one site at a time; ablation's baseline can also be `{"kind": "scale", "factor": 0.5}` or `{"kind": "projection", "direction": {"name": "…", "sha256": null}, "reference": null \| "clean" \| "corrupt"}` |
|
|
1128
|
+
| `scope` | `{"kind": "heads", "position": …}`, `{"kind": "layer_position", "site": "resid_pre", "positions": "each" \| "labels"}`, `{"kind": "layer_components", "components": ["attn_out", "mlp_out"], "position": …}` `{"kind": "sites", "sites": [{"kind": "head", "layer": 9, "head": 9, "position": {"kind": "label", "label": "end"}}]}` (feature sites are `{"kind": "sae_feature", "layer": 8, "feature": 1234, "position": …}`), `{"kind": "head_inputs", "input": "q" \| "k" \| "v", "position": …}`, `{"kind": "neurons", "layers": [3, 4], "position": …}`, for attribution patching, `{"kind": "features", "position": …, "top": 50, "choose_on": 0.5, "seed": 0}` (`choose_on` and `seed` both `null` to choose and report on every prompt), `{"kind": "site_sets", "universe": ["head"], "sets": [{"label": "circuit", "sites": […], "complement": true}], "singles": false, "controls": null}` (with `"singles": true` each site of a set is also intervened on alone, and `"controls": {"n": 100, "seed": 0, "match": "layer" \| "model"}` draws random sets of the same size beside each set), for edge attribution and ACDC `{"kind": "graph", "layers": null, "logits": true}` (`layers` the heads and MLPs that receive edges, `null` for every layer), or, for path patching edges one at a time, `{"kind": "edges", "edges": [{"sender": {"kind": "head", "layer": 5, "head": 5}, "receiver": {"kind": "head", "layer": 9, "head": 6, "input": "v"}}]}` (senders `{"kind": "embed"}`, heads or `{"kind": "mlp", "layer": 0}`; `freeze_mlps` true, and the experiment's receivers those of the edges; a `k` or `v` receiver's `head` is a key/value head where heads share them) |
|
|
1125
1129
|
| `sae` | The SAE that feature sites belong to: a published one, `{"repo": "…", "path": "blocks.8.hook_resid_pre", "revision": "…", "source": "hub", "sha256": null}`, whose revision is pinned when a run starts, or one trained in the project, `{"repo": "NAME", "path": "saes/NAME", "revision": null, "source": "project", "sha256": "…"}`, pinned by the hash of its files. |
|
|
1126
1130
|
| `predictions` | `null`, or the layer prediction diagnostic saved beside the results: `{"method": "final_norm_logit_lens" \| "tuned_lens", "lens": null, "prompt_index": 0, "which": "clean", "position": {"kind": "last"}, "top_k": 5}`, with `lens` `{"name": "NAME", "sha256": "…"}` naming a tuned lens trained in the project, pinned by the hash of its file. |
|
|
1127
1131
|
| `metric` | `{"kind": "logit_diff" \| "logprob_diff" \| "logprob" \| "prob" \| "prob_diff", "normalization": …}`, `{"kind": "kl", "target": "clean" \| "corrupt", "normalization": …}`, or, for patching, ablation and subspace patching, `{"kind": "readout", "unit": {"kind": "neuron", "layer": 9, "neuron": 652}, "position": {"kind": "last"}, "normalization": …}` (a unit can also be `{"kind": "direction", "direction": {"name": "…", "sha256": null}, "site": "resid_post", "layer": 10}` or `{"kind": "sae_feature", "feature": 1234}`); `null` for a probe |
|
|
1128
1132
|
| `metric.normalization` | `dataset_gap` or `prompt_gap` |
|
|
1129
1133
|
| `statistics.cluster` | `null` to resample prompts, or a field of the prompts' `meta` (such as `"template"`) to resample clusters of prompts |
|
|
1134
|
+
| `statistics.cross` | `null`, or a second field of the prompts' `meta` crossed with `cluster`: both fields' values are resampled at once, for prompts built from two lists such as names and places |
|
|
1135
|
+
| `gate` | `null`, or what the baseline must show before anything is intervened on: `{"min_correct": 0.9, "min_gap": null}` asks that the model prefer the answer on at least 90% of the clean prompts, and `min_gap` for a least mean clean–corrupt gap in the metric. A run that falls short stops there and says what it measured. See [controls](docs/concepts/controls.md). |
|
|
1130
1136
|
| `execution.batch_size` | Recorded because batch shape can change floating-point results in the last digits. |
|
|
1131
1137
|
|
|
1132
1138
|
## Projects
|
|
@@ -49,6 +49,7 @@ method comes from.
|
|
|
49
49
|
| [SAE features and transcoders](concepts/sae-features.md) | Finding a published SAE by name, sparse autoencoders, transcoders, patching features, what a feature writes |
|
|
50
50
|
| [Training an SAE](concepts/sae-training.md) | A TopK SAE trained in the project on a corpus, deterministically: every choice, what is measured on held-out text, where it can mislead |
|
|
51
51
|
| [Circuits](concepts/circuits.md) | Sets of sites intervened on at once: faithfulness, completeness, minimality, interactions |
|
|
52
|
+
| [Controls](concepts/controls.md) | What a result is read against: a gate on the baseline, random sets of the same size, each site alone, donors chosen by a field, a bootstrap crossed over two fields |
|
|
52
53
|
| [Corpora and representations](concepts/corpora-and-representations.md) | Plain texts in the project, where a neuron, an SAE feature, a direction or a head is most active in them, principal components and mean differences of activations, directions, and exported activations |
|
|
53
54
|
| [The logit lens and the model checks](concepts/logit-lens-and-model-checks.md) | Reading each layer's prediction, and what Logogram measures about a model when it loads |
|
|
54
55
|
| [The tuned lens](concepts/tuned-lens.md) | An affine translator per layer, trained in the project to read each layer's prediction more faithfully than the logit lens |
|
|
@@ -7,7 +7,7 @@ clash with Logogram's modules: ``load_spec``, not ``spec``.)
|
|
|
7
7
|
|
|
8
8
|
from typing import Any
|
|
9
9
|
|
|
10
|
-
__version__ = "0.
|
|
10
|
+
__version__ = "0.8.0"
|
|
11
11
|
# The release date of this version: after a few months the app suggests looking for a newer one
|
|
12
12
|
# (no network needed). Set it with every release.
|
|
13
13
|
__released__ = "2026-11-26"
|
|
@@ -329,7 +329,7 @@ def run_attribution_patching(
|
|
|
329
329
|
prompts gives them: their own gap normalizes them, and is checked as a run's is."""
|
|
330
330
|
chosen = [prompts[i] for i in at]
|
|
331
331
|
base = baselines.subset(at)
|
|
332
|
-
notes = check_gap(spec, base, chosen, receiver, reference)
|
|
332
|
+
notes = check_gap(spec, base, chosen, receiver, reference, gate=False)
|
|
333
333
|
return _estimates(
|
|
334
334
|
exp,
|
|
335
335
|
sites,
|