We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can reasonwang/flan-alpaca-gpt4-lora-xl be further fine tuned?
If yes, what would be the steps for it?
The text was updated successfully, but these errors were encountered:
You can load the model and finetune it just like in train.py.
Sorry, something went wrong.
Thanks.
Do you mean fine tune the base model from scratch?!
No, you can load "flan-alpaca-gpt4-lora-xl" like this:
model_name = "reasonwang/flan-t5-xl-8bit"; peft_model_id = "reasonwang/flan-alpaca-gpt4-lora-xl" tokenizer = transformers.AutoTokenizer.from_pretrained(model_name) base_model = transformers.AutoModelForSeq2SeqLM.from_pretrained(model_name) peft_model = PeftModel.from_pretrained(base_model, peft_model_id)
And finetune this peft_model directly.
No branches or pull requests
Can reasonwang/flan-alpaca-gpt4-lora-xl be further fine tuned?
If yes, what would be the steps for it?
The text was updated successfully, but these errors were encountered: