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

Some questions about LoRA for pre-trained model #124

Open
iopwsy opened this issue Sep 9, 2023 · 0 comments
Open

Some questions about LoRA for pre-trained model #124

iopwsy opened this issue Sep 9, 2023 · 0 comments

Comments

@iopwsy
Copy link

iopwsy commented Sep 9, 2023

It is very excellect code and I have used it for almost anywork and it seems reduce my cost.
However, I still have some questions when using it, if possibile, I hope your response and it may benefit me a lot.

  • I used it with my Net, it works well. However, when I used it on the pre-trained model, it raises the error "has no grad_fn", but if l used loss.requires_grad = True. Itr seems works well. I don't understand whether it is suitable? or make loss have grad means on LoRA linear or basic model?
  • Another question: I use 90k data to finetune the pre-trained it seems no as good as fine tune directly. If I have enough data, how could I fine tune the model based on LoRA? I seem fail to find the suitable hyper-parameter.

I am new in Deeping Learning and these question confuse me recently, if possibile, I hope your answer and that may benefit me a lot.
Thanks a lot!

Best Wish!
Siyuan

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