Skip to content

Commit

Permalink
allow special characters in decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoffatt2 committed Dec 11, 2024
1 parent 9de7104 commit 04312f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/template/tokenizer_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,4 +354,4 @@ def detokenize(self, ids):
Returns:
str: Decoded string.
"""
return self.tokenizer.decode(ids, skip_special_tokens=True)
return self.tokenizer.decode(ids)

0 comments on commit 04312f0

Please sign in to comment.