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
ac29353a
Unverified
Commit
ac29353a
authored
Oct 31, 2019
by
cregouby
Committed by
GitHub
Oct 31, 2019
Browse files
Fix
https://github.com/huggingface/transformers/issues/1673
parent
fa735208
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
transformers/modeling_utils.py
transformers/modeling_utils.py
+1
-0
No files found.
transformers/modeling_utils.py
View file @
ac29353a
...
@@ -284,6 +284,7 @@ class PreTrainedModel(nn.Module):
...
@@ -284,6 +284,7 @@ class PreTrainedModel(nn.Module):
pretrained_model_name_or_path
,
*
model_args
,
pretrained_model_name_or_path
,
*
model_args
,
cache_dir
=
cache_dir
,
return_unused_kwargs
=
True
,
cache_dir
=
cache_dir
,
return_unused_kwargs
=
True
,
force_download
=
force_download
,
force_download
=
force_download
,
proxies
=
proxies
,
**
kwargs
**
kwargs
)
)
else
:
else
:
...
...
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