File size: 789 Bytes
0446688
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bc11ccf
9bd1fec
bc11ccf
0446688
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
#!/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="500" \
    --eval_steps="92768" \
    --num_train_epochs="5" \
    --preprocessing_num_workers="64" \
    --save_steps="20000" \
    --learning_rate="5e-5" \
    --per_device_train_batch_size="2" \
    --per_device_eval_batch_size="2" \
    --save_total_limit="5"\
    --gradient_accumulation_steps="2" \
    #--adafactor \
    #--dtype="bfloat16" \
    #--resume_from_checkpoint="./"\