class_docstr: Runs pre-tokenization with Jieba segmentation tool. It is used in CPM models.
class_docstr_tok: ["Runs","pre-tokenization","with","Jieba","segmentation","tool",".","It","is","used","in","CPM","models","."]
code: def __getstate__(self):
      state = self.__dict__.copy()
      state["sp_model"] = None
      return state
  
imports: import os
  import unicodedata
  from shutil import copyfile
  from typing import Any, Dict, List, Optional, Tuple
  import sentencepiece
  from ...tokenization_utils import AddedToken, PreTrainedTokenizer
  from ...utils import SPIECE_UNDERLINE, logging
label_desc: Use image node_id 4 for calling the CpmTokenizer obj's underlying member method code with example usage: obj.__getstate__() and returns: state