docstr: Build a new model instance.
docstr_tok: ["Build","a","new","model","instance","."]
code: def build_model(cls, cfg: MaeImageClassificationConfig, task=None):
      """Build a new model instance."""
  
      return cls(cfg)
  
imports: import logging
  from dataclasses import dataclass
  from enum import Enum, auto
  from typing import Any, Optional
  import numpy
  from omegaconf import II, MISSING
  import torch
  import torch.nn
  import torch.nn.functional
  from fairseq import checkpoint_utils, tasks
  from omegaconf import open_dict
  from fairseq.dataclass import FairseqDataclass
  from fairseq.models import BaseFairseqModel, register_model
  from .mae import interpolate_pos_embed
label_desc: Use image node_id 2 for calling the MaeImageClassificationModel obj's underlying member method code with example usage: obj.build_model(cls, cfg, task) and returns: cls