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

Request for SmolMLv1 Pretraining Code #5

Open
JT-Ushio opened this issue Nov 22, 2024 · 1 comment
Open

Request for SmolMLv1 Pretraining Code #5

JT-Ushio opened this issue Nov 22, 2024 · 1 comment

Comments

@JT-Ushio
Copy link

Hi, thank you for the amazing work! I'm interested in reproducing the pretraining process of SmolMLv1 (135M) on the SmolLM-Corpus. However, I noticed that the repository currently only includes fine-tuning scripts. Could you please share the pretraining code or provide a tutorial? I would greatly appreciate your help.

Thank you!

@loubnabnl
Copy link
Collaborator

Hi, we use nanotron for the pre-training https://github.com/huggingface/nanotron/

Here's the config for training SmolLM v1 135M
https://gist.github.com/eliebak/4263659706519536b7eebfe6d9815c60
You might need to adapt the dataset part to use nanosets with tokenized datasets cc @eliebak

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