code: def __init__(self):
      self.name = "sp"
      vocab_file_path = str(
          resources.files(YALM_TOKENIZER_PACKAGE).joinpath(
              YALM_TOKENIZER_VOCAB_FILENAME
          )
      )
      self._tokenizer = spm.SentencePieceProcessor(
          model_file=vocab_file_path
      )
      self._vocab_words = self._get_vocab_words()
      self.encoder = {
          token: idx for idx, token in enumerate(self._vocab_words)
      }
      self.decoder = {
          idx: token for idx, token in enumerate(self._vocab_words)
      }
      self.padding_side = "left"
      self.truncation_side = "left"
  
      mask_tokens = self.convert_tokens_to_ids([self.MASK_TOKEN])
      assert len(mask_tokens) == 1
      self.MASK = mask_tokens[0]
  
imports: import importlib_resources
  import torch
  import sentencepiece
label_desc: Use image node_id 1 to create a new YaLMTokenizer object  with example: obj = YaLMTokenizer()