roberta-base-ncc-512d / train.512.sh
versae's picture
Starting from 512b for 10epochs
51397e7
raw
history blame
717 Bytes
python run_mlm_flax.py \
--output_dir="./" \
--model_type="roberta" \
--model_name_or_path="./" \
--config_name="./" \
--tokenizer_name="./" \
--dataset_name="NbAiLab/NCC" \
--max_seq_length="512" \
--weight_decay="0.01" \
--per_device_train_batch_size="46" \
--per_device_eval_batch_size="46" \
--pad_to_max_length \
--learning_rate="0.00015" \
--warmup_steps="1000" \
--overwrite_output_dir \
--num_train_epochs="10" \
--adam_beta1="0.9" \
--adam_beta2="0.98" \
--adam_epsilon="1e-6" \
--logging_steps="1000" \
--save_steps="1000" \
--eval_steps="1000" \
--do_train \
--do_eval \
--dtype="bfloat16" \
--push_to_hub