Quick Start
About 73 wordsLess than 1 minute
2025-06-30
The launch command is similar to LlamaFactory. Below is an example using a loss weighter:
FORCE_TORCHRUN=1 DISABLE_VERSION_CHECK=1 dataflex-cli train examples/train_lora/weighters/loss.yamlUnlike vanilla LlamaFactory, your .yaml config file must include DataFlex-specific parameters:
### dynamic_train
train_type: dynamic_weight
components_cfg_file: src/dataflex/configs/components.yaml
component_name: loss
warmup_step: 1
train_step: 3 # total train steps (including warmup)
