Qbaraqahira
Official PyTorch implementation of Q-BaRA and QA-HiRA
Install / Use
/learn @xiaocaigou/QbaraqahiraREADME
qbara_qahira
To be implemented! Coming soon!
Installation
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. After installing PyTorch, you can achieve the above with the following command:
pip install -U -r requirements.txt
Fine-tune
-
Change the
bnb.pyin your peft path(python path/peft/tuners/lora/bnb.py) with the new one. -
Change the
layer.pyin your peft path(python path/peft/tuners/lora/layer.py) with the new one.
Merge
Use the merge.py to merge the base_model and the adapter
Acknowledgements
Our code is based on QLoRA
Related Skills
node-connect
335.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.5kCommit, push, and open a PR
