File size: 571 Bytes
1e6d67a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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