- YAML Config
You choose:
- task
- model
- training mode
Example:
MNLI + DistilBERT + SFT
- forge.py
Main entrypoint
Reads the config
and decides what to run
- Prepare Run
- load dataset
- load tokenizer/processor
- load model
- choose trainer
- Train
Possible paths:
- SFT
- KD
- RL
Your first run:
SFT / CE-only
- Save Outputs
Output dir contains:
- config
- metadata
- logs
- checkpoints
- final model
- Track Progress
During training:
- logs
- evaluation
- checkpoints
- resume state