mindformers.pet¶
modules init
mindformers.pet.pet_config¶
Lora tuning algorithm config. |
|
p tuning v2 tuning algorithm config. |
mindformers.pet.tuners¶
AdaAdapter is the adapter to modify the pretrained model, which uses adapter tuning algorithm. |
|
AdaLoraAdapter is the adapter to modify the pretrained model, which uses adapter lora tuning algorithm. |
|
LoraAdapter is the adapter to modify the pretrained model, which uses lora tuning algorithm. |
|
PetAdapter is the base class of adapter to modify the pretrained model. |
|
|
Prefix tuning implement. |