Skip to content

Commit

Permalink
With save
Browse files Browse the repository at this point in the history
  • Loading branch information
sgugger committed Nov 8, 2021
1 parent c753351 commit 6b47fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/models/auto/auto_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def from_config(cls, config, **kwargs):
if hasattr(config, "auto_map") and cls.__name__ in config.auto_map:
if not trust_remote_code:
raise ValueError(
f"Loading this model requires you to execute the modeling file in that repo "
"Loading this model requires you to execute the modeling file in that repo "
"on your local machine. Make sure you have read the code there to avoid malicious use, then set "
"the option `trust_remote_code=True` to remove this error."
)
Expand Down

0 comments on commit 6b47fa8

Please sign in to comment.