code: def create(model_config, reinforcer, optimizer, storage, total_frames, batches_per_epoch,
             callbacks=None, scheduler=None, openai_logging=False):
      
      from vel.openai.baselines import logger
      logger.configure(dir=model_config.openai_dir())
  
      return RlTrainCommand(
          model_config=model_config,
          reinforcer=reinforcer,
          optimizer_factory=optimizer,
          scheduler_factory=scheduler,
          storage=storage,
          callbacks=callbacks,
          total_frames=int(float(total_frames)),
          batches_per_epoch=int(batches_per_epoch),
          openai_logging=openai_logging
      )
docs: Vel factory function