cliang1453 / super-structured-lottery-tickets

Super Tickets in Pre-Trained Language Models: From Model Compression to Improving Generalization (ACL 2021)
MIT License
17 stars 1 forks source link

sh download.sh Error #1

Closed BD-MF closed 1 year ago

BD-MF commented 2 years ago

python: can't open file 'scripts/download_glue_data.py': [Errno 2] No such file or directory

cliang1453 commented 2 years ago

Hi,

It looks like the the dependent repo has been updated. You can replace https://github.com/cliang1453/super-structured-lottery-tickets/blob/caad8b6618831cfde9ba764bfe27ab7564dfda60/download.sh#L30-L37 with

## DOWNLOAD GLUE DATA
## Please refer glue-baseline install requirments or other issues.
git clone https://github.com/nyu-mll/jiant-v1-legacy.git
cd jiant-v1-legacy
python scripts/download_glue_data.py --data_dir $DATA_DIR --tasks all

cd ..
rm -rf jiant-v1-legacy