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

this is no 'pytorch_model_main.bin' in mustango of huggingface.but in code train.py row395 : model.load_state_dict(torch.load("{}/pytorch_model_main.bin".format(hf_model_path), map_location="cpu")) #13

Open
bocaidoufuyushiren opened this issue Apr 8, 2024 · 1 comment

Comments

@bocaidoufuyushiren
Copy link

this is no 'pytorch_model_main.bin' in mstango of huggingface.but in code train.py row395 : model.load_state_dict(torch.load("{}/pytorch_model_main.bin".format(hf_model_path), map_location="cpu"))
image
image
how can I finetune this model?

@bocaidoufuyushiren bocaidoufuyushiren changed the title this is no 'pytorch_model_main.bin' in mstango of huggingface.but in code train.py row395 : model.load_state_dict(torch.load("{}/pytorch_model_main.bin".format(hf_model_path), map_location="cpu")) this is no 'pytorch_model_main.bin' in mustango of huggingface.but in code train.py row395 : model.load_state_dict(torch.load("{}/pytorch_model_main.bin".format(hf_model_path), map_location="cpu")) Apr 8, 2024
@kily-wmz
Copy link

hi, did you resolve this issue?

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