-
-
Notifications
You must be signed in to change notification settings - Fork 973
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
Type Error: '<=' not supported between instances of 'LoraConfig' and 'int' #27
Comments
@qy1026 Does this happen if you run the Alpaca example via Google Colab? |
use get_peft_model(model, r, target_modules, ...), DO NOT use get_peft_model(model, config) |
@qy1026 I'm sorry - are you saying the calling convention for Am I doing something else wrong which causes ur code to break? |
I want to combine unsloth with a qlora fitune framework named firefly. The code of model and LoraConfig is as follows:
while the code in unsloth is :
I wrongly pass the parameter |
@qy1026 Oh ok!!! Tell me how the finetuning goes! Hopefully it makes it superfast!! :) Again thanks for using Unsloth! |
There is an Error when I implement unsloth. I also propose this issue in peft github repo.
huggingface/peft#1248
The text was updated successfully, but these errors were encountered: