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
"tests/quantization/vscode:/vscode.git/clone" did not exist on "5ce90f32122f98942e3b54f0c4fbc3b393b396aa"
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
Show 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):
r
"""
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.
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