Skip to content

Commit

Permalink
Update tests/test_tokenize_v3.py
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickvonplaten authored Jul 20, 2024
1 parent 2e41e7a commit 8434ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tokenize_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def tokenizer() -> InstructTokenizer:

def tekken_tokenizer() -> InstructTokenizer:
tekken = MistralTokenizer.v3(is_tekken=True).instruct_tokenizer
tekken.tokenizer.special_token_policy = SpecialTokenPolicy.IGNORE # type: ignore
tekken.tokenizer.special_token_policy = SpecialTokenPolicy.IGNORE # type: ignore
return tekken


Expand Down

0 comments on commit 8434ee6

Please sign in to comment.