OpenDeltaMirror/examples/examples_prompt/run.sh

7 lines
313 B
Bash
Raw Normal View History

2022-02-26 14:24:42 +08:00
files=(cola mnli mrpc qnli qqp rte sst2 stsb superglue-boolq superglue-cb superglue-copa superglue-multirc superglue-record superglue-wic superglue-wsc.fixed)
for ((i=$1; i<=$2; i++))
do
dataset=${files[i]}
echo "id$i:$dataset"
TOKENIZERS_PARALLELISM=false python run.py configs/$3/$dataset.json
done