PEFT documentation

Document Title

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Document Title

A collection of helper functions for PEFT.

Checking if a model is a PEFT model


< >

( model_name_or_path: str ) → bool


  • model_name_or_path (str) — Model id to check, can be local or on the Hugging Face Hub.



True if the model is a PEFT model, False otherwise.

Check if the model is a PEFT model.

< > Update on GitHub