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

Bug when finetuning Mistral 7B #6

Closed
MLlove0402 opened this issue Dec 7, 2023 · 1 comment
Closed

Bug when finetuning Mistral 7B #6

MLlove0402 opened this issue Dec 7, 2023 · 1 comment

Comments

@MLlove0402
Copy link

Hello, Thanks you for great work
I'm follow your code mistral-finetune-own-data.ipynb, but when the code run at:
accelerator = Accelerator(fsdp_plugin=fsdp_plugin)
model = accelerator.prepare_model(model)

It throw an error:
ValueError: Must flatten tensors with uniform requires_grad when use_orig_params=False

How can i fix it.
Thanks you

@linpan
Copy link

linpan commented Jan 4, 2024

ValueError: Can't find 'adapter_config.json' when gguf-export.ipynb

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