"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "eab5f59682cf197cd5fd19d499b3670dbef67000"
Commit 041a901f authored by Nikolay Korolev's avatar Nikolay Korolev Committed by Julien Chaumond
Browse files

Fix typo in documentation. toto -> to

parent 26db31e0
......@@ -184,7 +184,7 @@ class GPT2Tokenizer(PreTrainedTokenizer):
""" Tokenize a string.
Args:
- add_prefix_space (boolean, default False):
Begin the sentence with at least one space toto get invariance to word order in GPT-2 (and RoBERTa) tokenizers.
Begin the sentence with at least one space to get invariance to word order in GPT-2 (and RoBERTa) tokenizers.
"""
if add_prefix_space:
text = ' ' + text
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment