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
a13c8145
Unverified
Commit
a13c8145
authored
Aug 13, 2021
by
Omar Sanseviero
Committed by
GitHub
Aug 13, 2021
Browse files
Fix docstring of train_new_from_iterator
parent
86a15472
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/tokenization_utils_fast.py
src/transformers/tokenization_utils_fast.py
+1
-1
No files found.
src/transformers/tokenization_utils_fast.py
View file @
a13c8145
...
...
@@ -587,7 +587,7 @@ class PreTrainedTokenizerFast(PreTrainedTokenizerBase):
text_iterator (generator of :obj:`List[str]`):
The training corpus. Should be a generator of batches of texts, for instance a list of lists of texts
if you have everything in memory.
vocab_size (obj:`int`):
vocab_size (
:
obj:`int`):
The size of the vocabulary you want for your tokenizer.
new_special_tokens (list of :obj:`str` or :obj:`AddedToken`, `optional`):
A list of new special tokens to add to the tokenizer you are training.
...
...
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