speculators.cli.train
Train command — thin typer wrapper around TrainConfig argument resolution.
Functions:
-
train_command–Train a speculator model.
train_command
Train a speculator model.
All arguments are forwarded to the training config resolver (use --help to see every available flag). Pass --config with a YAML file, or use --key=value flags directly.
Examples: speculators train --config config.yaml speculators train --verifier-name-or-path meta-llama/... \ --data-path ./output --speculator-type eagle3 torchrun --nproc_per_node=4 -m speculators.train \ --config config.yaml