Finally, you are ready to train your model! Call fit() with your training and validation datasets, the number of epochs,
and your callbacks to fine-tune the model:

model.fit(
     tf_train_dataset,
     validation_data=tf_eval_dataset,
     callbacks=callbacks,
     epochs=num_epochs,
 )

Congratulations! You have fine-tuned your model and shared it on the 🤗 Hub. You can now use it for inference!