Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
54c687e9
Unverified
Commit
54c687e9
authored
Aug 13, 2020
by
Prajjwal Bhargava
Committed by
GitHub
Aug 13, 2020
Browse files
typo fix (#6462)
parent
9d94aecd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/modeling_utils.py
src/transformers/modeling_utils.py
+1
-1
No files found.
src/transformers/modeling_utils.py
View file @
54c687e9
...
...
@@ -885,7 +885,7 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin):
else
:
logger
.
info
(
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 c
k
eckpoint was trained on, "
f
"If your task is similar to the task the model of the c
h
eckpoint was trained on, "
f
"you can already use
{
model
.
__class__
.
__name__
}
for predictions without further training."
)
if
len
(
error_msgs
)
>
0
:
...
...
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