This repository contains the code for experiments applying ZO-LDSD framework for different LLM Fine-Tuning tasks.
The code is based on the benchmark
To install requirements:
pip install -r requirements.txt
To train and evaluate the model in the paper, run this command:
./run_script.sh
zo_rl_sgdis ZO-SGD with LDSD-based samplingzo_rl_adammis ZO-Adamm with LDSD-based samplingzo_rl_jaguaris Jaguar SignSGD with LDSD-based sampling