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

Outdated reference to .bin in 2. Using 🤗 Transformers - Models - Saving methods #728

Open
sergiopaniego opened this issue Aug 27, 2024 · 1 comment · May be fixed by #729
Open

Outdated reference to .bin in 2. Using 🤗 Transformers - Models - Saving methods #728

sergiopaniego opened this issue Aug 27, 2024 · 1 comment · May be fixed by #729

Comments

@sergiopaniego
Copy link

In 2. Using 🤗 Transformers - Models - Saving methods, it says that when saving the model with:

model.save_pretrained("directory_on_my_computer")

it generates the following structure:

ls directory_on_my_computer

config.json pytorch_model.bin

When saving it, it currently generates a model.safetensors file instead of a pytorch_model.bin.

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants
@sergiopaniego and others