SkillAgentSearch skills...

Qbaraqahira

Official PyTorch implementation of Q-BaRA and QA-HiRA

Install / Use

/learn @xiaocaigou/Qbaraqahira
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

  1. Change the bnb.py in your peft path(python path/peft/tuners/lora/bnb.py) with the new one.

  2. Change the layer.py in 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

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated5mo ago
Forks0

Languages

Python

Security Score

67/100

Audited on Oct 11, 2025

No findings