PEFT documentation

Hatalar

You are viewing main version, which requires installation from source. If you'd like regular pip install, checkout the latest stable version (v0.21.0).
Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Hatalar

sınıf peft.PeftError

< >

( )

Temel PEFT hatası

sınıf peft.NoMatchingPeftModuleError

< >

( )

Enjekte edilen adaptör, temel modelin hiçbir modülüyle veya parametresiyle eşleşmedi.

Örneğin PEFT yapılandırmasındaki target_modules hiçbir şeye eşleşmediğinde yükseltilir; bu durum çoğunlukla bir yapılandırma hatasına işaret eder. Daha önce yükseltilen genel hatayı yakalayan kodlarla geriye dönük uyumluluk için ValueError'in bir alt sınıfıdır. Bu tür bir adaptörü bilinçli olarak ekleyen kod, bu hatayı (veya PeftError'yi) yakalayarak işlemeye devam edebilir.

Update on GitHub