Skip to content

Commit

Permalink
[Bug fix] Fixed value for BlenderBot pad token (huggingface#8205)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-be authored and fabiocapsouza committed Nov 15, 2020
1 parent bafea32 commit 1cf39e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/tokenization_blenderbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __init__(
bos_token="__start__",
eos_token="__end__",
unk_token="__unk__",
pad_token="__null",
pad_token="__null__",
**kwargs
):
super().__init__(unk_token=unk_token, bos_token=bos_token, eos_token=eos_token, pad_token=pad_token, **kwargs)
Expand Down

0 comments on commit 1cf39e7

Please sign in to comment.