File size: 923 Bytes
f4133c7 |
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 |
# From https://arxiv.org/pdf/1907.11692.pdf
./run_mlm_flax_eval.py \
--model_name_or_path="flax-community/alberti-bert-base-multilingual-cased" \
--output_dir="./" \
--model_type="bert" \
--config_name="./" \
--validation_file="./pulpo_lines_val.json" \
--train_file="./pulpo_lines_train.json" \
--tokenizer_name="bert-base-multilingual-cased" \
--max_seq_length="32" \
--pad_to_max_length \
--per_device_train_batch_size="256" \
--per_device_eval_batch_size="256" \
--adam_beta1="0.9" \
--adam_beta2="0.98" \
--adam_epsilon="1e-6" \
--learning_rate="1.25e-4" \
--weight_decay="0.01" \
--save_steps="1000" \
--warmup_steps="10000" \
--num_train_epochs="40" \
--overwrite_output_dir \
--eval_steps="1000" \
--do_train="false" \
--do_eval="true" \
--preprocessing_num_workers="96" \
--logging_steps="500" 2>&1 | tee run.log
|