mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
parent
15adc24208
commit
5db9abde43
@ -244,7 +244,7 @@ class Trainer:
|
||||
`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.
|
||||
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
|
||||
interrupted training or reuse the fine-tuned model.
|
||||
model_init (`Callable[[], PreTrainedModel]`, *optional*):
|
||||
|
Loading…
Reference in New Issue
Block a user