Files
Steven Liu f7cf460f7c [docs] Update index and quicktour (#1191)
* first draft

* fix toctree

* lora subby section

* feedback

* iframe height

* feedback
2023-12-04 11:00:29 -08:00

1.6 KiB

AutoPeftModels

The AutoPeftModel classes loads the appropriate PEFT model for the task type by automatically inferring it from the configuration file. They are designed to quickly and easily load a PEFT model in a single line of code without having to worry about which exact model class you need or manually loading a [PeftConfig].

AutoPeftModel

autodoc auto.AutoPeftModel - from_pretrained

AutoPeftModelForCausalLM

autodoc auto.AutoPeftModelForCausalLM

AutoPeftModelForSeq2SeqLM

autodoc auto.AutoPeftModelForSeq2SeqLM

AutoPeftModelForSequenceClassification

autodoc auto.AutoPeftModelForSequenceClassification

AutoPeftModelForTokenClassification

autodoc auto.AutoPeftModelForTokenClassification

AutoPeftModelForQuestionAnswering

autodoc auto.AutoPeftModelForQuestionAnswering

AutoPeftModelForFeatureExtraction

autodoc auto.AutoPeftModelForFeatureExtraction