File size: 656 Bytes
7b282b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
./run_mlm_flax.py \
    --output_dir="./" \
    --model_type="bert" \
    --config_name="./" \
    --tokenizer_name="./" \
    --dataset_name="flax-community/swahili-safi" \
    --validation_split_percentage="2" \
    --max_seq_length="512" \
    --weight_decay="0.025" \
    --per_device_train_batch_size="64" \
    --per_device_eval_batch_size="64" \
    --learning_rate="3e-4" \
    --warmup_steps="500" \
    --overwrite_output_dir \
    --num_train_epochs="15" \
    --adam_beta1="0.9" \
    --adam_beta2="0.98" \
    --logging_steps="250" \
    --save_steps="1000" \
    --eval_steps="1000" \
    --preprocessing_num_workers="96" \
    --push_to_hub