OpenDeltaMirror/examples/examples_text-classification/run.sh

7 lines
318 B
Bash

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_glue.py configs/$3/$dataset.json
done