mirror of
https://github.com/wassname/peft.git
synced 2026-08-21 11:18:57 +08:00
33 lines
571 B
Plaintext
33 lines
571 B
Plaintext
# Tuners
|
|
|
|
Each tuner (or PEFT method) has a configuration and model.
|
|
|
|
## LoRA
|
|
|
|
For finetuning a model with LoRA.
|
|
|
|
[[autodoc]] LoraConfig
|
|
|
|
[[autodoc]] LoraModel
|
|
|
|
[[autodoc]] tuners.lora.LoraLayer
|
|
|
|
[[autodoc]] tuners.lora.Linear
|
|
|
|
## P-tuning
|
|
|
|
[[autodoc]] tuners.p_tuning.PromptEncoderConfig
|
|
|
|
[[autodoc]] tuners.p_tuning.PromptEncoder
|
|
|
|
## Prefix tuning
|
|
|
|
[[autodoc]] tuners.prefix_tuning.PrefixTuningConfig
|
|
|
|
[[autodoc]] tuners.prefix_tuning.PrefixEncoder
|
|
|
|
## Prompt tuning
|
|
|
|
[[autodoc]] tuners.prompt_tuning.PromptTuningConfig
|
|
|
|
[[autodoc]] tuners.prompt_tuning.PromptEmbedding |