PEFT documentation
Document Title
Get started
Tutorial
PEFT method guides
Developer guides
Model mergingQuantizationLoRACustom modelsAdapter injectionMixed adapter typestorch.compileContribute to PEFTTroubleshootingPEFT checkpoint formatHelpers
🤗 Accelerate integrations
Conceptual guides
API reference
You are viewing v0.12.0 version. A newer version v0.22.0 is available.
Document Title
A collection of helper functions for PEFT.
Checking if a model is a PEFT model
peft.helpers.check_if_peft_model
< source >( model_name_or_path: str ) → bool
Check if the model is a PEFT model.