File size: 828 Bytes
0446688
 
f291f93
0446688
731244f
0446688
 
 
 
 
 
 
9915204
0446688
 
 
731244f
5575ac1
dc01ff5
f291f93
5575ac1
731244f
 
 
5575ac1
f75b982
b681451
731244f
9bd1fec
bc11ccf
9bd1fec
0446688
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
#!/usr/bin/env bash

#export TOKENIZERS_PARALLELISM=0

python ./run_mlm_flax_no_accum.py \
    --push_to_hub \
    --output_dir="./" \
    --model_type="big_bird" \
    --config_name="./" \
    --tokenizer_name="./" \
    --max_seq_length="4096" \
    --weight_decay="0.0095" \
    --warmup_steps="10000" \
    --overwrite_output_dir \
    --adam_beta1="0.9" \
    --adam_beta2="0.98" \
    --logging_steps="50" \
    --eval_steps="6000" \
    --num_train_epochs="5"\
    --preprocessing_num_workers="96" \
    --save_steps="15000" \
    --learning_rate="3e-5" \
    --per_device_train_batch_size="1" \
    --per_device_eval_batch_size="1" \
    --save_total_limit="20"\
    --max_eval_samples="4000"\
    --resume_from_checkpoint="./"\
    #--gradient_accumulation_steps="4"\
    #--adafactor \
    #--dtype="bfloat16" \