code: def _tokenize(self, text, **kwargs):
      encode_fn = self.tokenizer.encode
      if "add_special_tokens" in inspect.getfullargspec(encode_fn).args:
          encode_params = dict(add_special_tokens=False)
      else:
          encode_params = {}
      return encode_fn(text, **encode_params, **kwargs)
  
imports: import os
  from lm_eval.base import rf
  from lm_eval.tasks.gsm8k import GradeSchoolMath8K, INVALID_ANS
  import re
  import inspect
label_desc: Use image node_id 5 for calling the MGSM obj's underlying member method code with example usage: obj._tokenize(text) and returns: encode_fn