Files
wehub-resource-sync caf324b09d
tests / check_code_quality (push) Waiting to run
tests / tests (ubuntu-latest, 3.10) (push) Blocked by required conditions
tests / tests (ubuntu-latest, 3.11) (push) Blocked by required conditions
Deploy "method_comparison" Gradio to Spaces / deploy (push) Waiting to run
Deploy "PEFT shop" Gradio app to Spaces / deploy (push) Waiting to run
tests on transformers main / tests (push) Waiting to run
tests / tests (ubuntu-latest, 3.12) (push) Blocked by required conditions
tests / tests (ubuntu-latest, 3.13) (push) Blocked by required conditions
tests / tests (windows-latest, 3.10) (push) Blocked by required conditions
tests / tests (windows-latest, 3.11) (push) Blocked by required conditions
tests / tests (windows-latest, 3.12) (push) Blocked by required conditions
tests / tests (windows-latest, 3.13) (push) Blocked by required conditions
Secret Leaks / trufflehog (push) Waiting to run
CI security linting / zizmor latest via Cargo (push) Waiting to run
Build documentation / build (push) Failing after 0s
chore: import upstream snapshot with attribution
2026-07-13 13:24:42 +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