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

saving pytorch_model.bin instead of safetensors #1560

Open
oldaandozerskaya opened this issue Dec 7, 2023 · 1 comment
Open

saving pytorch_model.bin instead of safetensors #1560

oldaandozerskaya opened this issue Dec 7, 2023 · 1 comment

Comments

@oldaandozerskaya
Copy link

oldaandozerskaya commented Dec 7, 2023

I'm fine-tuning T5 and saving the resulting models. Unfortunately, I see all files in the folder except pytorch_model.bin. Instead of it, I have the .safetensors file. How can I save pytorch_model.bin instead of safetensors?

@oldaandozerskaya oldaandozerskaya changed the title pytorch_model.bin is not saved saving pytorch_model.bin instead of safetensors Dec 9, 2023
@kenrubio
Copy link

I am also encountering this when training classification models. I need the pytorch_model.bin for the BYOM in Sagemaker.

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

No branches or pull requests

2 participants