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

[BUG/Help] <pytorch_model.bin don't exists> #660

Open
1 task done
sc-carson opened this issue Jan 30, 2024 · 4 comments
Open
1 task done

[BUG/Help] <pytorch_model.bin don't exists> #660

sc-carson opened this issue Jan 30, 2024 · 4 comments

Comments

@sc-carson
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

使用ptuning进行微调后,在checkpoint-3000路径下并没有pytorch_model.bin,只有training_args.bin,无法运行prefix_state_dict = torch.load(os.path.join(CHECKPOINT_PATH, "pytorch_model.bin"))

Expected Behavior

No response

Steps To Reproduce

bash train.sh

Environment

- OS:Ubuntu 22.04
- Python:Python 3.10.13
- Transformers:
- PyTorch:4.36.2
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :True

Anything else?

No response

@bazinga014
Copy link

我也是,请问解决了吗

@liumazeze
Copy link

liumazeze commented Apr 2, 2024

同,请问有无解决方案?

@liumazeze
Copy link

已解决 -> transforms库降到 requirements.txt 中的版本即可解决

@2197808908a
Copy link

已解决 -> transforms库降到 requirements.txt 中的版本即可解决

还是不行

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

4 participants