Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 879 Bytes

FineTuning_Qlora.md

File metadata and controls

13 lines (9 loc) · 879 Bytes

Fine-tuning Phi-3 with QLoRA

Fine-tuning Microsoft’s Phi-3 Mini language model using QLoRA (Quantum Low-Rank Adaptation).

QLoRA will help improve conversational understanding and response generation.

To load models in 4bits with transformers and bitsandbytes, you have to install accelerate and transformers from source and make sure you have the latest version of the bitsandbytes library.

Samples