mirror of
https://github.com/wassname/peft.git
synced 2026-10-02 12:30:46 +08:00
refactor, lora support and utils for saving and loading
This commit is contained in:
1 parent
23aecc4f69
commit
751baf8aa7
9 files changed
+259
-111
No files matched your search
@@ -3,3 +3,5 @@
|
||||
# module, but to preserve other warnings. So, don't check this module at all
|
||||
|
||||
from .config import PETConfig, PETType, PromptLearningConfig, TaskType
|
||||
from .other import bloom_model_postprocess_past_key_value, shift_tokens_right
|
||||
from .save_and_load import get_pet_model_state_dict, set_pet_model_state_dict
|
||||
Reference in new issue
Block a user