mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
CLI: update hub PR URL (#21154)
This commit is contained in:
parent
f3feaf7f22
commit
d96098c641
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user