Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
aada568f
Unverified
Commit
aada568f
authored
May 28, 2024
by
Albert Villanova del Moral
Committed by
GitHub
May 28, 2024
Browse files
Fix PretrainedConfig docstring with deprecated resume_download (#31014)
parent
3af7bf30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/transformers/configuration_utils.py
src/transformers/configuration_utils.py
+3
-3
No files found.
src/transformers/configuration_utils.py
View file @
aada568f
...
@@ -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 fi
le
Deprecated and ignored. All downloads are now resumed by default when possib
le
.
exist
s.
Will be removed in v5 of Transformer
s.
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment