mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-03 03:31:05 +06:00
Add tokenizer_file parameter to PreTrainedTokenizerFast docstring (#12624)
Co-authored-by: Lewis Bails <Lewis.Bails@infomedia.dk>
This commit is contained in:
parent
f8f9a679a0
commit
a882b9facb
@ -59,6 +59,9 @@ INIT_TOKENIZER_DOCSTRING += """
|
||||
tokenizer_object (:class:`tokenizers.Tokenizer`):
|
||||
A :class:`tokenizers.Tokenizer` object from 🤗 tokenizers to instantiate from. See :doc:`Using tokenizers
|
||||
from 🤗 tokenizers <../fast_tokenizers>` for more information.
|
||||
tokenizer_file (:class:`str`):
|
||||
A path to a local JSON file representing a previously serialized :class:`tokenizers.Tokenizer` object from
|
||||
🤗 tokenizers.
|
||||
"""
|
||||
|
||||
MODEL_TO_TRAINER_MAPPING = {
|
||||
|
Loading…
Reference in New Issue
Block a user