class_docstr: Modification for Joint Vision-Language Encoding
class_docstr_tok: ["Modification","for","Joint","Vision-Language","Encoding"]
code: def __init__(self, config):
      super().__init__(config)
      self.config = OmegaConf.create(
          {**asdict(self.Config()), **config}
      )
      self.do_pretraining = self.config.do_pretraining
  
imports: import copy
  import logging
  import random
  from collections import namedtuple
  from collections.abc import MutableMapping
  from dataclasses import asdict, dataclass, field
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  import torch
  from mmf.common.registry import registry
  from mmf.models import BaseModel
  from mmf.modules.losses import MMFLoss
  from mmf.utils.general import retry_n
  from omegaconf import DictConfig, MISSING, OmegaConf
  from torch import nn, Tensor
label_desc: Use image node_id 1 to create a new UNITER object from inherited base classes: BaseModel with example: obj = UNITER(config)