Skip to content

Commit

Permalink
remove tokenizer_file from herbert slow tokenizer init
Browse files Browse the repository at this point in the history
  • Loading branch information
SaulLu committed Jan 27, 2022
1 parent da08953 commit f5e1000
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/transformers/models/herbert/tokenization_herbert.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def __init__(
self,
vocab_file,
merges_file,
tokenizer_file=None,
cls_token="<s>",
unk_token="<unk>",
pad_token="<pad>",
Expand All @@ -75,7 +74,6 @@ def __init__(
super().__init__(
vocab_file,
merges_file,
tokenizer_file=None,
cls_token=cls_token,
unk_token=unk_token,
pad_token=pad_token,
Expand Down

0 comments on commit f5e1000

Please sign in to comment.