-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[
core
/ FEAT] Add the possibility to push custom tags using `PreTrai…
…nedModel` itself (#28405) * v1 tags * remove unneeded conversion * v2 * rm unneeded warning * add more utility methods * Update src/transformers/utils/hub.py Co-authored-by: amyeroberts <[email protected]> * Update src/transformers/utils/hub.py Co-authored-by: Lucain <[email protected]> * Update src/transformers/utils/hub.py Co-authored-by: Lucain <[email protected]> * more enhancements * oops * merge tags * clean up * revert unneeded change * add extensive docs * more docs * more kwargs * add test * oops * fix test * Update src/transformers/modeling_utils.py Co-authored-by: Omar Sanseviero <[email protected]> * Update src/transformers/utils/hub.py Co-authored-by: Lucain <[email protected]> * Update src/transformers/modeling_utils.py * Update src/transformers/trainer.py Co-authored-by: amyeroberts <[email protected]> * Update src/transformers/modeling_utils.py Co-authored-by: amyeroberts <[email protected]> * add more conditions * more logic --------- Co-authored-by: amyeroberts <[email protected]> Co-authored-by: Lucain <[email protected]> Co-authored-by: Omar Sanseviero <[email protected]>
- Loading branch information
1 parent
64bdbd8
commit 1b9a2e4
Showing
4 changed files
with
159 additions
and
1 deletion.
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
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