Skip to content

JLU-Solar/qlora

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QLoRA for Ours

SSH Tunnel

ssh s34 -R 17890:127.0.0.1:17890

Env

export https_proxy=http://127.0.0.1:17890
export http_proxy=http://127.0.0.1:17890
export all_proxy=http://127.0.0.1:17890

# git clone git@github.com:JLU-Solar/qlora.git
git clone https://github.com/JLU-Solar/qlora.git

conda create -y -n qlora9 python=3.9
conda activate qlora9
pip install -U -r requirements.txt
pip install --upgrade bitsandbytes
pip install "numpy<2.0"

Run

export https_proxy=http://127.0.0.1:17890
export http_proxy=http://127.0.0.1:17890
export all_proxy=http://127.0.0.1:17890
conda activate qlora9

python qlora.py --model_name_or_path "facebook/opt-1.3b"

python qlora.py --model_name_or_path "meta-llama/Llama-2-7b-hf" --use_auth_token True

About

QLoRA: Efficient Finetuning of Quantized LLMs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 85.4%
  • Python 11.9%
  • Shell 1.7%
  • HTML 1.0%