code: def from_name(cls, name: str):
      return cls(ModelArgs.from_name(name))
  
imports: from dataclasses import dataclass
  from typing import Optional
  import torch
  import torch.nn
  from torch import Tensor
  from torch.nn import functional
label_desc: Use image node_id 4 for calling the Transformer obj's underlying member method code with example usage: obj.from_name(cls, name) and returns: cls