code: def create(model_config, model, source, storage, phases, callbacks=None, restart=True):
      
      return PhaseTrainCommand(
          model_config=model_config,
          model_factory=model,
          source=source,
          storage=storage,
          phases=phases,
          callbacks=callbacks,
          restart=restart
      )
docs: Vel factory function