--push_to_hub: whether to push the trained model to the Hub --checkpointing_steps: frequency of saving a checkpoint as the model trains; this is useful if training is interrupted, you can continue training from that checkpoint by adding --resume_from_checkpoint to your training command Bring your dataset, and let the training script handle everything else!  Training script The code for preprocessing the dataset and the training loop is found in