telpirion / MyHerodotus

A Vertex AI-powered project demonstrating a simple, generative AI web app.
https://myherodotus-1025771077852.us-west1.run.app
Apache License 2.0
1 stars 0 forks source link

embeddings service doesn't save model_dict correctly #41

Open telpirion opened 1 week ago

telpirion commented 1 week ago

The torch.save method requires a file path or file-like object as an argument.

Best way to improve this is to Save to a bytes IO file-like object, so as to make saving to GCS easier.