Skip to content

Commit 00eda62

Browse files
committed
minor
1 parent 4e8af0e commit 00eda62

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

exps/run_bart_trainer.sh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ cache_dir=${TRANSFORMERS_CACHE}
1717

1818
# conda activate adapter
1919
# wandb env variables
20-
# export WANDB_PROJECT=xsum
21-
# export WANDB_WATCH="false"
20+
export WANDB_PROJECT=xsum
21+
export WANDB_WATCH="false"
2222

2323
DATE=`date +%Y%m%d`
2424
dataset="xsum"
@@ -32,13 +32,17 @@ attn_bn=30 # attn bottleneck dim
3232
ffn_mode="adapter"
3333
ffn_option="parallel"
3434
ffn_adapter_layernorm_option="none"
35-
ffn_adapter_init_option="bert"
36-
ffn_adapter_scalar="1"
35+
ffn_adapter_init_option="lora"
36+
ffn_adapter_scalar="4"
37+
ffn_bn=512 # ffn bottleneck dim
3738

38-
ffn_bn=200 # ffn bottleneck dim
3939

40+
# set to 1 for debug mode which only
41+
# uses 1600 training examples
42+
debug=0
4043

41-
debug=1
44+
# set to "wandb" to use weights & bias
45+
report_to="wandb"
4246

4347
label_smoothing_factor=0.1
4448
weight_decay=0.01
@@ -58,7 +62,6 @@ logging_steps=100
5862
eval_strategy="steps"
5963
# eval_strategy="steps"
6064
save_steps=3000
61-
report_to="none"
6265

6366
extra_cmd=""
6467
debug_str=""

0 commit comments

Comments
 (0)