Files
alignment-handbook/recipes/smollm/README.md
T
Loubna Ben Allal 73dce0c35d Add Smollm (#194)
* add smollm

* add to news
2024-08-19 08:47:20 +02:00

1.1 KiB

Instructions to train SmolLM-Instruct

We build the SmolLM-Instruct (v0.2) models (135M, 360M and 1.7B) by doing SFT on a mix of these datasets:

Setup

Follow the installation instructions in https://github.com/huggingface/alignment-handbook/tree/main?tab=readme-ov-file#installation-instructions

Training

We train the models on 8 GPUs using the following command:

ACCELERATE_LOG_LEVEL=info accelerate launch --config_file recipes/accelerate_configs/deepspeed_zero3.yaml scripts/run_sft.py recipes/smollm/sft/config.yaml