code: def from_model_type(cls, model_type: str):
      return cls(model_type)
  
file_path: jiant/jiant/shared/model_resolution.py
imports: from dataclasses import dataclass
  from enum import Enum
  from jiant.utils.python.datastructures import BiDict
  import transformers
label_desc: Use image node_id 1 for calling the ModelArchitectures obj's underlying member method code with example usage: obj.from_model_type(cls, model_type) and returns: cls