MCPcopy Create free account

hub / github.com/ZinYY/TreeLoRA / functions

Functions425 in github.com/ZinYY/TreeLoRA

Methodsave_model
(self, round)
model/Regular/HideLoRA.py:131
Methodsave_model
(self, round)
model/Regular/Tree_LoRA.py:157
Methodsave_pretrained
r""" This method saves the configuration of your adapter model in a directory. Args: save_directory (`str`):
utils/my_peft/utils/config.py:63
Methodset_adapter
Sets the active adapter.
utils/my_peft/peft_model.py:420
Methodset_adapter
(self, adapter_name)
utils/my_peft/tuners/lora.py:319
Methodset_adapter
Set the model to use the adapter with the given name.
utils/my_peft/tuners/adaption_prompt.py:205
Methodset_total_step
Set total training steps
utils/TaSL/importance_scorer.py:47
Methodset_total_step
(self, total_step)
utils/my_peft/tuners/adalora.py:537
Methodstore_grads
(self, grads, grad_dims)
model/Regular/OGD.py:76
Methodtrain_continual
(self)
model/base_model.py:107
Methodtrain_continual
(self)
model/Replay/MbPAplusplus.py:232
Methodtrain_continual
(self)
model/Regular/OGD.py:166
Methodtrain_one_task
(self, task, i_task, epochs)
model/Replay/LFPT5.py:121
Methodtrain_one_task
(self, task, i_task, epochs)
model/Dynamic_network/DualPrompt.py:102
Methodtrain_one_task
(self, task, i_task, epochs=40
model/Regular/GEM.py:113
Methodtrain_one_task
(self, task, i_task, epochs)
model/Regular/O_LoRA.py:33
Methodtrain_one_task
(self, task, i_task, epochs)
model/Regular/HideLoRA.py:32
Methodtrain_one_task
(self, task, task_id, epochs)
model/Regular/Tree_LoRA.py:39
Methodtrain_one_task
(self, task, i_task, epochs=40
model/Regular/LwF.py:58
Methodunfuse_lora_weight
(self)
utils/module/lora.py:72
Methodunmerge
(self, mode: bool = True)
utils/my_peft/tuners/lora.py:655
Methodunmerge_adapter
(self)
utils/my_peft/tuners/lora.py:332
Methodupdate_and_allocate
(self, global_step)
utils/my_peft/tuners/adalora.py:284
Methodupdate_and_allocate
(self, model, global_step, force_mask=False)
utils/my_peft/tuners/adalora.py:652
Methodupdate_importance
Update importance scores during training
utils/TaSL/importance_scorer.py:65
← previous401–425 of 425, ranked by callers