Skip to content

Commit

Permalink
ignore type eror
Browse files Browse the repository at this point in the history
  • Loading branch information
jbloom-md committed Mar 28, 2024
1 parent 67dfb46 commit e87198b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sae_training/activations_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def _get_next_dataset_tokens(self) -> torch.Tensor:
)
if (
not self.cfg.prepend_bos
and tokens[0] == self.model.tokenizer.bos_token_id
and tokens[0] == self.model.tokenizer.bos_token_id # type: ignore
):
tokens = tokens[1:]
return tokens

0 comments on commit e87198b

Please sign in to comment.