Download code/config/cfg_sft.yaml from fhyfhy/HRM-Text-checkpoints: direct link, hf CLI and curl.
- Browser
- Download file 810 Bytes
-
https://huggingface.co/fhyfhy/HRM-Text-checkpoints/resolve/main/code/config/cfg_sft.yaml
- Command line
-
hf download hf://fhyfhy/HRM-Text-checkpoints/code/config/cfg_sft.yaml
-
curl -L -o cfg_sft.yaml https://huggingface.co/fhyfhy/HRM-Text-checkpoints/resolve/main/code/config/cfg_sft.yaml
810 Bytes
| defaults: | |
| - arch/net@arch: hrm | |
| - arch/size@arch: XL | |
| - data: sft | |
| - _self_ | |
| hydra: | |
| output_subdir: null | |
| # REQUIRED — set via CLI override: | |
| # resume_from=/path/to/pretrain_ckpt | |
| # data.path=/path/to/prepared_sft_data | |
| # +checkpoint_path=/path/to/sft_out | |
| resume_from: ??? | |
| weights_only_resume_from_ema: false # Set true to swap EMA into model and reset optim | |
| global_batch_size: 32768 | |
| epochs: 5 | |
| checkpoint_interval: 1 | |
| lr: 3.0e-5 | |
| lr_min_ratio: 0.1 | |
| lr_warmup_steps: 0 | |
| arch: | |
| bp_warmup_ratio: 0.0 # SFT: no BP warmup (use bp_max_steps from step 1) | |
| weight_decay: 0.1 | |
| beta1: 0.9 | |
| beta2: 0.95 | |
| # EMA decay tuned for short SFT runs. At ~1300 steps the EMA buffer ends up | |
| # tracking mostly SFT trajectory, and using --use-ema at eval gives a small | |
| # regularization boost over raw weights. | |
| ema: 0.999 | |