code: def __init__(self, opt):
      super(Jobs, self).__init__()
      self.opt = opt
      self._build_device(self.opt)
      self._build_model()
  
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 1 to create a new Jobs object  with example: obj = Jobs(opt)