Add an evaluate_model() function that computes an evaluation metric for the trained model. The save_model() function still saves the model to a file using torch.save(). The upload_to_sharepoint() function has been updated to upload both the model file and the evaluation metrics file to the specified target folder in the SharePoint Online document library. import os […]