forked from texttron/tevatron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this _save follows the original transformers trainer implementation. The previous implementation will case RuntimeError: Error(s) in loading state_dict for PeftModel when loading saved safetensors. This update can fix that.
- Loading branch information
1 parent
668ad0e
commit 2143a85
Showing
1 changed file
with
20 additions
and
21 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