-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
outsource
PieModelHFHubMixin.load_model_file
(#433)
* outsource PieModelHFHubMixin.load_weights * fiy typing * parametrize weights_file_name * use weights_file_name from loaded model * adjust AutoModel._from_pretrained * fix PieModelHFHubMixin.load_weights * rename PieModelHFHubMixin.load_weights() to load_model_file() * implement PieModelHFHubMixin.save_model_file() for completion
- Loading branch information
1 parent
b62b931
commit 00cd802
Showing
2 changed files
with
43 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters