File size: 823 Bytes
7f835a3
adebfcb
 
 
 
 
 
 
e496b51
adebfcb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e496b51
adebfcb
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
# set train hyperparams
unset LD_PRELOAD
python3 run_mlm_flax.py \
    --output_dir="./" \
    --model_type="roberta" \
    --config_name="./" \
    --tokenizer_name="./" \
    --dataset_filepath="/researchdisk1/data/training_data_full" \
    --tokenized_dataset_filepath="/researchdisk1/data/training_data_full_tokenized_128" \
    --max_seq_length="128" \
    --pad_to_max_length \
    --preprocessing_num_workers="96" \
    --per_device_train_batch_size="128" \
    --per_device_eval_batch_size="128" \
    --learning_rate="3e-4" \
    --warmup_steps="1000" \
    --overwrite_output_dir \
    --num_train_epochs="3" \
    --save_strategy="steps" \
    --save_steps="10000" \
    --save_total_limit="5" \
    --eval_steps="10000" \
    --logging_steps="1000" \
    --dtype="bfloat16" \
    --adafactor \
    --push_to_hub