mirror of
https://github.com/wassname/peft.git
synced 2026-09-11 12:30:16 +08:00
first draft of api docs
This commit is contained in:
@@ -1 +1,35 @@
|
||||
# Tuners
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user