Skip to content

Commit

Permalink
Remove learned steering vector notes
Browse files Browse the repository at this point in the history
  • Loading branch information
gkielian committed Sep 17, 2024
1 parent 9d83fa3 commit f0890e1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions model.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,10 +777,6 @@ def forward(self, idx, targets=None):
else:
x = block(x)

# if layer == 6:
# select nn.Linear of dimension 1x embedding dimension
#x += nn.Linear

# Intercept for Steering Vectors
if self.config.apply_vector_at_layer_idx is not None and layer == self.config.apply_vector_at_layer_idx:
x = self.apply_vector_to_layer_output(x)
Expand Down

0 comments on commit f0890e1

Please sign in to comment.