mirror of
https://github.com/wassname/peft.git
synced 2026-09-05 16:41:05 +08:00
36 lines
458 B
Plaintext
36 lines
458 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]] LoraLayer
|
|
|
|
[[autodoc]] Linear
|
|
|
|
[[autodoc]] MergedLinear
|
|
|
|
## P-tuning
|
|
|
|
[[autodoc]] PromptEncoderConfig
|
|
|
|
[[autodoc]] PromptEncoder
|
|
|
|
## Prefix tuning
|
|
|
|
[[autodoc]] PrefixTuningConfig
|
|
|
|
[[autodoc]] PrefixEncoder
|
|
|
|
## Prompt tuning
|
|
|
|
[[autodoc]] PromptTuningConfig
|
|
|
|
[[autodoc]] PromptEmbedding
|