Skip to content

Commit

Permalink
Merge pull request #186 from stanfordnlp/zen/quick_fix
Browse files Browse the repository at this point in the history
[Minor] Fix intervention return objects
  • Loading branch information
frankaging committed Sep 6, 2024
2 parents d4ca094 + 95b74ee commit 76bb067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvene/models/interventions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class InterventionOutput(ModelOutput):
Output of the IntervenableModel, including original outputs, intervened outputs, and collected activations.
"""
output: Optional[Any] = None
loss: Optional[Any] = None
latent: Optional[Any] = None


class Intervention(torch.nn.Module):
Expand Down

0 comments on commit 76bb067

Please sign in to comment.