Unverified Commit d96098c6 authored by Joao Gante's avatar Joao Gante Committed by GitHub
Browse files

CLI: update hub PR URL (#21154)

parent f3feaf7f
......@@ -359,7 +359,7 @@ class PTtoTFCommand(BaseTransformersCLICommand):
commit_descrition = (
"Model converted by the [`transformers`' `pt_to_tf`"
" 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 Pytorch counterpart.\n\n"
"All converted model outputs and hidden layers were validated against its PyTorch counterpart.\n\n"
f"Maximum crossload output difference={max_crossload_output_diff:.3e}; "
f"Maximum crossload hidden layer difference={max_crossload_hidden_diff:.3e};\n"
f"Maximum conversion output difference={max_conversion_output_diff:.3e}; "
......@@ -391,5 +391,5 @@ class PTtoTFCommand(BaseTransformersCLICommand):
commit_description=commit_descrition,
repo_type="model",
create_pr=True,
)
).pr_url
self._logger.warning(f"PR open in {hub_pr_url}")
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