Unverified Commit 5db9abde authored by TK Buristrakul's avatar TK Buristrakul Committed by GitHub
Browse files

Fixed typo in docstring (#21115)

Fixed typo
parent 15adc242
...@@ -244,7 +244,7 @@ class Trainer: ...@@ -244,7 +244,7 @@ class Trainer:
`model.forward()` method are automatically removed. If it is a dictionary, it will evaluate on each `model.forward()` method are automatically removed. If it is a dictionary, it will evaluate on each
dataset prepending the dictionary key to the metric name. dataset prepending the dictionary key to the metric name.
tokenizer ([`PreTrainedTokenizerBase`], *optional*): tokenizer ([`PreTrainedTokenizerBase`], *optional*):
The tokenizer used to preprocess the data. If provided, will be used to automatically pad the inputs the The tokenizer used to preprocess the data. If provided, will be used to automatically pad the inputs to the
maximum length when batching inputs, and it will be saved along the model to make it easier to rerun an maximum length when batching inputs, and it will be saved along the model to make it easier to rerun an
interrupted training or reuse the fine-tuned model. interrupted training or reuse the fine-tuned model.
model_init (`Callable[[], PreTrainedModel]`, *optional*): model_init (`Callable[[], PreTrainedModel]`, *optional*):
......
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