How can I save the model in an s3 bucket

#18
by Kaya2012 - opened

I want to save the model in an s3 bucket without training. How can i save the model and use this model in the s3 to create a sagemaker endpoint

I assume you can load the model as shown in the example code snippet, then do model.save_pretrained("path_to_a_folder")which will save all files to your folder.

Next you can call from_pretrained again where you point to that folder.

Sign up or log in to comment