File size: 848 Bytes
0446688
 
f291f93
0446688
 
 
 
 
 
 
 
 
 
 
 
 
f291f93
 
5551a58
f291f93
77f6e8d
5551a58
0446688
 
 
f291f93
 
 
 
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
34
#!/usr/bin/env bash

#export TOKENIZERS_PARALLELISM=0

python ./run_mlm_flax.py \
    --push_to_hub \
    --output_dir="./" \
    --model_type="big_bird" \
    --config_name="./" \
    --tokenizer_name="./" \
    --max_seq_length="4096" \
    --weight_decay="0.0095" \
    --warmup_steps="5000" \
    --overwrite_output_dir \
    --adam_beta1="0.9" \
    --adam_beta2="0.98" \
    --logging_steps="250" \
    --eval_steps="500" \
    --num_train_epochs="5" \
    --preprocessing_num_workers="96" \
    --save_steps="20000" \
    --learning_rate="5e-5" \
    --per_device_train_batch_size="2" \
    --per_device_eval_batch_size="2" \
    --save_total_limit="5"\
    --max_eval_samples="500"\
    --overwrite_cache False \
    --gradient_accumulation_steps="4" \
    #--resume_from_checkpoint="./"\
    #--adafactor \
    #--dtype="bfloat16" \