code: def __init__(self, lm: AbsLM, vocab_size: int, ignore_id: int = 0):
      assert check_argument_types()
      super().__init__()
      self.lm = lm
      self.sos = vocab_size - 1
      self.eos = vocab_size - 1
  
      # ignore_id may be assumed as 0, shared with CTC-blank symbol for ASR.
      self.ignore_id = ignore_id
  
file_path: espnet/espnet2/lm/espnet_model.py
imports: from typing import Dict, Optional, Tuple
  import torch
  import torch.nn.functional
  from typeguard import check_argument_types
  from espnet2.lm.abs_model import AbsLM
  from espnet2.torch_utils.device_funcs import force_gatherable
  from espnet2.train.abs_espnet_model import AbsESPnetModel
  from espnet.nets.pytorch_backend.nets_utils import make_pad_mask
label_desc: Use image node_id 1 to create a new ESPnetLanguageModel object from inherited base classes: AbsESPnetModel with example: obj = ESPnetLanguageModel(lm, vocab_size, ignore_id)