chemT5 / train_scprit.sh
ZoeMC's picture
Saving weights and logs of step 10000
0ab88d6
#!/usr/bin/env bash
python run_t5_mlm_flax.py \
--output_dir="./" \
--model_type="t5" \
--config_name="./" \
--tokenizer_name="./" \
--train_file="./chemT5_data.csv" \
--max_seq_length="256" \
--per_device_train_batch_size="1" \
--per_device_eval_batch_size="1" \
--adafactor \
--learning_rate="0.005" \
--weight_decay="0.001" \
--warmup_steps="2000" \
--overwrite_output_dir \
--logging_steps="500" \
--save_steps="10000" \
--eval_steps="2500" \
--push_to_hub
~