peft
Package — Deep LearningPython 3.7+Advanced
Parameter-Efficient Fine-Tuning (LoRA, prefix tuning, adapters)
Quick Info
- Documentation
- Official Docs
- Python Version
- 3.7+
- Dependencies
- PyTorch, transformers, accelerate, safetensors, huggingface-hub
- Install
pip install peft
Learn by Difficulty
Quick Example
python
# Install: pip install peft import peft # Basic peft usage print(f"Using peft") # See documentation for detailed examples
peft is a third-party package. Parameter-Efficient Fine-Tuning (LoRA, prefix tuning, adapters). Install with: pip install peft
Try in PlaygroundTags
packagedeep-learningneural-networkaigpu