concept-direction / README.md
speediedan's picture
Ship the experiment's model specs, and require prompt-configs instead of rte (interpretune/examples#25)
918410d verified
|
Raw History Blame Contribute Delete
2.72 kB
---
library_name: interpretune
license: apache-2.0
tags:
- interpretune
- interpretune-experiment
- interpretune-helpers
---
# concept-direction
An interpretune component collection (concept-direction).
An [interpretune](https://github.com/interpretune/interpretune) component repo (kinds: experiment, helpers; manifest schema v1).
## Supplementary files
- `tests/test_concept_displays.py`
- `tests/test_jlens_direction_validation.py`
- `tests/test_latent_dynamics_stages.py`
- `tests/test_component_requirements.py`
- `tests/test_model_specs.py`
- `tests/test_steering_demo_helpers.py`
- `tests/test_steering_scale_sweep.py`
- `tests/test_template_imports.py`
- `tests/test_token_positions.py`
Declared in the manifest's `extra_files` and published by the same builder as the payloads. The
published tree is the manifest's allowlist plus these; anything else present arrived out of band.
## Helper modules
- `concept_displays`: `concept_displays.py`
- `steering_demo_helpers`: `steering_demo_helpers.py`
Fetch with `interpretune.hub.pull("<org>/<repo>")`, then import one with
`interpretune.hub.load_helpers("<org>/<repo>", "<name>")`. Loading runs this repo's code, so it needs
the `IT_TRUST_REMOTE_CODE` opt-in.
## Experiment definitions
- `gemma3_1b_it_local_color_fruit_orange`: `concept_direction/configs/gemma3_1b_it_local_color_fruit_orange.yaml`
- `gemma3_1b_it_local_color_fruit_orange_fs_l10_n5`: `concept_direction/configs/gemma3_1b_it_local_color_fruit_orange_fs_l10_n5.yaml`
- `gemma3_1b_it_local_color_fruit_orange_fs_l10_n5_answer_basis`: `concept_direction/configs/gemma3_1b_it_local_color_fruit_orange_fs_l10_n5_answer_basis.yaml`
- `gemma3_1b_it_local_color_fruit_orange_fs_l10_n5_s5`: `concept_direction/configs/gemma3_1b_it_local_color_fruit_orange_fs_l10_n5_s5.yaml`
- `gemma3_1b_it_local_color_fruit_orange_fs_l10_n5_s5_any`: `concept_direction/configs/gemma3_1b_it_local_color_fruit_orange_fs_l10_n5_s5_any.yaml`
- `gemma3_1b_it_local_color_fruit_orange_fs_l10_n5_s5_pos_noact_constrained`: `concept_direction/configs/gemma3_1b_it_local_color_fruit_orange_fs_l10_n5_s5_pos_noact_constrained.yaml`
- `gemma3_1b_it_local_color_fruit_orange_signed_fs_l10_n5`: `concept_direction/configs/gemma3_1b_it_local_color_fruit_orange_signed_fs_l10_n5.yaml`
- `gemma3_1b_it_local_latent_dynamics_color_fruit_orange_fs_l10_n5`: `concept_direction/configs/gemma3_1b_it_local_latent_dynamics_color_fruit_orange_fs_l10_n5.yaml`
Fetch with `interpretune.hub.pull_experiment("<org>/<repo>", "<name>")` (manifest-first, revision-pinned, parity-checked on filename, key, and EXPERIMENT_NAME), then drive with the notebook harness launcher. A relative EXTENDS resolves inside the cached revision only.