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

Missing files when saving vision models #1475

Open
Ammar-Alnagar opened this issue Dec 26, 2024 · 1 comment
Open

Missing files when saving vision models #1475

Ammar-Alnagar opened this issue Dec 26, 2024 · 1 comment

Comments

@Ammar-Alnagar
Copy link

when saving a finetuned multimodal llm using :

True: model.save_pretrained_merged
True: model.push_to_hub_merged(

the missing files are the following :
1-tokenizer.json
2-tokenizer_config.json
3-special_toekns_map.json
4-model.safetensors.index
5-preprocessor_config.json
6-chat_template.json

@Ammar-Alnagar
Copy link
Author

and whenever i try loading them i get the following error : ValueError: Supplied state dict for vision_model.global_transformer.layers.0.mlp.fc1.weight does not contain bitsandbytes__* and possibly other quantized_stats components.

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

1 participant