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

Code for finetuning the instruct models #2

Open
bil-ash opened this issue Nov 9, 2024 · 1 comment
Open

Code for finetuning the instruct models #2

bil-ash opened this issue Nov 9, 2024 · 1 comment

Comments

@bil-ash
Copy link

bil-ash commented Nov 9, 2024

@loubnabnl The code for finetuning the base models are provided in this repo. However, I guess that the same code cannot be used for finetuning the instruct models. So, please provide code for finetuning the instruct models.

@loubnabnl
Copy link
Collaborator

Hi, the current script should work if you change the dataset content column with properly formatted with ChatML conversations. But we added the recipe for building SmolLM2 instruct with the alignment handbook here https://github.com/huggingface/alignment-handbook/blob/main/recipes/smollm2/README.md

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