code: def main(cfg: DictConfig) -> None:
      logging.info(f"Config: {OmegaConf.to_yaml(cfg)}")
      trainer = pl.Trainer(**cfg.trainer)
      exp_manager(trainer, cfg.get("exp_manager", None))
      bert_joint_ir_model = BertJointIRModel(cfg.model, trainer=trainer)
      trainer.fit(bert_joint_ir_model)
  
imports: import pytorch_lightning
  from omegaconf import DictConfig, OmegaConf
  from nemo.collections.nlp.models import BertJointIRModel
  from nemo.core.config import hydra_runner
  from nemo.utils import logging
  from nemo.utils.exp_manager import exp_manager
label_desc: Use image node_id 1 for calling a global function with example usage: main(cfg) without return types