logogram 0.1.2__tar.gz → 0.5.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.1.2 → logogram-0.5.0}/.gitignore +5 -0
- {logogram-0.1.2 → logogram-0.5.0}/AGENTS.md +29 -13
- logogram-0.5.0/CHANGELOG.md +438 -0
- logogram-0.5.0/PKG-INFO +1153 -0
- logogram-0.5.0/README.md +1115 -0
- logogram-0.5.0/docs/README.md +62 -0
- logogram-0.5.0/notebooks/README.md +36 -0
- {logogram-0.1.2 → logogram-0.5.0}/pyproject.toml +29 -3
- logogram-0.5.0/scripts/build_reference.py +879 -0
- {logogram-0.1.2 → logogram-0.5.0}/scripts/check_privacy.py +77 -32
- {logogram-0.1.2 → logogram-0.5.0}/scripts/smoke_wheel.py +6 -1
- logogram-0.5.0/scripts/validate_real_weights.py +918 -0
- logogram-0.5.0/src/logogram/__init__.py +54 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/analysis.py +232 -65
- logogram-0.5.0/src/logogram/api.py +847 -0
- logogram-0.5.0/src/logogram/atp.py +307 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/backends/base.py +110 -15
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/backends/hub.py +57 -9
- logogram-0.5.0/src/logogram/backends/saes.py +654 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/backends/transformer_lens.py +402 -66
- logogram-0.5.0/src/logogram/chat.py +211 -0
- logogram-0.5.0/src/logogram/circuits.py +586 -0
- logogram-0.5.0/src/logogram/cli.py +1998 -0
- logogram-0.5.0/src/logogram/compare.py +317 -0
- logogram-0.5.0/src/logogram/datasets.py +240 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/direct.py +66 -10
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/engine.py +273 -61
- logogram-0.5.0/src/logogram/examples/factual-recall-gpt2/datasets/factual-recall.jsonl +96 -0
- logogram-0.5.0/src/logogram/examples/factual-recall-gpt2/experiments/capital-causal-trace/spec.json +47 -0
- logogram-0.5.0/src/logogram/examples/factual-recall-gpt2/project.json +6 -0
- logogram-0.5.0/src/logogram/examples/gendered-pronoun-gpt2/.gitignore +3 -0
- logogram-0.5.0/src/logogram/examples/gendered-pronoun-gpt2/datasets/gendered-pronoun.jsonl +64 -0
- logogram-0.5.0/src/logogram/examples/gendered-pronoun-gpt2/experiments/pronoun-direct-effects/spec.json +48 -0
- logogram-0.5.0/src/logogram/examples/gendered-pronoun-gpt2/project.json +6 -0
- logogram-0.5.0/src/logogram/examples/greater-than-gpt2/.gitignore +3 -0
- logogram-0.5.0/src/logogram/examples/greater-than-gpt2/datasets/greater-than.jsonl +96 -0
- logogram-0.5.0/src/logogram/examples/greater-than-gpt2/experiments/greater-than-layers/spec.json +52 -0
- logogram-0.5.0/src/logogram/examples/greater-than-gpt2/project.json +6 -0
- logogram-0.5.0/src/logogram/examples/ioi-gpt2/.gitignore +3 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/examples/ioi-gpt2/experiments/ioi-head-patching/spec.json +10 -4
- logogram-0.5.0/src/logogram/exports.py +80 -0
- logogram-0.5.0/src/logogram/features.py +638 -0
- logogram-0.5.0/src/logogram/fileio.py +140 -0
- logogram-0.5.0/src/logogram/gallery.py +160 -0
- logogram-0.5.0/src/logogram/heads.py +184 -0
- logogram-0.5.0/src/logogram/history.py +261 -0
- logogram-0.5.0/src/logogram/inside.py +318 -0
- logogram-0.5.0/src/logogram/local_models.py +424 -0
- logogram-0.5.0/src/logogram/metrics.py +277 -0
- logogram-0.5.0/src/logogram/owner.py +138 -0
- logogram-0.5.0/src/logogram/partial.py +266 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/paths.py +38 -14
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/project.py +76 -26
- logogram-0.5.0/src/logogram/prompts.py +362 -0
- logogram-0.5.0/src/logogram/report.py +746 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/research.py +13 -3
- logogram-0.5.0/src/logogram/results.py +425 -0
- logogram-0.5.0/src/logogram/robustness.py +73 -0
- logogram-0.5.0/src/logogram/runner.py +696 -0
- logogram-0.5.0/src/logogram/runqueue.py +392 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/runs.py +41 -6
- logogram-0.5.0/src/logogram/sae.py +254 -0
- logogram-0.5.0/src/logogram/schema.py +738 -0
- logogram-0.5.0/src/logogram/server/app.py +1995 -0
- logogram-0.5.0/src/logogram/server/models.py +915 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/server/security.py +114 -11
- logogram-0.5.0/src/logogram/server/state.py +982 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/sites.py +21 -7
- logogram-0.5.0/src/logogram/spec.py +1198 -0
- logogram-0.5.0/src/logogram/stats.py +333 -0
- logogram-0.5.0/src/logogram/steering.py +825 -0
- logogram-0.5.0/src/logogram/support.py +292 -0
- logogram-0.5.0/src/logogram/sweeps.py +1033 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/system.py +272 -18
- logogram-0.5.0/src/logogram/tasks.py +1011 -0
- logogram-0.5.0/src/logogram/web_dist/assets/index-6ZqR5xBh.css +1 -0
- logogram-0.5.0/src/logogram/web_dist/assets/index-DNzUYGYt.js +58 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/web_dist/index.html +3 -3
- {logogram-0.1.2 → logogram-0.5.0}/tests/browser_server.py +43 -4
- {logogram-0.1.2 → logogram-0.5.0}/tests/conftest.py +33 -4
- logogram-0.5.0/tests/fixtures/old-runs/datasets/ioi.jsonl +6 -0
- logogram-0.5.0/tests/fixtures/old-runs/datasets/snapshots/f5e2f2b1d68ac7ab59b1cefcd84f7f0cfc81c71c85c05c925f872e01c01d6e69.jsonl +6 -0
- logogram-0.5.0/tests/fixtures/old-runs/experiments/made-by-0.1.0/manifest.json +42 -0
- logogram-0.5.0/tests/fixtures/old-runs/experiments/made-by-0.1.0/results.parquet +0 -0
- logogram-0.5.0/tests/fixtures/old-runs/experiments/made-by-0.1.0/spec.json +44 -0
- logogram-0.5.0/tests/fixtures/old-runs/experiments/made-by-0.1.0/summary.json +418 -0
- logogram-0.5.0/tests/fixtures/old-runs/experiments/made-by-0.2.0/manifest.json +42 -0
- logogram-0.5.0/tests/fixtures/old-runs/experiments/made-by-0.2.0/results.parquet +0 -0
- logogram-0.5.0/tests/fixtures/old-runs/experiments/made-by-0.2.0/spec.json +45 -0
- logogram-0.5.0/tests/fixtures/old-runs/experiments/made-by-0.2.0/summary.json +509 -0
- logogram-0.5.0/tests/fixtures/old-runs/experiments/written-for-0.1.0/spec.json +8 -0
- logogram-0.5.0/tests/fixtures/old-runs/project.json +6 -0
- logogram-0.5.0/tests/test_api.py +194 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_architectures.py +1 -1
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_atp.py +10 -4
- logogram-0.5.0/tests/test_attention_saes.py +270 -0
- logogram-0.5.0/tests/test_chat_models.py +115 -0
- logogram-0.5.0/tests/test_chat_templates.py +451 -0
- logogram-0.5.0/tests/test_circuits.py +286 -0
- logogram-0.5.0/tests/test_community.py +276 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_direct.py +1 -1
- logogram-0.5.0/tests/test_docs.py +117 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_engine.py +39 -10
- logogram-0.5.0/tests/test_examples.py +203 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_explorer.py +32 -2
- logogram-0.5.0/tests/test_feature_writes.py +321 -0
- logogram-0.5.0/tests/test_gpus.py +165 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_hardening.py +158 -4
- logogram-0.5.0/tests/test_heads.py +203 -0
- logogram-0.5.0/tests/test_history.py +718 -0
- logogram-0.5.0/tests/test_inside.py +96 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_loading.py +38 -0
- logogram-0.5.0/tests/test_local_models.py +327 -0
- logogram-0.5.0/tests/test_metrics.py +323 -0
- logogram-0.5.0/tests/test_notebooks.py +118 -0
- logogram-0.5.0/tests/test_old_runs.py +206 -0
- logogram-0.5.0/tests/test_partial.py +586 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_paths.py +32 -7
- logogram-0.5.0/tests/test_privacy.py +198 -0
- logogram-0.5.0/tests/test_queue.py +373 -0
- logogram-0.5.0/tests/test_reference.py +134 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_release_fixes.py +1 -0
- logogram-0.5.0/tests/test_report.py +169 -0
- logogram-0.5.0/tests/test_run_tracking.py +641 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_sae.py +118 -10
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_sanity.py +4 -4
- logogram-0.5.0/tests/test_saved_queue.py +546 -0
- logogram-0.5.0/tests/test_security.py +399 -0
- logogram-0.5.0/tests/test_server.py +548 -0
- logogram-0.5.0/tests/test_skip_transcoders.py +435 -0
- logogram-0.5.0/tests/test_specs.py +329 -0
- logogram-0.5.0/tests/test_statistics.py +196 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_steering.py +23 -15
- logogram-0.5.0/tests/test_steering_features.py +654 -0
- logogram-0.5.0/tests/test_support.py +385 -0
- logogram-0.5.0/tests/test_sweeps.py +582 -0
- logogram-0.5.0/tests/test_tasks.py +525 -0
- logogram-0.5.0/tests/test_transcoders.py +349 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_units.py +24 -12
- logogram-0.5.0/tests/test_validation_script.py +431 -0
- {logogram-0.1.2 → logogram-0.5.0}/uv.lock +239 -53
- {logogram-0.1.2 → logogram-0.5.0}/web/index.html +1 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/package-lock.json +11 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/package.json +1 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/playwright.config.ts +10 -2
- {logogram-0.1.2 → logogram-0.5.0}/web/src/App.module.css +4 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/App.tsx +20 -2
- logogram-0.5.0/web/src/api/client.ts +352 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/api/events.ts +11 -2
- logogram-0.5.0/web/src/api/types.ts +1564 -0
- logogram-0.5.0/web/src/components/AboutDialog.tsx +78 -0
- logogram-0.5.0/web/src/components/CancelRunDialog.tsx +50 -0
- logogram-0.5.0/web/src/components/CircuitDialog.tsx +151 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/CommandPalette.tsx +101 -16
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/CopyCommand.module.css +5 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/CopyCommand.tsx +2 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Distribution.module.css +2 -2
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Distribution.tsx +7 -2
- logogram-0.5.0/web/src/components/ErrorBoundary.module.css +46 -0
- logogram-0.5.0/web/src/components/ErrorBoundary.tsx +98 -0
- logogram-0.5.0/web/src/components/ExampleGallery.module.css +121 -0
- logogram-0.5.0/web/src/components/ExampleGallery.tsx +116 -0
- logogram-0.5.0/web/src/components/FeatureWrites.module.css +88 -0
- logogram-0.5.0/web/src/components/FeatureWrites.tsx +120 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/FolderPicker.module.css +0 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/FolderPicker.tsx +20 -3
- logogram-0.5.0/web/src/components/GuideDialog.module.css +177 -0
- logogram-0.5.0/web/src/components/GuideDialog.tsx +260 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Header.tsx +14 -2
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Heatmap/Heatmap.module.css +14 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Heatmap/Heatmap.tsx +90 -48
- logogram-0.5.0/web/src/components/HelpDialogs.module.css +133 -0
- logogram-0.5.0/web/src/components/HelpMenu.module.css +5 -0
- logogram-0.5.0/web/src/components/HelpMenu.tsx +116 -0
- logogram-0.5.0/web/src/components/History.module.css +364 -0
- logogram-0.5.0/web/src/components/History.tsx +651 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Inspector.module.css +3 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Inspector.tsx +264 -39
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/LogogramDial.module.css +1 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/LogogramDial.tsx +9 -2
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/ModelDialog.module.css +15 -1
- logogram-0.5.0/web/src/components/ModelDialog.tsx +498 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/ModelMap/Legend.tsx +3 -3
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/ModelMap/ModelMap.module.css +14 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/ModelMap/ModelMap.tsx +92 -50
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Notices.module.css +24 -0
- logogram-0.5.0/web/src/components/Notices.tsx +42 -0
- logogram-0.5.0/web/src/components/ReportDialog.tsx +122 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/RobustnessDialog.tsx +37 -12
- logogram-0.5.0/web/src/components/RunButton.tsx +65 -0
- logogram-0.5.0/web/src/components/ShortcutsDialog.module.css +80 -0
- logogram-0.5.0/web/src/components/ShortcutsDialog.tsx +153 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Splitter.module.css +1 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Splitter.tsx +11 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/StatusLine.module.css +6 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/StatusLine.tsx +46 -5
- logogram-0.5.0/web/src/components/SweepChart/SweepChart.module.css +59 -0
- logogram-0.5.0/web/src/components/SweepChart/SweepChart.tsx +357 -0
- logogram-0.5.0/web/src/components/SweepDialog.module.css +101 -0
- logogram-0.5.0/web/src/components/SweepDialog.tsx +382 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/TokenStrip.module.css +18 -0
- logogram-0.5.0/web/src/components/TokenStrip.tsx +271 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/TopBar.module.css +1 -1
- logogram-0.5.0/web/src/components/TopBar.tsx +125 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/UpdateNotice.module.css +2 -3
- logogram-0.5.0/web/src/components/Walkthrough.module.css +94 -0
- logogram-0.5.0/web/src/components/Walkthrough.tsx +322 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/ui/Icon.tsx +4 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/ui/index.tsx +170 -53
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/ui/ui.module.css +71 -54
- logogram-0.5.0/web/src/lib/analysis.ts +133 -0
- logogram-0.5.0/web/src/lib/buildSpec.ts +433 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/lib/canvas.ts +3 -0
- logogram-0.5.0/web/src/lib/chat.ts +50 -0
- logogram-0.5.0/web/src/lib/circuits.ts +247 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/lib/color.ts +15 -5
- logogram-0.5.0/web/src/lib/devices.ts +33 -0
- logogram-0.5.0/web/src/lib/environment.ts +81 -0
- logogram-0.5.0/web/src/lib/export.ts +92 -0
- logogram-0.5.0/web/src/lib/formDraft.ts +257 -0
- logogram-0.5.0/web/src/lib/formHistory.ts +79 -0
- logogram-0.5.0/web/src/lib/formState.ts +182 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/lib/format.ts +27 -15
- logogram-0.5.0/web/src/lib/guide.ts +62 -0
- logogram-0.5.0/web/src/lib/help.ts +45 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/lib/hooks.ts +11 -4
- {logogram-0.1.2 → logogram-0.5.0}/web/src/lib/keys.ts +50 -8
- logogram-0.5.0/web/src/lib/metrics.ts +162 -0
- logogram-0.5.0/web/src/lib/milestones.ts +36 -0
- logogram-0.5.0/web/src/lib/motion.ts +25 -0
- logogram-0.5.0/web/src/lib/promptEdits.ts +256 -0
- logogram-0.5.0/web/src/lib/promptRows.ts +129 -0
- logogram-0.5.0/web/src/lib/route.ts +131 -0
- logogram-0.5.0/web/src/lib/runs.ts +197 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/lib/sites.ts +31 -6
- {logogram-0.1.2 → logogram-0.5.0}/web/src/lib/spec.ts +161 -88
- logogram-0.5.0/web/src/lib/sweeps.ts +143 -0
- logogram-0.5.0/web/src/lib/thresholds.ts +19 -0
- logogram-0.5.0/web/src/lib/walkthrough.ts +136 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/main.tsx +4 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/screens/Projects.tsx +22 -17
- {logogram-0.1.2 → logogram-0.5.0}/web/src/screens/Screens.module.css +22 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/screens/SystemCheck.tsx +10 -15
- {logogram-0.1.2 → logogram-0.5.0}/web/src/screens/Welcome.tsx +10 -5
- {logogram-0.1.2 → logogram-0.5.0}/web/src/screens/Workbench.module.css +36 -1
- {logogram-0.1.2 → logogram-0.5.0}/web/src/screens/Workbench.tsx +49 -21
- logogram-0.5.0/web/src/store/app.ts +1586 -0
- logogram-0.5.0/web/src/store/help.ts +73 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/styles/tokens.css +46 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/AttentionView.tsx +71 -53
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/BaselineView.module.css +29 -0
- logogram-0.5.0/web/src/views/BaselineView.tsx +369 -0
- logogram-0.5.0/web/src/views/ChatTemplateSettings.tsx +131 -0
- logogram-0.5.0/web/src/views/CircuitResults.tsx +289 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/CompareView.module.css +65 -0
- logogram-0.5.0/web/src/views/CompareView.tsx +703 -0
- logogram-0.5.0/web/src/views/Continuations.module.css +84 -0
- logogram-0.5.0/web/src/views/Continuations.tsx +111 -0
- logogram-0.5.0/web/src/views/ExperimentView.module.css +231 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/ExperimentView.tsx +355 -294
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/ExploreView.tsx +25 -10
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/FeaturesView.module.css +3 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/FeaturesView.tsx +70 -19
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/Forest.module.css +17 -2
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/Forest.tsx +31 -3
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/HeadComparisonView.tsx +28 -10
- logogram-0.5.0/web/src/views/HeadKinds.module.css +96 -0
- logogram-0.5.0/web/src/views/HeadKinds.tsx +216 -0
- logogram-0.5.0/web/src/views/MetricSettings.tsx +123 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/PredictionsView.tsx +10 -7
- logogram-0.5.0/web/src/views/PromptsView.module.css +247 -0
- logogram-0.5.0/web/src/views/PromptsView.tsx +903 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/ResearchView.tsx +26 -8
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/ResultsView.module.css +199 -3
- logogram-0.5.0/web/src/views/ResultsView.tsx +885 -0
- logogram-0.5.0/web/src/views/RunSummary.tsx +191 -0
- logogram-0.5.0/web/src/views/SiteSets.module.css +286 -0
- logogram-0.5.0/web/src/views/SiteSetsEditor.tsx +232 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/SpecView.tsx +27 -13
- logogram-0.5.0/web/src/views/StatisticsSettings.tsx +52 -0
- logogram-0.5.0/web/src/views/SweepView.module.css +221 -0
- logogram-0.5.0/web/src/views/SweepView.tsx +545 -0
- logogram-0.5.0/web/src/views/TaskGenerator.tsx +237 -0
- logogram-0.5.0/web/src/views/TextView.module.css +149 -0
- logogram-0.5.0/web/src/views/TextView.tsx +580 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/views.module.css +13 -5
- logogram-0.5.0/web/tests/a11y.browser.ts +253 -0
- logogram-0.5.0/web/tests/analyses.browser.ts +142 -0
- logogram-0.5.0/web/tests/autosave.unit.ts +282 -0
- logogram-0.5.0/web/tests/axe.ts +43 -0
- logogram-0.5.0/web/tests/chat.browser.ts +154 -0
- logogram-0.5.0/web/tests/chat.unit.ts +58 -0
- logogram-0.5.0/web/tests/circuits.unit.ts +179 -0
- logogram-0.5.0/web/tests/color.unit.ts +29 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/tests/context.unit.ts +81 -7
- logogram-0.5.0/web/tests/devices.unit.ts +43 -0
- logogram-0.5.0/web/tests/docs.ts +48 -0
- logogram-0.5.0/web/tests/environment.unit.ts +136 -0
- logogram-0.5.0/web/tests/export.unit.ts +93 -0
- logogram-0.5.0/web/tests/fakeRuns.ts +120 -0
- logogram-0.5.0/web/tests/form.unit.ts +132 -0
- logogram-0.5.0/web/tests/gallery.browser.ts +115 -0
- logogram-0.5.0/web/tests/guide.browser.ts +167 -0
- logogram-0.5.0/web/tests/guide.unit.ts +153 -0
- logogram-0.5.0/web/tests/heads.browser.ts +40 -0
- logogram-0.5.0/web/tests/heatmap.unit.ts +27 -0
- logogram-0.5.0/web/tests/help.browser.ts +225 -0
- logogram-0.5.0/web/tests/help.unit.ts +72 -0
- logogram-0.5.0/web/tests/history.browser.ts +224 -0
- logogram-0.5.0/web/tests/history.unit.ts +340 -0
- logogram-0.5.0/web/tests/navigation.browser.ts +49 -0
- logogram-0.5.0/web/tests/notices.unit.ts +97 -0
- logogram-0.5.0/web/tests/partial.browser.ts +143 -0
- logogram-0.5.0/web/tests/prompts.browser.ts +231 -0
- logogram-0.5.0/web/tests/prompts.unit.ts +224 -0
- logogram-0.5.0/web/tests/queue.browser.ts +80 -0
- logogram-0.5.0/web/tests/queue.unit.ts +239 -0
- logogram-0.5.0/web/tests/route.unit.ts +24 -0
- logogram-0.5.0/web/tests/runs.browser.ts +192 -0
- logogram-0.5.0/web/tests/spec.unit.ts +383 -0
- logogram-0.5.0/web/tests/steering.browser.ts +134 -0
- logogram-0.5.0/web/tests/sweep.browser.ts +235 -0
- logogram-0.5.0/web/tests/sweeps.unit.ts +159 -0
- logogram-0.5.0/web/tests/tasks.unit.ts +54 -0
- logogram-0.5.0/web/tests/text.browser.ts +153 -0
- logogram-0.5.0/web/tests/tokens.browser.ts +26 -0
- logogram-0.5.0/web/tests/ux.browser.ts +121 -0
- logogram-0.5.0/web/tests/walkthrough.browser.ts +316 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/tests/workbench.browser.ts +91 -6
- logogram-0.1.2/CHANGELOG.md +0 -94
- logogram-0.1.2/PKG-INFO +0 -591
- logogram-0.1.2/README.md +0 -553
- logogram-0.1.2/scripts/validate_real_weights.py +0 -459
- logogram-0.1.2/src/logogram/__init__.py +0 -6
- logogram-0.1.2/src/logogram/atp.py +0 -130
- logogram-0.1.2/src/logogram/backends/saes.py +0 -277
- logogram-0.1.2/src/logogram/cli.py +0 -493
- logogram-0.1.2/src/logogram/compare.py +0 -177
- logogram-0.1.2/src/logogram/datasets.py +0 -159
- logogram-0.1.2/src/logogram/exports.py +0 -33
- logogram-0.1.2/src/logogram/features.py +0 -368
- logogram-0.1.2/src/logogram/fileio.py +0 -63
- logogram-0.1.2/src/logogram/prompts.py +0 -204
- logogram-0.1.2/src/logogram/results.py +0 -265
- logogram-0.1.2/src/logogram/runner.py +0 -396
- logogram-0.1.2/src/logogram/sae.py +0 -161
- logogram-0.1.2/src/logogram/schema.py +0 -302
- logogram-0.1.2/src/logogram/server/app.py +0 -1104
- logogram-0.1.2/src/logogram/server/models.py +0 -427
- logogram-0.1.2/src/logogram/server/state.py +0 -585
- logogram-0.1.2/src/logogram/spec.py +0 -518
- logogram-0.1.2/src/logogram/stats.py +0 -171
- logogram-0.1.2/src/logogram/steering.py +0 -290
- logogram-0.1.2/src/logogram/web_dist/assets/index-Cw0WBZBB.js +0 -54
- logogram-0.1.2/src/logogram/web_dist/assets/index-Dt6ecB66.css +0 -1
- logogram-0.1.2/tests/test_privacy.py +0 -45
- logogram-0.1.2/tests/test_server.py +0 -229
- logogram-0.1.2/tests/test_validation_script.py +0 -45
- logogram-0.1.2/web/src/api/client.ts +0 -217
- logogram-0.1.2/web/src/api/types.ts +0 -747
- logogram-0.1.2/web/src/components/History.module.css +0 -155
- logogram-0.1.2/web/src/components/History.tsx +0 -146
- logogram-0.1.2/web/src/components/ModelDialog.tsx +0 -270
- logogram-0.1.2/web/src/components/Notices.tsx +0 -22
- logogram-0.1.2/web/src/components/TokenStrip.tsx +0 -167
- logogram-0.1.2/web/src/components/TopBar.tsx +0 -112
- logogram-0.1.2/web/src/lib/analysis.ts +0 -47
- logogram-0.1.2/web/src/lib/export.ts +0 -99
- logogram-0.1.2/web/src/store/app.ts +0 -925
- logogram-0.1.2/web/src/views/BaselineView.tsx +0 -238
- logogram-0.1.2/web/src/views/CompareView.tsx +0 -382
- logogram-0.1.2/web/src/views/ExperimentView.module.css +0 -87
- logogram-0.1.2/web/src/views/PromptsView.tsx +0 -442
- logogram-0.1.2/web/src/views/ResultsView.tsx +0 -501
- {logogram-0.1.2 → logogram-0.5.0}/LICENSE +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/__main__.py +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/backends/__init__.py +0 -0
- {logogram-0.1.2/src/logogram/examples/ioi-gpt2 → logogram-0.5.0/src/logogram/examples/factual-recall-gpt2}/.gitignore +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/examples/ioi-gpt2/datasets/ioi.jsonl +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/examples/ioi-gpt2/project.json +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/ioi.py +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/server/__init__.py +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/updates.py +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/verify.py +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/web_dist/assets/instrument-sans-latin-ext-standard-normal-C5E2Gvlv.woff2 +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/web_dist/assets/instrument-sans-latin-standard-normal-BVScPF0l.woff2 +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/src/logogram/web_dist/favicon.svg +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_cli.py +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_devices.py +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/tests/test_updates.py +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/public/favicon.svg +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/CommandPalette.module.css +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Header.module.css +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Heatmap/ScaleBar.tsx +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/Logogram.tsx +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/components/UpdateNotice.tsx +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/lib/heatmapNavigation.ts +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/lib/logogram.ts +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/styles/global.css +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/AttentionView.module.css +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/ExploreView.module.css +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/HeadComparisonView.module.css +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/PredictionsView.module.css +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/ResearchView.module.css +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/src/views/SpecView.module.css +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/tests/logogram.unit.ts +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/tsconfig.json +0 -0
- {logogram-0.1.2 → logogram-0.5.0}/web/vite.config.ts +0 -0
|
@@ -14,7 +14,7 @@ traceability come before features.
|
|
|
14
14
|
* Use `platformdirs` for runtime locations (settings, recent projects) and project-relative paths
|
|
15
15
|
in anything written into a project (specs, manifests, summaries).
|
|
16
16
|
* Don't commit run outputs from your machine: manifests record the device and GPU model. The
|
|
17
|
-
bundled
|
|
17
|
+
bundled examples ship a spec and a dataset each.
|
|
18
18
|
* No telemetry, analytics, crash reporting, CDNs or remote fonts. Bundle assets locally. Network
|
|
19
19
|
access is limited to Hugging Face downloads the user starts (with their own login) and the
|
|
20
20
|
version check in `src/logogram/updates.py`: one GET of pypi.org's JSON for `logogram`, carrying
|
|
@@ -31,12 +31,15 @@ traceability come before features.
|
|
|
31
31
|
|
|
32
32
|
## Science rules
|
|
33
33
|
|
|
34
|
-
* The experiment spec (`src/logogram/spec.py`) is the single source of truth. The app
|
|
35
|
-
`logogram run` execute the same spec through `logogram.runner.run_spec`;
|
|
36
|
-
that only one of them uses.
|
|
34
|
+
* The experiment spec (`src/logogram/spec.py`) is the single source of truth. The app,
|
|
35
|
+
`logogram run` and the Python API execute the same spec through `logogram.runner.run_spec`;
|
|
36
|
+
never add a code path that only one of them uses.
|
|
37
37
|
* Every choice that can change a number lives in the spec and is shown in the UI: direction,
|
|
38
|
-
baseline, site, position, metric, normalization, seeds, batch size, dtype, model
|
|
39
|
-
Nothing methodological is silently defaulted
|
|
38
|
+
baseline, site, position, metric, normalization, seeds, clustering, batch size, dtype, model
|
|
39
|
+
revision. Nothing methodological is silently defaulted: a version 2 spec states every such
|
|
40
|
+
field, and a new one is required (with the value that reproduces earlier behavior filled in
|
|
41
|
+
for version 1 specs by `upgrade_v1`, listed when it was a choice). Ablation has no default
|
|
42
|
+
baseline.
|
|
40
43
|
* Specs use abstract sites (`resid_pre`, `resid_mid`, `resid_post`, `attn_out`, `mlp_out`,
|
|
41
44
|
`head`). Library hook names appear only inside a backend (`src/logogram/backends/`).
|
|
42
45
|
* Keep per-prompt values. Statistics come from them: n, mean, SD, a seeded percentile bootstrap
|
|
@@ -92,11 +95,14 @@ traceability come before features.
|
|
|
92
95
|
|
|
93
96
|
```text
|
|
94
97
|
src/logogram/
|
|
95
|
-
spec.py experiment spec (pydantic)
|
|
98
|
+
spec.py experiment spec (pydantic); version 1 specs are upgraded here
|
|
96
99
|
datasets.py, ioi.py JSONL datasets and the IOI generator
|
|
97
|
-
|
|
100
|
+
tasks.py seeded datasets for the other tasks (greater-than, docstring, ...)
|
|
101
|
+
prompts.py tokenization, alignment checks, length groups, seeded splits
|
|
102
|
+
metrics.py the metrics: answers, answer sets and continuations, scored per prompt
|
|
98
103
|
sites.py scope expansion and result layouts
|
|
99
104
|
engine.py the sweep: captures, patches, streams per layer, cancels; routes methods
|
|
105
|
+
circuits.py sets of sites intervened on at once, faithfulness and minimality
|
|
100
106
|
direct.py direct logit attribution
|
|
101
107
|
atp.py attribution patching (first-order estimates of patching)
|
|
102
108
|
verify.py the spec that verifies an estimate by patching its strongest sites
|
|
@@ -104,21 +110,31 @@ src/logogram/
|
|
|
104
110
|
paths.py path patching
|
|
105
111
|
features.py SAE features: patching and attribution patching
|
|
106
112
|
sae.py SAE encode, decode and fit
|
|
107
|
-
stats.py bootstrap
|
|
113
|
+
stats.py bootstrap (over prompts or clusters), bands, q-values, paired differences
|
|
108
114
|
results.py summary.json and results.parquet
|
|
109
115
|
schema.py schemas for run files, history listings and live events
|
|
110
116
|
fileio.py atomic writes that never follow symlinks
|
|
111
|
-
runner.py run a spec end to end (used by the app and the
|
|
112
|
-
|
|
117
|
+
runner.py run a spec end to end (used by the app, the CLI and the Python API)
|
|
118
|
+
partial.py what a run that stops early keeps of what finished, and what it leaves out
|
|
119
|
+
owner.py which process runs a run, so a run going elsewhere isn't taken for interrupted
|
|
120
|
+
runqueue.py the project's run queue (.logogram/queue.json) and the one process running it
|
|
121
|
+
history.py what people say about runs (titles, stars, the archive), and deleting runs
|
|
122
|
+
robustness.py the spec that reruns a run with one choice changed
|
|
123
|
+
sweeps.py one spec run across several seeds, datasets or revisions, and its table
|
|
124
|
+
compare.py run comparisons, paired prompt by prompt where they can be
|
|
125
|
+
api.py the Python API for notebooks (imported lazily by logogram/__init__.py)
|
|
113
126
|
analysis.py token strip, baseline check, attention patterns
|
|
114
127
|
backends/ ModelBackend interface, TransformerLens backend, Hugging Face access,
|
|
115
128
|
published SAE formats
|
|
116
129
|
server/ FastAPI app, security, response models, job and event handling
|
|
117
|
-
system.py hardware report, doctor, memory estimates
|
|
130
|
+
system.py hardware report, doctor, memory estimates, the environment (logogram env)
|
|
131
|
+
support.py the problem report: versions and the last error, no names or paths
|
|
118
132
|
updates.py opt-in version check against PyPI, update commands
|
|
119
133
|
cli.py typer command line
|
|
120
134
|
web_dist/ built web app (generated by `npm run build` in web/, committed)
|
|
121
|
-
|
|
135
|
+
gallery.py the bundled examples: what each asks, and the result to expect
|
|
136
|
+
examples/ the example projects (IOI, greater-than, factual recall, gendered pronoun
|
|
137
|
+
on GPT-2 small): a spec and a dataset each
|
|
122
138
|
web/ React + TypeScript + Vite sources
|
|
123
139
|
scripts/check_privacy.py
|
|
124
140
|
tests/
|
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
What changed in each version of Logogram.
|
|
4
|
+
|
|
5
|
+
## 0.5.0 (2026-10-12)
|
|
6
|
+
|
|
7
|
+
Chat models on their own template, your own fine-tunes, findings checked across seeds and
|
|
8
|
+
checkpoints, runs that keep what finished, a queue that runs overnight, steering along SAE
|
|
9
|
+
features with what the steered model goes on to say, and documentation for all of it: pages for
|
|
10
|
+
every method, how-to guides, notebooks, a guide in the app and a walkthrough.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Chat templates** (`tokenization.chat_template`). Prompts can be wrapped in the model's own
|
|
15
|
+
chat template, the one its tokenizer ships: as the person's message followed by the template's
|
|
16
|
+
opening of the reply, or as the start of the model's reply to a fixed message, with an optional
|
|
17
|
+
system message. Each prompt must come out of the template unchanged around it, or it is
|
|
18
|
+
refused with the reason; named positions move with the template, and answers are read after
|
|
19
|
+
the whole wrapped text. The run, the baseline, the token strip, attention, predictions, the
|
|
20
|
+
SAE views, the head finder and Your text all wrap prompts the same way. The manifest records
|
|
21
|
+
the template's SHA-256, the summary its text around each prompt, and the methods text says
|
|
22
|
+
what the model read.
|
|
23
|
+
- **Local models** (`model.source: "local"`). A folder with `config.json`, the tokenizer and
|
|
24
|
+
safetensors weights is added under a name (`logogram models add PATH --name NAME`, the model
|
|
25
|
+
dialog, or `lg.add_local_model`) and found by the hash of its files, so specs, manifests and
|
|
26
|
+
reports never hold a path. Loading rehashes files whose size or time changed and refuses a
|
|
27
|
+
folder whose files changed, naming them; pickle-only folders are refused.
|
|
28
|
+
- **One GPU of several** (`model.device: "cuda:N"`). The model dialog offers each GPU with its
|
|
29
|
+
name and free memory, the estimate uses the chosen one, and the manifest records its index and
|
|
30
|
+
name. `cuda` is the default GPU, so a spec saying `cuda` and one saying `cuda:0` match.
|
|
31
|
+
- **Steering along an SAE feature.** Steering's direction can be a feature's decoder direction,
|
|
32
|
+
added where its SAE writes (the residual stream, an attention or MLP output, a transcoder's MLP
|
|
33
|
+
output, or the heads' outputs). Strength 1 is the feature's typical activation, recorded in
|
|
34
|
+
the summary. **Steer along this feature** in a feature's panel fills the form.
|
|
35
|
+
- **What a steered model says.** A steering run can record greedy continuations of its first
|
|
36
|
+
held-out prompts: unsteered, at each strength and with the random control
|
|
37
|
+
(`continuations.json`, shown under the results and in the report). Your text continues any
|
|
38
|
+
text, plainly or with a feature added from a chosen token on.
|
|
39
|
+
- **Sweeps.** One spec run across several values of one choice: a seed it states, the dataset
|
|
40
|
+
(files ticked, or generated one per seed), or the model's revision (training checkpoints in
|
|
41
|
+
order). The run it was made from stands in for its own value. The Sweeps view in Evidence
|
|
42
|
+
shows each strong site's effect and interval at every value, the spread across values beside a
|
|
43
|
+
run's own interval, and which sites keep their sign and size; values without results are
|
|
44
|
+
missing, never zero. `logogram sweep`, `lg.sweep` and `lg.load_sweep`; CSV export.
|
|
45
|
+
- **Runs that stop early keep what finished.** A run cancelled, interrupted or failing mid-sweep
|
|
46
|
+
keeps the layers (or sites, or sets) every prompt ran at, with the statistics a finished run
|
|
47
|
+
gives them; attribution patching and direct logit attribution keep every site over the prompts
|
|
48
|
+
that finished. The summary says how far the run got and what it leaves out (corrections for
|
|
49
|
+
the number of sites need every site). The run stays cancelled or failed; the history marks it
|
|
50
|
+
partial.
|
|
51
|
+
- **A queue that survives restarts.** The run queue is kept in the project
|
|
52
|
+
(`.logogram/queue.json`), comes back paused when the project opens again, and can be run
|
|
53
|
+
without the app: `logogram queue add`, `list`, `clear` and `run` (overnight on a remote GPU,
|
|
54
|
+
say). One process runs a queue at a time.
|
|
55
|
+
- **The head finder.** The Attention view finds previous-token, duplicate-token and induction
|
|
56
|
+
heads on seeded repeated random tokens (Olsson et al. 2022), each head's score with a bootstrap
|
|
57
|
+
interval over sequences (`lg.head_kinds`).
|
|
58
|
+
- **Your text**, a new Explore tab: any text's tokens, the next-token predictions after each,
|
|
59
|
+
the logit lens at a chosen token (where it held for the model), where a head attends, and the
|
|
60
|
+
SAE features that fire, without making a dataset (`lg.look`).
|
|
61
|
+
- **Documentation** in `docs/`: getting started, a tour of the workbench, a page for each method
|
|
62
|
+
(what Logogram computes, exactly, and where it comes from), how-to guides (replicating IOI,
|
|
63
|
+
finding induction heads, working with an SAE, checking robustness, comparing runs, sweeps,
|
|
64
|
+
the queue, chat models, your own fine-tune, sharing results, a remote GPU), and a reference of
|
|
65
|
+
every spec field, command and Python function, generated from the code
|
|
66
|
+
(`scripts/build_reference.py`, checked by a test). Three notebooks, with "Open in Colab":
|
|
67
|
+
IOI head patching, attribution patching verified by patching, and SAE features.
|
|
68
|
+
- **A guide in the app** (Help, Guide): what each workspace is for, how to read the map and the
|
|
69
|
+
logogram, what the numbers and intervals mean, and the keyboard, with buttons that open each
|
|
70
|
+
view. **A walkthrough of the example** in six steps on the real controls (Walk me through it),
|
|
71
|
+
remembered once finished or skipped. `lg.open_example()` opens the example from Python.
|
|
72
|
+
- **A shareable report**: one self-contained HTML page per run, with its map, strongest sites,
|
|
73
|
+
methods, notes, every site's numbers, provenance and spec (`logogram report`, `Run.report()`).
|
|
74
|
+
The figure as SVG, per-site CSV, and per-prompt CSV with the prompts' text. The methods text
|
|
75
|
+
now comes from one place (`logogram methods`, `Run.methods()`).
|
|
76
|
+
|
|
77
|
+
### Changed
|
|
78
|
+
|
|
79
|
+
- Specs are version 3. Version 2 specs read as version 3 with chat templates, local models and
|
|
80
|
+
the new steering choices off, which is what version 2 did.
|
|
81
|
+
|
|
82
|
+
### Fixed
|
|
83
|
+
|
|
84
|
+
- A workspace chosen while a project was opening was undone a moment later.
|
|
85
|
+
- The folder picker could replace a folder you had typed with the one it opened in.
|
|
86
|
+
- Rerunning a saved spec of SAE features with another SAE of the same site loaded used that SAE
|
|
87
|
+
without saying so. The form now lists the SAE among the differences from the saved spec.
|
|
88
|
+
- The token strip tokenized again, and took the focus off the token in hand, whenever an
|
|
89
|
+
unrelated choice changed (the form's batch size or prompt limit).
|
|
90
|
+
- A site's bootstrap interval could change in its last digits with the number of sites the run
|
|
91
|
+
measured: its resampled means came from one matrix product over every site, which BLAS
|
|
92
|
+
libraries round differently as the number of rows changes (a single row goes through another
|
|
93
|
+
routine). They now go through products of one fixed shape, so a run that stops early keeps
|
|
94
|
+
exactly what the whole run gives each site, on every platform. Intervals of earlier runs can
|
|
95
|
+
differ from a rerun's in their last digits.
|
|
96
|
+
|
|
97
|
+
## 0.4.0 (2026-10-12)
|
|
98
|
+
|
|
99
|
+
Runs you can keep track of and trust across machines, a way to work on a remote GPU, help in the
|
|
100
|
+
app, examples with the results they should give, and SAE features read more exactly.
|
|
101
|
+
|
|
102
|
+
### Added
|
|
103
|
+
|
|
104
|
+
- **Three more examples, each read against its paper**, on GPT-2 small: greater-than (Hanna et
|
|
105
|
+
al. 2023; MLPs 8 to 11 carry it, as published), factual recall traced with another country in
|
|
106
|
+
place of noise (Meng et al. 2022; the early site at the subject and the late site at the last
|
|
107
|
+
token, though one MLP at a time doesn't reproduce the MLP claim, as its notes say), and the
|
|
108
|
+
gendered pronoun (Mathwin et al. 2023; heads 10.9 and 9.7 write it). The welcome screens list
|
|
109
|
+
every example with its question, method, the result to expect and the paper; each opens as a
|
|
110
|
+
copy of its own, never overwritten. A weekly check runs all of them on GPT-2 small's real
|
|
111
|
+
weights.
|
|
112
|
+
- **A run's notes beside its result**, folded to three lines, and in its methods paragraph.
|
|
113
|
+
- **Managing runs.** Each run can have a title, shown instead of its spec's name, a star, and a
|
|
114
|
+
place in the archive. These are kept beside the spec, in `annotations.json`, so the spec never
|
|
115
|
+
changes. The history can be searched by title, name, id, method, model and dataset, and filtered
|
|
116
|
+
to starred or archived runs. Rename (F2), star, archive and delete from each row's menu. Deleting
|
|
117
|
+
asks first and removes the run's folder for good (archive keeps a run out of sight instead); runs
|
|
118
|
+
derived from it stay. The same is in the command line (`logogram rename`, `star`, `archive`,
|
|
119
|
+
`delete`; `logogram list --archived`) and the Python API (`run.rename()`, `run.star()`,
|
|
120
|
+
`run.archive()`, `lg.delete_run()`). The command palette searches every run.
|
|
121
|
+
- **Runs in other processes.** A run started with `logogram run` or from a notebook is no longer
|
|
122
|
+
marked failed when the app opens its project: an owner record in its folder says which process
|
|
123
|
+
runs it, and the history shows it running and fills in its results when it ends. A run whose
|
|
124
|
+
process stopped is marked failed with that reason.
|
|
125
|
+
- **A failed run's details.** A failed run keeps its traceback in `traceback.txt`, without this
|
|
126
|
+
machine's paths or names; the app shows it under **Show details**, with a copy button, and
|
|
127
|
+
`logogram show` and `Run.traceback` give it too. Ctrl+C during `logogram run`, or a notebook's
|
|
128
|
+
interrupt, records the run as cancelled. `--verbose` logs what the server does, and
|
|
129
|
+
`--log-file PATH` keeps the log.
|
|
130
|
+
- **Where a run ran.** `logogram env` prints the versions and devices results depend on
|
|
131
|
+
(`--requirements` pins them). The Results view says when a run ran with other versions of
|
|
132
|
+
Logogram, PyTorch, TransformerLens, Transformers or NumPy, or on another kind of device, and
|
|
133
|
+
Compare lists how two runs' environments differ.
|
|
134
|
+
- **A remote GPU over SSH.** `--forwarded-port N` (or `LOGOGRAM_FORWARDED_PORTS`) lets the browser
|
|
135
|
+
reach Logogram through a tunnel's local port; the server still listens on 127.0.0.1 only and still
|
|
136
|
+
answers only to loopback names. A request to an unknown port says exactly which option to add.
|
|
137
|
+
The README has a guide.
|
|
138
|
+
- **A Help menu**: keyboard shortcuts, guides, **Report a problem** (a report to paste into an
|
|
139
|
+
issue, with versions, the loaded model and the last error, scrubbed of paths, names and tokens;
|
|
140
|
+
also `logogram doctor --report`), the system check and About.
|
|
141
|
+
- **What a feature writes**: the tokens an SAE or transcoder feature promotes and suppresses
|
|
142
|
+
directly, through the final normalization (its scale held, as direct logit attribution holds it)
|
|
143
|
+
and the unembedding, in the Features view and the Inspector (`POST /api/sae/writes`,
|
|
144
|
+
`lg.feature_writes`).
|
|
145
|
+
- **Transcoders with a skip connection** (EleutherAI's and Gemma Scope 2's affine ones) are read
|
|
146
|
+
exactly; attribution patching reports what flows through the skip connection. **SAEs on attention
|
|
147
|
+
heads' outputs** (`hook_z`) are read, from SAELens and Gemma Scope 2.
|
|
148
|
+
- **Models made for chat** are recognized when they load (by their name, or by stopping at their
|
|
149
|
+
chat template's end-of-turn token). The model dialog, the summary beside **Run** and the baseline
|
|
150
|
+
say that their prompts run as plain text, and each run's manifest records it.
|
|
151
|
+
- SECURITY.md, CONTRIBUTING.md, CITATION.cff and issue templates.
|
|
152
|
+
|
|
153
|
+
### Changed
|
|
154
|
+
|
|
155
|
+
- History opens failed and cancelled runs on Results, where the reason and **Edit and rerun** are.
|
|
156
|
+
- A run whose spec can't be read is listed as damaged, with what is wrong, instead of vanishing.
|
|
157
|
+
- `logogram list` hides archived runs unless `--archived` is given.
|
|
158
|
+
- Typer 0.16 or later is required: earlier versions can't show `--help` with Click 8.2 or later.
|
|
159
|
+
|
|
160
|
+
### Fixed
|
|
161
|
+
|
|
162
|
+
- The welcome screens had no main landmark, and the tagline's green "Explore" had too little
|
|
163
|
+
contrast on white; its words are now ink, underlined in their workspace's color.
|
|
164
|
+
- Opening a project marked runs going on in another process as failed.
|
|
165
|
+
- A workspace chosen while a project was opening was undone a moment later.
|
|
166
|
+
- Patching a feature of an SAE that standardizes its inputs (OpenAI's GPT-2 SAEs) failed.
|
|
167
|
+
- Features of SAEs on attention heads' outputs weren't laid out by head in the Features view.
|
|
168
|
+
- EleutherAI transcoders in the current format had `b_dec` subtracted from their input; files that
|
|
169
|
+
use settings sparsify's releases don't define were read as TopK instead of being refused.
|
|
170
|
+
|
|
171
|
+
## 0.3.0 (2026-10-11)
|
|
172
|
+
|
|
173
|
+
The interface, made easier to work in: the result where you look first, links and Back, a run
|
|
174
|
+
queue, a summary beside Run, a prompts table you can search and edit, the thresholds behind each
|
|
175
|
+
verdict, and nothing that is only explained on hover.
|
|
176
|
+
|
|
177
|
+
### Added
|
|
178
|
+
|
|
179
|
+
- **A run queue.** While a job runs, **Run** reads **Queue**: the experiment waits its turn, listed
|
|
180
|
+
under **Queued** in History, and starts when the jobs ahead of it end, whether they finish, fail
|
|
181
|
+
or are cancelled. A queued run can be removed until it starts. The queue belongs to the open
|
|
182
|
+
project and lives in the server's memory (`POST`, `GET` and `DELETE /api/queue`).
|
|
183
|
+
- **Links, Back and Forward.** The address keeps your place: the view, and the run it shows or the
|
|
184
|
+
two it compares. Back and Forward move between views, a reload comes back to the same place, and
|
|
185
|
+
**All projects** leads back to the open project as you left it. The address never carries the
|
|
186
|
+
session token.
|
|
187
|
+
- **A summary beside the experiment form**, in view while the form scrolls: what will run and how
|
|
188
|
+
much work it is, whether a batch of that size fits in the memory free with the loaded model
|
|
189
|
+
(`POST /api/models/run-memory`), whether the baseline was checked for these prompts and what it
|
|
190
|
+
found, and, when the form can't run yet, what is missing, right above **Run**.
|
|
191
|
+
- **The prompts table** can be searched (both prompts, answers and metadata), shows 100 rows a
|
|
192
|
+
page, and is one tab stop whose arrow keys, Page Up and Down, Home and End choose a prompt.
|
|
193
|
+
Prompts can be edited or removed, and the edits are saved as a new dataset
|
|
194
|
+
(`POST /api/datasets/derive`), so the dataset a run recorded never changes.
|
|
195
|
+
- **Compare: a site in both runs.** Choosing a cell, or a row of the table, circles it on both
|
|
196
|
+
maps and shows each run's effect and interval, B − A (paired prompt by prompt when the runs
|
|
197
|
+
share prompts), its flags, and a way into each run at that site.
|
|
198
|
+
- **Single-key shortcuts can be turned off**, in the shortcuts list or the command palette, for
|
|
199
|
+
speech input or keys pressed by accident. Shortcuts with Ctrl or ⌘, the arrow keys and Esc keep
|
|
200
|
+
working.
|
|
201
|
+
|
|
202
|
+
### Changed
|
|
203
|
+
|
|
204
|
+
- **The result first:** the Results heatmap starts on the first screen, right under the run's
|
|
205
|
+
figures; the corrections for testing many sites follow it, with their explanation on request.
|
|
206
|
+
- **The token strip** remembers being hidden or shown, starts hidden on a short window, and stays
|
|
207
|
+
off views that show tokens themselves. Its tokens are one tab stop with arrow keys between them.
|
|
208
|
+
- **One name for every view**, shared by the tabs, the command palette and the keys, and the
|
|
209
|
+
number keys go to the open workspace's tabs (**1** to **5**) instead of seven views across
|
|
210
|
+
workspaces.
|
|
211
|
+
- **The thresholds behind verdicts are stated where the verdict is:** the behavior is present
|
|
212
|
+
above a 0.5 gap, a robustness check holds above a 0.8 rank correlation, and an SAE fits poorly
|
|
213
|
+
under 60% of the variance explained.
|
|
214
|
+
- **Nothing is explained only on hover.** Explanations show on keyboard focus too; a disabled
|
|
215
|
+
button with a reason stays focusable so the reason can be read; choices that can't be made say
|
|
216
|
+
why under them; and what matters (the memory estimate's rows, the flag mark on result maps and
|
|
217
|
+
the forest plot) is written into the page.
|
|
218
|
+
- **Color keeps its job:** focus rings, selection and progress outside a workspace are ink;
|
|
219
|
+
intervals are drawn in a neutral band instead of the evidence pink; callouts and boxed regions
|
|
220
|
+
are set off by hairlines instead of grey.
|
|
221
|
+
- The app follows the computer's light or dark setting until a theme is chosen, so a dark-mode
|
|
222
|
+
user no longer sees it switch to white after it loads.
|
|
223
|
+
- View titles say what the view shows instead of repeating the tab's name.
|
|
224
|
+
- The exported methods paragraph is written in sentences, without raw JSON or true/false values,
|
|
225
|
+
and exported figures have a white background.
|
|
226
|
+
- The baseline's dot plot is one tab stop: the arrow keys go from prompt to prompt and read the
|
|
227
|
+
chosen prompt's values. Every progress bar has a name, and smooth scrolling respects reduced
|
|
228
|
+
motion.
|
|
229
|
+
|
|
230
|
+
## 0.2.0 (2026-10-11)
|
|
231
|
+
|
|
232
|
+
Specs that state every choice, more metrics, circuits, five more tasks, statistics that hold across
|
|
233
|
+
many sites, a Python API and more commands, Gemma Scope 2 and transcoders, and integrated
|
|
234
|
+
gradients, all checked by patching.
|
|
235
|
+
|
|
236
|
+
### Changed
|
|
237
|
+
|
|
238
|
+
- **Specs are version 2.** Every choice that can change a number must be stated: the model's
|
|
239
|
+
revision, dtype, device and weight processing, the dataset's hash and limit, tokenization, the
|
|
240
|
+
metric, the statistics (bootstrap, interval, seed, clustering) and the batch size, and every
|
|
241
|
+
field of an ablation's baseline and a sweep's positions. A version 1 spec still runs: where it
|
|
242
|
+
leaves a choice out, it takes version 1's value, the run's first warning lists each one, and
|
|
243
|
+
`logogram validate` shows the list without running.
|
|
244
|
+
- Spec paths must lie inside the project, and an SAE's revision must be a commit, tag or branch.
|
|
245
|
+
- Seeds must be whole numbers from 0 to 2³² − 1; a negative or huge seed used to crash a run.
|
|
246
|
+
- Sign flips count prompts whose preference for the answer, log P(answer) − log P(distractor),
|
|
247
|
+
changes sign (for single tokens that is the logit difference, as before).
|
|
248
|
+
- Attribution patching no longer reports patched logit differences, probabilities and sign flips
|
|
249
|
+
computed from first-order estimates; like direct logit attribution, it leaves them empty.
|
|
250
|
+
- The count of prompts with an effect of the opposite sign ignores rounding noise, so a site with
|
|
251
|
+
no effect no longer reads as half opposite.
|
|
252
|
+
- Steering compares each strength with its random control prompt by prompt, from the same
|
|
253
|
+
resamples, and doing significantly *less* than the control no longer counts as beating it.
|
|
254
|
+
|
|
255
|
+
### Added
|
|
256
|
+
|
|
257
|
+
- **Metrics:** the log-probability difference, the answer's log-probability, its probability,
|
|
258
|
+
the probability difference and the KL divergence from the clean or corrupt prompt's next-token
|
|
259
|
+
distribution, beside the logit difference. Every run also keeps each prompt's answer
|
|
260
|
+
probability and preference.
|
|
261
|
+
- **Answer sets and continuations:** an answer or distractor can be a list of single tokens, read
|
|
262
|
+
as one answer (every later year in greater-than), or text of several tokens, read token by
|
|
263
|
+
token. Patching at every position covers the continuation too.
|
|
264
|
+
- **Sets of sites:** intervene on several sites at once, or on everything except a set ("keep
|
|
265
|
+
the circuit, replace the rest"), and read each set's faithfulness (how much of the behavior the
|
|
266
|
+
kept sites carry alone), the share of removing a set (how complete a circuit is), the
|
|
267
|
+
faithfulness each site adds (minimality) and the interaction of two sites, all with intervals.
|
|
268
|
+
- **Tasks:** seeded datasets for greater-than, docstring, gendered pronouns, subject–verb
|
|
269
|
+
agreement and capital cities, beside IOI, each with templates of one token length, named
|
|
270
|
+
positions and the metric that reads them, from the app, `logogram generate` or Python.
|
|
271
|
+
- **Integrated gradients** for attribution patching (as in EAP-IG): the gradient is averaged over
|
|
272
|
+
steps between the two prompts' embeddings, which corrects much of what one gradient misses.
|
|
273
|
+
Its estimates are verified by patching like any others.
|
|
274
|
+
- **Statistics across many sites:** simultaneous bands that hold for every site of a sweep at
|
|
275
|
+
once, Benjamini–Hochberg q-values, a bootstrap that resamples clusters of prompts (such as
|
|
276
|
+
templates, with a warning when there are too few), and paired differences between two runs on
|
|
277
|
+
the same prompts.
|
|
278
|
+
- **The every-feature sweep can choose its strongest features on a seeded share of the prompts
|
|
279
|
+
and report them on the rest**, so their effects aren't biased by the choice.
|
|
280
|
+
- **Gemma Scope 2** SAEs and transcoders (`config.json` and `params.safetensors`), EleutherAI
|
|
281
|
+
transcoders, and SAEs on attention heads' outputs. Transcoder features are read from an MLP's
|
|
282
|
+
input and patched in its output.
|
|
283
|
+
- **A Python API for notebooks:** `logogram.run`, `load_run`, `list_runs`, `compare_runs`,
|
|
284
|
+
`verify_run`, `check_robustness`, `generate` and `write_dataset`, with tables as pandas or
|
|
285
|
+
Arrow and runs that show their heatmap in a notebook. Importing `logogram` loads no PyTorch.
|
|
286
|
+
- **Commands:** `list`, `show`, `compare`, `diff`, `verify`, `robustness`, `export`, `validate`,
|
|
287
|
+
`tasks` and `generate`.
|
|
288
|
+
- **In the app,** every new choice is in the experiment form, which says before a run what the
|
|
289
|
+
prompts and the method allow; staged sites can be tested as a circuit, two sites checked for
|
|
290
|
+
their interaction, and a run's strongest sites tested as nested circuits, with a chart of
|
|
291
|
+
faithfulness against circuit size; results show simultaneous bands, q-values, clusters and
|
|
292
|
+
paired comparisons; and **Prompts → Generate a task** writes any task's dataset and offers the
|
|
293
|
+
metric that reads it.
|
|
294
|
+
- **The web app** contains errors to the part of the page that failed, with a way to reload it
|
|
295
|
+
and copy the details; undoes and redoes changes to the experiment form (Ctrl/⌘ Z), says when an
|
|
296
|
+
action replaces the form and offers to undo it, and keeps an unsaved form for each project; asks
|
|
297
|
+
before cancelling a run; and lists every shortcut on **?**. Radio groups take one tab stop and
|
|
298
|
+
arrow keys, form fields have visible edges in both themes, and the status line announces a
|
|
299
|
+
run's milestones rather than every tick.
|
|
300
|
+
|
|
301
|
+
### Fixed
|
|
302
|
+
|
|
303
|
+
- **Path patching with head receivers and the logits receiver measured only the logits path.**
|
|
304
|
+
The logits receiver now adds its change to what the head receivers changed, so the two together
|
|
305
|
+
measure both paths (checked against each alone).
|
|
306
|
+
- A metric or gap that isn't a finite number, as a 16-bit overflow gives, stops the run with the
|
|
307
|
+
reason instead of finishing with empty effects; patched values that aren't finite are reported.
|
|
308
|
+
- A failed run's saved error no longer contains this machine's paths (the home folder, the
|
|
309
|
+
Hugging Face cache or the project folder).
|
|
310
|
+
- Running out of memory during a run says to lower `execution.batch_size`, and frees the memory.
|
|
311
|
+
- Memory: gradient methods no longer keep what weight gradients would need; attribution patching
|
|
312
|
+
computes each layer's terms once per batch instead of once per site; on a GPU, a layer's
|
|
313
|
+
captured activations move to CPU memory when they would take more than a quarter of what is
|
|
314
|
+
free; an SAE's fit is measured a chunk of tokens at a time; and the memory estimate counts what
|
|
315
|
+
gradient methods and path patching hold.
|
|
316
|
+
- A deeply nested or very large file in a shared project no longer stops the project or its
|
|
317
|
+
history from opening; it shows up as an error on that run or dataset.
|
|
318
|
+
- The server checks which project a tab shows on the SAE routes too, a tab whose session has
|
|
319
|
+
expired stops reconnecting, unloading a model waits for work in progress, and cancelling a run
|
|
320
|
+
no longer waits behind queued analyses.
|
|
321
|
+
- The token strip shows a run's own prompts again when you return to its results, instead of
|
|
322
|
+
the experiment form's.
|
|
323
|
+
- Heatmaps and the model map draw hover and selection on a layer of their own, and find cells
|
|
324
|
+
through a map, so large sweeps no longer redraw everything on every mouse move.
|
|
325
|
+
- Every view has one top-level heading, with the headings below it in order, and the inspector's
|
|
326
|
+
resize handle belongs to the inspector, so screen reader users can move through each page by
|
|
327
|
+
its headings and landmarks.
|
|
328
|
+
- Pydantic before 2.10 no longer warns about a field named `model_id` when Logogram starts.
|
|
329
|
+
- Text on data colors (heatmap values, the model map's labels and a feature's token highlights)
|
|
330
|
+
is black or white, whichever contrasts more; some mid-tone cells in the black theme had light
|
|
331
|
+
text below the 4.5:1 that small text needs.
|
|
332
|
+
|
|
333
|
+
### Development
|
|
334
|
+
|
|
335
|
+
- **A weekly check against published results:** the Golden workflow runs every method on GPT-2
|
|
336
|
+
small's real weights and checks the bundled example against its indirect-object circuit (Wang
|
|
337
|
+
et al. 2022): the name movers, S-inhibition and induction heads restore the answer, the negative
|
|
338
|
+
name movers work against it, and the name movers write the answer most directly.
|
|
339
|
+
- CI type-checks the package with pyright, lints with ruff's security, async and blind-except
|
|
340
|
+
rules too, checks the lockfile, keeps coverage at 85% or more, tests at the lowest declared
|
|
341
|
+
dependency versions, audits Python and web dependencies, and pins its actions to commits;
|
|
342
|
+
Dependabot and CodeQL watch them. Typer 0.13 or later is required.
|
|
343
|
+
- The browser checks also run in the dark theme, and an axe scan of every view fails on any
|
|
344
|
+
accessibility violation. The inspector's resize handle now says its width to assistive
|
|
345
|
+
technology, and commands wider than their box can be scrolled from the keyboard.
|
|
346
|
+
- The privacy check also reads binary files and catches more home paths and short usernames.
|
|
347
|
+
- What 0.2 added was checked on GPT-2 small's real weights (see Models in the README).
|
|
348
|
+
|
|
349
|
+
## 0.1.2 (2026-10-08)
|
|
350
|
+
|
|
351
|
+
Fixes and checks that came out of validating every method on real weights.
|
|
352
|
+
|
|
353
|
+
### Changed
|
|
354
|
+
|
|
355
|
+
- On Apple Silicon, **Automatic** runs models on the CPU. TransformerLens reports that Apple's MPS
|
|
356
|
+
can give silently wrong results, and Logogram hasn't been checked on it yet, so MPS runs only when
|
|
357
|
+
you choose it; the system check and the model dialog say why.
|
|
358
|
+
|
|
359
|
+
### Added
|
|
360
|
+
|
|
361
|
+
- **Check robustness** reruns a float16 or bfloat16 run in float32 and compares the two.
|
|
362
|
+
- When processing a model's weights is what doesn't fit, the model dialog offers to turn it off.
|
|
363
|
+
- When a generated IOI dataset has names the loaded model splits into several tokens, one click
|
|
364
|
+
makes a new one with names it doesn't.
|
|
365
|
+
- Steering results say when the direction does no more than its random control at any site and
|
|
366
|
+
strength.
|
|
367
|
+
- Attribution patching of residual stream sites warns that it can miss effects there, and that
|
|
368
|
+
**Check robustness** patches every site.
|
|
369
|
+
- `scripts/validate_real_weights.py` runs every method on a real model and checks identities,
|
|
370
|
+
agreement and bit-identical reruns, on one device or two. It is how a release, or Apple's MPS, is
|
|
371
|
+
checked.
|
|
372
|
+
|
|
373
|
+
### Fixed
|
|
374
|
+
|
|
375
|
+
- The baseline says that the clean prompts prefer the distractor, instead of preferring the answer
|
|
376
|
+
by a negative amount.
|
|
377
|
+
|
|
378
|
+
### Development
|
|
379
|
+
|
|
380
|
+
- Tests run on Python 3.14 too, and the Linux runners are pinned to Ubuntu 24.04.
|
|
381
|
+
- The test client uses httpx2, as Starlette recommends.
|
|
382
|
+
|
|
383
|
+
## 0.1.1 (2026-10-08)
|
|
384
|
+
|
|
385
|
+
Every method has now run end to end on real weights: GPT-2 small with a SAELens and an OpenAI
|
|
386
|
+
SAE, Pythia-70m with an EleutherAI SAE, and Qwen 2.5 0.5B. This release fixes what that turned up.
|
|
387
|
+
|
|
388
|
+
### Fixed
|
|
389
|
+
|
|
390
|
+
- Runs work on Apple Silicon. Every method converted tensors to float64 on the model's device,
|
|
391
|
+
which Apple's Metal (MPS) doesn't have, so no run got past its baseline on a Mac. This still
|
|
392
|
+
needs a check on a Mac.
|
|
393
|
+
- A model whose own forward pass overflows in the chosen dtype (Pythia in float16) is refused, with
|
|
394
|
+
the dtype to use. Its load checks used to read as passed.
|
|
395
|
+
- When processing a model's weights doesn't fit in memory, loading says so and frees the memory,
|
|
396
|
+
instead of failing with a raw CUDA error and keeping it.
|
|
397
|
+
- The memory estimate counts weight processing, which needs three to four times the float32 size
|
|
398
|
+
of the weights while the model loads. Qwen 2.5 0.5B on a 6 GB GPU now reads "won't fit" with
|
|
399
|
+
processing and "fits" without it.
|
|
400
|
+
- Models without a beginning-of-sequence token, such as Qwen, run without one, as documented.
|
|
401
|
+
TransformerLens 4 had given them its end-of-text token instead.
|
|
402
|
+
- Models and SAEs that Logogram downloaded open offline without a revision, and offline memory
|
|
403
|
+
estimates use the model's real size.
|
|
404
|
+
- `logogram run` reports an identical rerun of direct logit attribution or attribution patching as
|
|
405
|
+
identical.
|
|
406
|
+
- Direct logit attribution in float16 and bfloat16 no longer warns about drift that is only
|
|
407
|
+
rounding.
|
|
408
|
+
|
|
409
|
+
### Added
|
|
410
|
+
|
|
411
|
+
- Runs warn when the model prefers the distractor on the clean prompts, so it doesn't show the
|
|
412
|
+
behavior they test (Pythia-70m on IOI).
|
|
413
|
+
- The model dialog shows the memory that weight processing needs. Qwen 2.5 0.5B is marked as
|
|
414
|
+
tested.
|
|
415
|
+
- Project links on PyPI, and this changelog, which the update notice links to.
|
|
416
|
+
|
|
417
|
+
### Documentation
|
|
418
|
+
|
|
419
|
+
- What has been validated with real weights, and where attribution patching is least reliable:
|
|
420
|
+
residual stream sites at the token that differs between the prompts.
|
|
421
|
+
- Steering needs prompt pairs that differ the same way; IOI prompts that mix the ABBA and BABA
|
|
422
|
+
orders cancel out.
|
|
423
|
+
- What float16 and bfloat16 do to results, and how weight processing changes heads' direct effects.
|
|
424
|
+
|
|
425
|
+
## 0.1.0 (2026-10-08)
|
|
426
|
+
|
|
427
|
+
First public release.
|
|
428
|
+
|
|
429
|
+
- Activation patching, ablation (zero, mean or resample), direct logit attribution, attribution
|
|
430
|
+
patching verified by patching, steering with a random control, path patching, and SAE features,
|
|
431
|
+
all described by one spec that the app and `logogram run` execute the same way.
|
|
432
|
+
- Every model is checked when it loads: that TransformerLens reproduces its predictions, how its
|
|
433
|
+
layers add into the residual stream, and whether the logit lens reproduces its output.
|
|
434
|
+
- Per-prompt values with seeded bootstrap intervals, and bit-identical reruns on the same machine.
|
|
435
|
+
- The workbench: Explore, Experiment and Evidence, logograms written by results, robustness checks
|
|
436
|
+
and run comparisons.
|
|
437
|
+
- Local-first: no account and no telemetry, safetensors weights only, and an update check that
|
|
438
|
+
runs only when you allow it.
|