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
d96098c6
Unverified
Commit
d96098c6
authored
Jan 17, 2023
by
Joao Gante
Committed by
GitHub
Jan 17, 2023
Browse files
CLI: update hub PR URL (#21154)
parent
f3feaf7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/commands/pt_to_tf.py
src/transformers/commands/pt_to_tf.py
+2
-2
No files found.
src/transformers/commands/pt_to_tf.py
View file @
d96098c6
...
@@ -359,7 +359,7 @@ class PTtoTFCommand(BaseTransformersCLICommand):
...
@@ -359,7 +359,7 @@ class PTtoTFCommand(BaseTransformersCLICommand):
commit_descrition
=
(
commit_descrition
=
(
"Model converted by the [`transformers`' `pt_to_tf`"
"Model converted by the [`transformers`' `pt_to_tf`"
" CLI](https://github.com/huggingface/transformers/blob/main/src/transformers/commands/pt_to_tf.py). "
" CLI](https://github.com/huggingface/transformers/blob/main/src/transformers/commands/pt_to_tf.py). "
"All converted model outputs and hidden layers were validated against its Py
t
orch counterpart.
\n\n
"
"All converted model outputs and hidden layers were validated against its Py
T
orch counterpart.
\n\n
"
f
"Maximum crossload output difference=
{
max_crossload_output_diff
:.
3
e
}
; "
f
"Maximum crossload output difference=
{
max_crossload_output_diff
:.
3
e
}
; "
f
"Maximum crossload hidden layer difference=
{
max_crossload_hidden_diff
:.
3
e
}
;
\n
"
f
"Maximum crossload hidden layer difference=
{
max_crossload_hidden_diff
:.
3
e
}
;
\n
"
f
"Maximum conversion output difference=
{
max_conversion_output_diff
:.
3
e
}
; "
f
"Maximum conversion output difference=
{
max_conversion_output_diff
:.
3
e
}
; "
...
@@ -391,5 +391,5 @@ class PTtoTFCommand(BaseTransformersCLICommand):
...
@@ -391,5 +391,5 @@ class PTtoTFCommand(BaseTransformersCLICommand):
commit_description
=
commit_descrition
,
commit_description
=
commit_descrition
,
repo_type
=
"model"
,
repo_type
=
"model"
,
create_pr
=
True
,
create_pr
=
True
,
)
)
.
pr_url
self
.
_logger
.
warning
(
f
"PR open in
{
hub_pr_url
}
"
)
self
.
_logger
.
warning
(
f
"PR open in
{
hub_pr_url
}
"
)
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