Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
1f12934d
Unverified
Commit
1f12934d
authored
Nov 01, 2020
by
guillaume-be
Committed by
GitHub
Nov 01, 2020
Browse files
[Bug fix] Fixed value for BlenderBot pad token (#8205)
parent
8f1c960e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/tokenization_blenderbot.py
src/transformers/tokenization_blenderbot.py
+1
-1
No files found.
src/transformers/tokenization_blenderbot.py
View file @
1f12934d
...
...
@@ -134,7 +134,7 @@ class BlenderbotSmallTokenizer(PreTrainedTokenizer):
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment