From bbaf1b1bf53cd31cd95193f5b432c35d7386e373 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sat, 18 Mar 2023 13:35:36 +0800 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1e4c489..26444e6 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,14 @@ -# alpaca_lora_4bit - +# Alpaca Lora 4bit Made some adjust for the code in peft and gptq for llama, and make it possible for lora finetuning with a 4 bits base model. The same adjustment can be made for 2, 3 and 8 bits. -# packages required +# Requirements gptq-for-llama: https://github.com/qwopqwop200/GPTQ-for-LLaMa +peft: https://github.com/huggingface/peft.git +# Install +copy files from GPTQ-for-LLaMa into GPTQ-for-LLaMa path and re-compile cuda extension +copy files from peft/tuners/lora.py to peft path, replace it +# Finetuning +The same finetune script from https://github.com/tloen/alpaca-lora can be used.