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

14.fine-tuning-llama-2-7b-on-custom-dataset.ipynb gives error: AttributeError: 'LlamaForCausalLM' object has no attribute 'merge_and_unload' #5

Open
nklsbckmnn opened this issue Sep 30, 2023 · 2 comments

Comments

@nklsbckmnn
Copy link

14.fine-tuning-llama-2-7b-on-custom-dataset.ipynb gives me the error "AttributeError: 'LlamaForCausalLM' object has no attribute 'merge_and_unload'" when I try to run it on Google Colab Pro at this line: "merged_model = model.merge_and_unload()". Any ideas? Thanks.

@SaraTom
Copy link

SaraTom commented Jan 18, 2024

same issue

@Aditi1612
Copy link

Is there any solution for the issue?

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

3 participants