Machine Learning, AI, NLP, Programming, Deep Dives.
Model Once it’s done training, you can run the final evaluation metrics, save the model and then save the state. This will build the metrics for when you push it to the hub for your model page. trainer.evaluate() trainer.save_model(your_path) trainer.save_state() Now you can run the HuggingFace