QingruZhang / AdaLoRA

AdaLoRA: Adaptive Budget Allocation for Parameter-Efficient Fine-Tuning (ICLR 2023).
MIT License
231 stars 23 forks source link

Tried to run ./scripts/run_debertav3_mnli.sh but received error "" #7

Closed ndvbd closed 11 months ago

ndvbd commented 11 months ago

Using this page: https://github.com/QingruZhang/AdaLoRA/tree/main/NLU Ran the script and received:

Error: run_glue.py: error: the following arguments are required: --output_dir

QingruZhang commented 11 months ago

Hi, could you follow the instruction here to install the updated transformers package in our repo, e.g., pip install -e . ? This may resolve the issue you mentioned. Thanks, Qingru

ndvbd commented 11 months ago

Thank you, I did it before I wrote here. I am running from the NLU dir the: ./scripts/run_debertav3_mnli.sh And get: run_glue.py: error: the following arguments are required: --output_dir

maybe the output_dir parameter is missing from the .sh script?

QingruZhang commented 11 months ago

Could you provide the version and path of installed transformers? I rerun the scripts following the README and they work. Meanwhile, output_dir has been modified to optional as shown in the training_args.py.