Skip to Content

Steer — RFD3

Add or ablate directions in the RFD3 residual stream during partial diffusion. See Steering for the full tutorial.

saffron steer model=rfd3 \ hooks=rfd3_partial \ steering=sae_block12_f639 \ inputs=my_designs.json \ out_dir=outputs/steer/run1

Steering config groups

NameModeEffect
nonePass-through (no steering)
sae_block12_f639sae_featureAdd feature #639 direction (α=5.0)
ablate_block12_f639sae_featureProject feature #639 out
null_block12_f639sae_featureα=0 regression check
raw_diff_block12raw_diffAdd mean(pos)−mean(neg) direction (c=3.0)

inputs.json format

{ "design_001": { "input": "/path/to/structure.pdb", "partial_t": 5.0 }, "design_002": { "input": "/path/to/another.pdb", "partial_t": 5.0 } }
Last updated on