mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Fix docstring of train_new_from_iterator
This commit is contained in:
parent
86a154722f
commit
a13c8145bc
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user