Download peft/docs/source/package_reference/peft_model.mdx from sonalkum/GAMA: direct link, hf CLI and curl.
- Browser
- Download file 849 Bytes
-
https://huggingface.co/spaces/sonalkum/GAMA/resolve/main/peft/docs/source/package_reference/peft_model.mdx
- Command line
-
hf download hf://spaces/sonalkum/GAMA/peft/docs/source/package_reference/peft_model.mdx
-
curl -L -o peft_model.mdx https://huggingface.co/spaces/sonalkum/GAMA/resolve/main/peft/docs/source/package_reference/peft_model.mdx
849 Bytes
| # Models | |
| [`PeftModel`] is the base model class for specifying the base Transformer model and configuration to apply a PEFT method to. The base `PeftModel` contains methods for loading and saving models from the Hub, and supports the [`PromptEncoder`] for prompt learning. | |
| ## PeftModel | |
| [[autodoc]] PeftModel | |
| - all | |
| ## PeftModelForSequenceClassification | |
| A `PeftModel` for sequence classification tasks. | |
| [[autodoc]] PeftModelForSequenceClassification | |
| - all | |
| ## PeftModelForTokenClassification | |
| A `PeftModel` for token classification tasks. | |
| [[autodoc]] PeftModelForTokenClassification | |
| - all | |
| ## PeftModelForCausalLM | |
| A `PeftModel` for causal language modeling. | |
| [[autodoc]] PeftModelForCausalLM | |
| - all | |
| ## PeftModelForSeq2SeqLM | |
| A `PeftModel` for sequence-to-sequence language modeling. | |
| [[autodoc]] PeftModelForSeq2SeqLM | |
| - all | |