forked from zxlzr/MTM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathARSC_MAML.sh
executable file
·49 lines (46 loc) · 1.3 KB
/
ARSC_MAML.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# python3 run_classifier.py \
# --task_name Amazon \
# --do_train \
# --do_eval \
# --do_lower_case \
# --data_dir $GLUE_DIR \
# --bert_model bert-base-uncased-file \
# --max_seq_length 128 \
# --train_batch_size 32 \
# --learning_rate 2e-5 \
# --num_train_epochs 2.0 \
# --output_dir /tmp/Amazon_output/
# python3 run_classifier_maml.py \
# --task_name Amazon \
# --do_train \
# --do_eval \
# --do_lower_case \
# --data_dir $GLUE_DIR \
# --bert_model /tmp/finetuned_lm/ \
# --max_seq_length 128 \
# --inner_learning_rate 2e-6 \
# --outer_learning_rate 1e-5 \
# --output_dir /tmp/Amazon_maml_output5/
export GLUE_DIR="data/Amazon_few_shot"
# python3 run_classifier_maml.py \
# --task_name Amazon \
# --is_init True \
# --do_train \
# --do_eval \
# --do_lower_case \
# --data_dir $GLUE_DIR \
# --bert_model bert-base-uncased-file \
# --max_seq_length 128 \
# --inner_learning_rate 2e-6 \
# --outer_learning_rate 1e-5 \
# --output_dir /tmp/Amazon_maml_no_pretrain/
python3 run_classifier_maml.py \
--task_name Amazon \
--do_eval \
--do_lower_case \
--data_dir $GLUE_DIR \
--bert_model /tmp/Amazon_fomaml_with_pretrain/ \
--max_seq_length 128 \
--inner_learning_rate 2e-6 \
--outer_learning_rate 1e-5 \
--output_dir /tmp/Amazon_fomaml_with_pretrain1/