← Open Source
johnsmith0031

alpaca_lora_4bit

Model DevelopmentFine-tuningPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
533
Stars
83
Forks
+0
This week
13
Contributors
Created 2023-03-18 · Updated 2026-08-22 · #17174 today
Top developers
README

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.

Note: Main branch would not be maintained anymore. Everyone should use the pip installable version. (winglian-setup_pip branch)

  • Install Manual:
git clone https://github.com/johnsmith0031/alpaca_lora_4bit.git
cd alpaca_lora_4bit
git fetch origin winglian-setup_pip
git checkout winglian-setup_pip
pip install .
  • Active branch

https://github.com/johnsmith0031/alpaca_lora_4bit/tree/winglian-setup_pip