Unverified Commit aada568f authored by Albert Villanova del Moral's avatar Albert Villanova del Moral Committed by GitHub
Browse files

Fix PretrainedConfig docstring with deprecated resume_download (#31014)

parent 3af7bf30
...@@ -536,9 +536,9 @@ class PretrainedConfig(PushToHubMixin): ...@@ -536,9 +536,9 @@ class PretrainedConfig(PushToHubMixin):
force_download (`bool`, *optional*, defaults to `False`): force_download (`bool`, *optional*, defaults to `False`):
Whether or not to force to (re-)download the configuration files and override the cached versions if Whether or not to force to (re-)download the configuration files and override the cached versions if
they exist. they exist.
resume_download (`bool`, *optional*, defaults to `False`): resume_download:
Whether or not to delete incompletely received file. Attempts to resume the download if such a file Deprecated and ignored. All downloads are now resumed by default when possible.
exists. Will be removed in v5 of Transformers.
proxies (`Dict[str, str]`, *optional*): proxies (`Dict[str, str]`, *optional*):
A dictionary of proxy servers to use by protocol or endpoint, e.g., `{'http': 'foo.bar:3128', A dictionary of proxy servers to use by protocol or endpoint, e.g., `{'http': 'foo.bar:3128',
'http://hostname': 'foo.bar:4012'}.` The proxies are used on each request. 'http://hostname': 'foo.bar:4012'}.` The proxies are used on each request.
......
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