code: def translate(self):
      self.model.eval()
      ret = self.inference_tool.predict(
          raw_contents=[
              "2 dogs are barking . 1 more dogs start to bark . how many dogs are barking"
          ],
          batch_size=1,
      )
      print(ret)
  
file_path: graph4nlp/examples/pytorch/math_word_problem/mawps/src/inference.py
imports: import random
  import warnings
  import numpy
  import torch
  from graph4nlp.pytorch.datasets.mawps import tokenize_mawps
  from graph4nlp.pytorch.inference_wrapper.generator_inference_wrapper_for_tree import GeneratorInferenceWrapper
  from graph4nlp.pytorch.models.graph2tree import Graph2Tree
  from config import get_args
label_desc: Use image node_id 3 for calling the Mawps obj's underlying member method code with example usage: obj.translate() without return types