How to persist cloud-based transformers
## ❓ Questions & Help

I'm using this repo in the cloud and attempting to persist the model fails as it seems HDF5 and thus h5py doesn't support that paradigm per https://github.com/h5py/h5py/issues/925

What is the recommended method of saving the model in this scenario? Thanks!

Are you trying to serialize which type of model to .hdf5 file? A pre-trained model such as BertFor* or a custom model trained with Transformers? Are you using GCP or Azure or AWS?

> ##  Questions & Help
> I'm using this repo in the cloud and attempting to persist the model fails as it seems HDF5 and thus h5py doesn't support that paradigm per [h5py/h5py#925](https://github.com/h5py/h5py/issues/925)
> 
> What is the recommended method of saving the model in this scenario? Thanks!<|||||>Hi @TheEdoardo93. I'm trying to serialize TFBertFor* that has been fine-tuned. I'm on Azure.<|||||>This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
