-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
13 additions
and
459 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
export CUDA_VISIBLE_DEVICES=0 | ||
#coqa CoQA_AAVE CoQA_AppE CoQA_ChcE CoQA_CollSgE CoQA_Multi | ||
|
||
for TRAIN_DIAL in coqa CoQA_AAVE CoQA_ChcE CoQA_IndE CoQA_Multi | ||
do | ||
for EVAL_DIAL in CoQA_ChcE CoQA_IndE | ||
do | ||
python3 run_coqa.py --model_type bert \ | ||
--model_name_or_path /data/wheld3/bert-$TRAIN_DIAL/ \ | ||
--model_name_or_path SALT-NLP/value-bert-$TRAIN_DIAL \ | ||
--do_eval \ | ||
--data_dir gold_data/$EVAL_DIAL/ \ | ||
--train_file coqa-train-v1.0.json \ | ||
--predict_file coqa-dev-v1.0.json \ | ||
--learning_rate 3e-5 \ | ||
--num_train_epochs 2 \ | ||
--output_dir /data/wheld3/bert-$TRAIN_DIAL/ \ | ||
--output_dir ./bert-$TRAIN_DIAL/ \ | ||
--do_lower_case \ | ||
--per_gpu_train_batch_size 8 \ | ||
--gradient_accumulation_steps 2 \ | ||
--max_grad_norm -1 \ | ||
--weight_decay 0.01 >> /data/wheld3/bert-$TRAIN_DIAL/in_gold_dial_$EVAL_DIAL | ||
--weight_decay 0.01 >> ./bert-$TRAIN_DIAL/in_gold_dial_$EVAL_DIAL | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
export CUDA_VISIBLE_DEVICES=2 | ||
|
||
#coqa CoQA_AAVE CoQA_AppE CoQA_ChcE CoQA_CollSgE CoQA_Multi | ||
|
||
for TRAIN_DIAL in coqa CoQA_AAVE CoQA_ChcE CoQA_IndE CoQA_Multi | ||
for TRAIN_DIAL in CoQA_SAE CoQA_AAVE CoQA_ChcE CoQA_IndE CoQA_Multi | ||
do | ||
for EVAL_DIAL in CoQA_ChcE CoQA_IndE | ||
do | ||
python3 run_coqa.py --model_type roberta \ | ||
--model_name_or_path /data/wheld3/roberta-$TRAIN_DIAL/ \ | ||
--model_name_or_path SALT-NLP/value-roberta-$TRAIN_DIAL \ | ||
--do_eval \ | ||
--data_dir gold_data/$EVAL_DIAL/ \ | ||
--train_file coqa-train-v1.0.json \ | ||
--predict_file coqa-dev-v1.0.json \ | ||
--learning_rate 3e-5 \ | ||
--num_train_epochs 2 \ | ||
--output_dir /data/wheld3/roberta-$TRAIN_DIAL/ \ | ||
--output_dir ./roberta-$TRAIN_DIAL/ \ | ||
--do_lower_case \ | ||
--per_gpu_train_batch_size 8 \ | ||
--gradient_accumulation_steps 2 \ | ||
--max_grad_norm -1 \ | ||
--weight_decay 0.01 >> /data/wheld3/roberta-$TRAIN_DIAL/in_gold_dial_$EVAL_DIAL | ||
--weight_decay 0.01 >> ./roberta-$TRAIN_DIAL/in_gold_dial_$EVAL_DIAL | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.