    def setup_task(cls, cfg: DictConfig, **kwargs):
        """Setup the task (e.g., load dictionaries).

        Args:
            cfg (omegaconf.DictConfig): parsed command-line arguments
        """
        return cls(cfg, **kwargs)
Setup the task (e.g., load dictionaries).

Args:
cfg (omegaconf.DictConfig): parsed command-line arguments
fairseq/tasks/fairseq_task.py