question about train config
in config/searchqa/default.yaml,train_size is 400,epoch is 4,batch_size is 40 ,so the step is 4*(400/40)=40,but docs/guide/first_experiments.md note that searchqa train process will cost just 30 min and the stop num is 8. So what is the real default config of searchqa?
The YAML config is the authoritative default; the console snippet in the doc is an illustrative mock, and its numbers don't correspond to the shipped defaults.
configs/searchqa/default.yaml:train_size: 400,batch_size: 40, andnum_epochs: 4inherited fromconfigs/_base_/default.yaml→ 10 steps/epoch × 4 epochs = 40 steps, exactly as you computed.- The
[Step 1/8]output indocs/guide/first-experiment.mdalso shows 20-item rollouts andlr=8, neither of which matches the defaults (batch_size: 40,learning_rate: 4) — it's a made-up example, not a trace of a default run. The "~30 min" figure is a rough order of magnitude that depends heavily on backend latency andworkers.
So: real default = 40 gate-evaluated steps; trust the YAML over the doc snippet.
Thanks, and thanks to @LESdylan for the detailed answer. To confirm: configs/searchqa/default.yaml is authoritative. With train_size: 400, batch_size: 40 and the inherited num_epochs: 4, a default run is 40 steps, as you calculated. The illustrative console output and the "~30 min" estimate that caused the confusion no longer appear in the current docs/guide/first-experiment.md. Wall-clock time depends mainly on backend latency and concurrency. Please let us know if anything still looks inconsistent.