Skip to content

Commit

Permalink
Update src/transformers/convert_slow_tokenizer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker authored Jan 18, 2024
1 parent 06260b1 commit 39e0faf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/transformers/convert_slow_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,6 @@ def tokenizer(self, proto):
def normalizer(self, proto):
precompiled_charsmap = proto.normalizer_spec.precompiled_charsmap
_normalizers = [
normalizers.Strip(left=False, right=True),
normalizers.Replace(Regex(" {2,}"), "▁"),
]
if not precompiled_charsmap:
Expand Down

0 comments on commit 39e0faf

Please sign in to comment.