t5-base-swedish / run_t5.sh
birgermoell's picture
Added model
00aad8d
raw
history blame contribute delete
548 Bytes
#!/usr/bin/env bash
./run_t5_mlm_flax.py \
--output_dir="${MODEL_DIR}" \
--model_type="t5" \
--config_name="${MODEL_DIR}" \
--tokenizer_name="${MODEL_DIR}" \
--dataset_name="oscar" \
--dataset_config_name="unshuffled_deduplicated_sv" \
--max_seq_length="512" \
--per_device_train_batch_size="32" \
--per_device_eval_batch_size="32" \
--adafactor \
--learning_rate="0.005" \
--weight_decay="0.001" \
--warmup_steps="2000" \
--overwrite_output_dir \
--logging_steps="100" \
--save_steps="1000" \
--eval_steps="1000" \
--push_to_hub