← 开源
johnsmith0031

alpaca_lora_4bit

Model DevelopmentFine-tuningPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
533
Star
83
Fork
+0
本周
13
贡献者
创建于 2023-03-18 · 更新于 2026-08-22 · 今日第 17174 名
主要开发者
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