dalle-mini / seq2seq /do_small_run.sh
boris's picture
feat: update scriptst
63249ac
raw
history blame
468 Bytes
python run_seq2seq_flax.py \
--max_source_length 128 \
--train_file /data/CC12M/encoded-small-train.tsv \
--validation_file /data/CC12M/encoded-small-valid.tsv \
--output_dir output \
--per_device_train_batch_size 56 \
--per_device_eval_batch_size 56 \
--preprocessing_num_workers 80 \
--warmup_steps 125 \
--gradient_accumulation_steps 8 \
--do_train \
--do_eval \
--adafactor \
--num_train_epochs 1 \
--max_train_samples 20000 \
--learning_rate 0.005