File size: 689 Bytes
d20a6e0
006a341
478e4c2
006a341
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32342d3
006a341
11a8d77
006a341
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
python run_mlm_flax_stream.py \
    --model_name_or_path="xlm-roberta-base" \
    --config_name="./config.json" \
    --tokenizer_name="./" \
    --dataset_name="NbAiLab/scandinavian" \
    --max_seq_length="512" \
    --weight_decay="0.01" \
    --per_device_train_batch_size="62" \
    --per_device_eval_batch_size="16" \
    --learning_rate="4e-4" \
    --warmup_steps="1000" \
    --overwrite_output_dir \
    --num_train_steps="10000" \
    --adam_beta1="0.9" \
    --adam_beta2="0.98" \
    --logging_steps="50" \
    --save_steps="50" \
    --eval_steps="50" \
    --output_dir="./" \
    --dtype="bfloat16" \
    --hub_model_id="NbAiLab/nb-roberta-base-scandi" \
    --push_to_hub