You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was writing a converter for the DeBERTA-v3 models and while testing I noticed that these models are only provided in the pytorch_model.bin format, and not in model.safetensors format.
A possible workaround would be to convert the pytorch_model.bin to model.safetensors format in keras_hub\src\utils\transformers\safetensor_utils.py and then load the safetensors normally.
Any suggestions?
The text was updated successfully, but these errors were encountered:
I was writing a converter for the DeBERTA-v3 models and while testing I noticed that these models are only provided in the
pytorch_model.bin
format, and not inmodel.safetensors
format.DeBERTA HF link - https://huggingface.co/microsoft/deberta-v3-small/tree/main
A possible workaround would be to convert the
pytorch_model.bin
tomodel.safetensors
format inkeras_hub\src\utils\transformers\safetensor_utils.py
and then load the safetensors normally.Any suggestions?
The text was updated successfully, but these errors were encountered: