File size: 865 Bytes
f4fe90b
 
 
 
 
2d7a9d1
 
f4fe90b
 
 
e4b4f73
 
 
d74c45a
f4fe90b
220ca45
f4fe90b
 
329be54
d74c45a
 
 
f4fe90b
d74c45a
 
7e46c0b
f4fe90b
5f4b225
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
./run_mlm_flax.py \
    --output_dir="./" \
    --model_type="roberta" \
    --config_name="./" \
    --tokenizer_name="./" \
    --train_file /mnt/disks/flaxdisk/corpus/train_1_4.json \
    --validation_file /mnt/disks/flaxdisk/corpus/validation.json \
    --cache_dir="/mnt/disks/flaxdisk/cache/" \
    --max_seq_length="128" \
    --weight_decay="0.01" \
    --per_device_train_batch_size="200" \
    --per_device_eval_batch_size="200" \
    --learning_rate="3e-4" \
    --warmup_steps="10000" \
    --overwrite_output_dir \
    --num_train_epochs="1" \
    --adam_beta1="0.9" \
    --adam_beta2="0.98" \
    --adam_epsilon="1e-6" \
    --logging_steps="10000" \
    --save_steps="10000" \
    --eval_steps="10000" \
    --preprocessing_num_workers="64" \
    --auth_token="True" \
    --static_learning_rate="True" \
    --dtype="bfloat16" \
    --push_to_hub