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

Support loading safetensors format #43

Open
gals opened this issue Jun 23, 2024 · 1 comment
Open

Support loading safetensors format #43

gals opened this issue Jun 23, 2024 · 1 comment

Comments

@gals
Copy link

gals commented Jun 23, 2024

By default classifiers look for pytorch_model.bin, which doesn't exist in newer versions of transformers:

pytorch_model.bin: no such file or directory

The trained model is stored using https://huggingface.co/docs/safetensors/en/index.
For example, see huggingface/transformers#28863.

@matteo-grella
Copy link
Member

Hi @gals

We made some progresses here.

Do you have some capacity to integrate this safetensors implementation into cybertron?

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