File size: 734 Bytes
f072d39
 
 
39d9314
f072d39
 
 
934b127
39d9314
 
f072d39
 
 
 
39d9314
934b127
f072d39
934b127
 
f072d39
 
 
 
 
 
 
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
python run_mlm_flax.py \
    --output_dir="./" \
    --model_type="roberta" \
    --config_name="./" \
    --tokenizer_name="NbAiLab/nb-roberta-base" \
    --dataset_name="NbAiLab/NCC" \
    --max_seq_length="128" \
    --weight_decay="0.0" \
    --per_device_train_batch_size="210" \
    --per_device_eval_batch_size="210" \
    --pad_to_max_length \
    --learning_rate="6e-4" \
    --warmup_steps="10000" \
    --overwrite_output_dir \
    --num_train_epochs="5" \
    --distributed_shampoo  \
    --adam_beta1="0.9" \
    --adam_beta2="0.99" \
    --adam_epsilon="1e-10" \
    --logging_steps="1000" \
    --save_steps="1000" \
    --eval_steps="1000" \
    --do_train \
    --do_eval \
    --dtype="bfloat16" \
    --push_to_hub