versae's picture
Step... (42001/50000 | Loss: 1.5368554592132568, Acc: 0.6858981847763062): 86%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 42934/50000 [7:12:02<3:21:33, 1.71s/it]
f75455f
raw
history blame contribute delete
978 Bytes
# From https://arxiv.org/pdf/1907.11692.pdf for base model
python -c "import jax; print('TPUs', jax.device_count())"
python ./run_mlm_flax_stream.py \
--model_name_or_path="./outputs/checkpoints/checkpoint-24000" \
--output_dir="./outputs" \
--model_type="roberta" \
--config_name="./configs/base" \
--tokenizer_name="./configs/base" \
--dataset_name="bertin-project/mc4-es-sampled" \
--dataset_config_name="gaussian" \
--max_seq_length="512" \
--pad_to_max_length \
--per_device_train_batch_size="48" \
--per_device_eval_batch_size="48" \
--adam_beta1="0.9" \
--adam_beta2="0.98" \
--adam_epsilon="1e-6" \
--learning_rate="6e-4" \
--weight_decay="0.01" \
--save_steps="1000" \
--save_total_limit="5" \
--warmup_steps="500" \
--overwrite_output_dir \
--num_train_steps="50000" \
--eval_steps="1000" \
--dtype="bfloat16" \
--logging_steps="500" 2>&1 | tee run_stream_checkpoint.log