This repo mainly contains several running scripts to use OpenDelta to finetune lora to conduct parameter-efficient training of various task.
Thanks for the original code
To run the code
pip install torch --extra-index-url https://download.pytorch.org/whl/cu113
pip install -r requriments.txt
python setup_seq2seq.py develop
cd examples_seq2seq
python test_seq2seq.py configs/$job_name/$dataset_test.json
For instance, python test_seq2seq.py configs/lora_t5-base_1/superglue-copatest.json
python run_seq2seq.py configs/$job_name/$dataset.json
For instance, python run_seq2seq.py configs/lora_t5-base_1/superglue-copa.json