We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The first example in the README could use some introduction to make sense of the interface, e.g :
b
s
zeroout_intervention_fn
intervention
def zeroout_intervention_fn(b, s): b[:,3] = 0. # 3rd position return b pv_model = pv.IntervenableModel({ "component": "model.layers[15].mlp.output", # string access "intervention": zeroout_intervention_fn}, model=model)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Suggestion / Feature Request
The first example in the README could use some introduction to make sense of the interface, e.g :
b
ands
ofzeroout_intervention_fn
?intervention
field of the configuration dict always a binary function?The text was updated successfully, but these errors were encountered: