mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-01 18:51:14 +06:00
typo fix (#6462)
This commit is contained in:
parent
9d94aecd51
commit
54c687e97c
@ -885,7 +885,7 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin):
|
|||||||
else:
|
else:
|
||||||
logger.info(
|
logger.info(
|
||||||
f"All the weights of {model.__class__.__name__} were initialized from the model checkpoint at {pretrained_model_name_or_path}.\n"
|
f"All the weights of {model.__class__.__name__} were initialized from the model checkpoint at {pretrained_model_name_or_path}.\n"
|
||||||
f"If your task is similar to the task the model of the ckeckpoint was trained on, "
|
f"If your task is similar to the task the model of the checkpoint was trained on, "
|
||||||
f"you can already use {model.__class__.__name__} for predictions without further training."
|
f"you can already use {model.__class__.__name__} for predictions without further training."
|
||||||
)
|
)
|
||||||
if len(error_msgs) > 0:
|
if len(error_msgs) > 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user