code: def _build_model(self):
      self.model = Graph2Seq.load_checkpoint(
          self.opt["checkpoint_save_path"], "best.pt"
      ).to(self.device)
  
      self.inference_tool = GeneratorInferenceWrapper(
          cfg=self.opt,
          model=self.model,
          beam_size=3,
          lower_case=True,
          tokenizer=word_tokenize,
      )
  
file_path: graph4nlp/examples/pytorch/semantic_parsing/graph2seq/inference.py
imports: import numpy
  import torch
  from nltk.tokenize import word_tokenize
  from graph4nlp.pytorch.inference_wrapper.generator_inference_wrapper import GeneratorInferenceWrapper
  from graph4nlp.pytorch.models.graph2seq import Graph2Seq
  from args import get_args
label_desc: Use image node_id 3 for calling the Jobs obj's underlying member method code with example usage: obj._build_model() without return types