Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZinYY/TreeLoRA
/ functions
Functions
425 in github.com/ZinYY/TreeLoRA
⨍
Functions
425
◇
Types & classes
69
Method
save_model
(self, round)
model/Regular/HideLoRA.py:131
Method
save_model
(self, round)
model/Regular/Tree_LoRA.py:157
Method
save_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
Method
set_adapter
Sets the active adapter.
utils/my_peft/peft_model.py:420
Method
set_adapter
(self, adapter_name)
utils/my_peft/tuners/lora.py:319
Method
set_adapter
Set the model to use the adapter with the given name.
utils/my_peft/tuners/adaption_prompt.py:205
Method
set_total_step
Set total training steps
utils/TaSL/importance_scorer.py:47
Method
set_total_step
(self, total_step)
utils/my_peft/tuners/adalora.py:537
Method
store_grads
(self, grads, grad_dims)
model/Regular/OGD.py:76
Method
train_continual
(self)
model/base_model.py:107
Method
train_continual
(self)
model/Replay/MbPAplusplus.py:232
Method
train_continual
(self)
model/Regular/OGD.py:166
Method
train_one_task
(self, task, i_task, epochs)
model/Replay/LFPT5.py:121
Method
train_one_task
(self, task, i_task, epochs)
model/Dynamic_network/DualPrompt.py:102
Method
train_one_task
(self, task, i_task, epochs=40
model/Regular/GEM.py:113
Method
train_one_task
(self, task, i_task, epochs)
model/Regular/O_LoRA.py:33
Method
train_one_task
(self, task, i_task, epochs)
model/Regular/HideLoRA.py:32
Method
train_one_task
(self, task, task_id, epochs)
model/Regular/Tree_LoRA.py:39
Method
train_one_task
(self, task, i_task, epochs=40
model/Regular/LwF.py:58
Method
unfuse_lora_weight
(self)
utils/module/lora.py:72
Method
unmerge
(self, mode: bool = True)
utils/my_peft/tuners/lora.py:655
Method
unmerge_adapter
(self)
utils/my_peft/tuners/lora.py:332
Method
update_and_allocate
(self, global_step)
utils/my_peft/tuners/adalora.py:284
Method
update_and_allocate
(self, model, global_step, force_mask=False)
utils/my_peft/tuners/adalora.py:652
Method
update_importance
Update importance scores during training
utils/TaSL/importance_scorer.py:65
← previous
401–425 of 425, ranked by callers