Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

model.safetensors doesn't exist in preset directory #2125

Open
omkar-334 opened this issue Mar 4, 2025 · 0 comments
Open

model.safetensors doesn't exist in preset directory #2125

omkar-334 opened this issue Mar 4, 2025 · 0 comments
Assignees

Comments

@omkar-334
Copy link

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.

DeBERTA HF link - https://huggingface.co/microsoft/deberta-v3-small/tree/main

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?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants