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

Adapter model is just 400 bytes when using finetune.py #38

Closed
KKcorps opened this issue May 26, 2023 · 3 comments · Fixed by #44
Closed

Adapter model is just 400 bytes when using finetune.py #38

KKcorps opened this issue May 26, 2023 · 3 comments · Fixed by #44

Comments

@KKcorps
Copy link
Contributor

KKcorps commented May 26, 2023

I am using the finetune.py script with default params

it works perfectly but when I get the adapter model in the checkpoint directory, the size of adapter model is just 400 bytes.

What can be the reason for this?

@s1ghhh
Copy link

s1ghhh commented May 26, 2023

check your peft version and try:
pip uninstall peft -y
pip install git+https://github.com/huggingface/peft.git@e536616888d51b453ed354a6f1e243fecb02ea08

@taishan1994
Copy link

check your peft version and try: pip uninstall peft -y pip install git+https://github.com/huggingface/peft.git@e536616888d51b453ed354a6f1e243fecb02ea08

it doesn't work. peft version must be 0.4.0.dev.0. but i also meet this problem.

@KKcorps
Copy link
Contributor Author

KKcorps commented May 26, 2023

Yes @taishan1994 is correct, we can't use older version of peft since it doesn't have the qlora changes.

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

Successfully merging a pull request may close this issue.

3 participants