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
9586e222
Unverified
Commit
9586e222
authored
May 02, 2022
by
Martin Pömsl
Committed by
GitHub
May 02, 2022
Browse files
Fix typo in RetriBERT docstring (#17018)
parent
93b802c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/retribert/tokenization_retribert.py
src/transformers/models/retribert/tokenization_retribert.py
+1
-1
No files found.
src/transformers/models/retribert/tokenization_retribert.py
View file @
9586e222
...
@@ -42,7 +42,7 @@ class RetriBertTokenizer(BertTokenizer):
...
@@ -42,7 +42,7 @@ class RetriBertTokenizer(BertTokenizer):
r
"""
r
"""
Constructs a RetriBERT tokenizer.
Constructs a RetriBERT tokenizer.
[`Retr
o
BertTokenizer`] is identical to [`BertTokenizer`] and runs end-to-end tokenization: punctuation splitting
[`Retr
i
BertTokenizer`] is identical to [`BertTokenizer`] and runs end-to-end tokenization: punctuation splitting
and wordpiece.
and wordpiece.
Refer to superclass [`BertTokenizer`] for usage examples and documentation concerning parameters.
Refer to superclass [`BertTokenizer`] for usage examples and documentation concerning parameters.
...
...
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