refactor, lora support and utils for saving and loading

This commit is contained in:
Sourab Mangrulkar committed 2022-11-30 18:22:12 +05:30
1 parent 23aecc4f69
commit 751baf8aa7
9 files changed
+259 -111

No files matched your search

+2
View File
@@ -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