Files
Steven Liu 9c70468a3c [docs] API docs (#1196)
* first draft

* fix path

* fix all paths

* typo

* last typo 🤞

* fix toctree

* typo

* fix section title

* feedback

* update
2023-12-04 11:45:26 -08:00

848 B

Configuration

[PeftConfigMixin] is the base configuration class for storing the adapter configuration of a [PeftModel], and [PromptLearningConfig] is the base configuration class for soft prompt methods (p-tuning, prefix tuning, and prompt tuning). These base classes contain methods for saving and loading model configurations from the Hub, specifying the PEFT method to use, type of task to perform, and model configurations like number of layers and number of attention heads.

PeftConfigMixin

autodoc config.PeftConfigMixin - all

PeftConfig

autodoc PeftConfig - all

PromptLearningConfig

autodoc PromptLearningConfig - all