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

two-stage fine-tuning with LoRa #2791

Open
tynyanovnik opened this issue Dec 27, 2024 · 1 comment
Open

two-stage fine-tuning with LoRa #2791

tynyanovnik opened this issue Dec 27, 2024 · 1 comment

Comments

@tynyanovnik
Copy link

Hello,
We want to perform two-stage fine-tuning with LoRa (SFT, then DPO). We have the first LoRA adapter after SFT, and we want to obtain a second adapter after DPO. Is there a way to continue training the same adapter for DPO using swift, without merging the original model weights with the adapter after SFT?

@Jintao-Huang
Copy link
Collaborator

When using DPO, directly train with resume_from_checkpoint.

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

2 participants