first draft of api docs

This commit is contained in:
Steven
2023-03-31 13:41:33 -07:00
committed by Steven Liu
parent 165ee0b5ff
commit 39fb96316f
4 changed files with 91 additions and 4 deletions
+35 -1
View File
@@ -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