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
90ec78b5
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "972535ea74c7b30987bc31c6621a2bbb58f82ca6"
Unverified
Commit
90ec78b5
authored
Sep 07, 2020
by
Jangwon Park
Committed by
GitHub
Sep 07, 2020
Browse files
Add missing arguments for BertWordPieceTokenizer (#5810)
parent
77cd0e13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/transformers/tokenization_bert.py
src/transformers/tokenization_bert.py
+2
-0
No files found.
src/transformers/tokenization_bert.py
View file @
90ec78b5
...
@@ -632,6 +632,8 @@ class BertTokenizerFast(PreTrainedTokenizerFast):
...
@@ -632,6 +632,8 @@ class BertTokenizerFast(PreTrainedTokenizerFast):
unk_token
=
unk_token
,
unk_token
=
unk_token
,
sep_token
=
sep_token
,
sep_token
=
sep_token
,
cls_token
=
cls_token
,
cls_token
=
cls_token
,
pad_token
=
pad_token
,
mask_token
=
mask_token
,
clean_text
=
clean_text
,
clean_text
=
clean_text
,
handle_chinese_chars
=
tokenize_chinese_chars
,
handle_chinese_chars
=
tokenize_chinese_chars
,
strip_accents
=
strip_accents
,
strip_accents
=
strip_accents
,
...
...
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