Skip to content

Instantly share code, notes, and snippets.

@sxjscience
Created September 10, 2020 22:18
Show Gist options
  • Save sxjscience/51f0d85cdefe983ed8fe063c4df580d5 to your computer and use it in GitHub Desktop.
Save sxjscience/51f0d85cdefe983ed8fe063c4df580d5 to your computer and use it in GitHub Desktop.
for MODEL_NAME in albert_base \
albert_large \
albert_xlarge \
albert_xxlarge \
electra_base \
electra_large \
electra_small \
roberta_large \
uncased_bert_base \
uncased_bert_large \
mobilebert
do
python3 submit-job.py \
--region us-east-1 \
--source-ref master \
--job-type g4dn.12x \
--save-path temp \
--name test_squad2_${MODEL_NAME} \
--work-dir scripts/question_answering \
--remote https://github.com/dmlc/gluon-nlp/ \
--command 'bash commands/run_squad2_'${MODEL_NAME}'.sh | tee stdout.log' >> submit_squad_v2.log
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment