code: def from_bytes(self, data, **kwargs):
      pkuseg_data = {
          "features_b": b"",
          "weights_b": b"",
          "processors_data": None,
      }
  
      def deserialize_pkuseg_features(b):
          pkuseg_data["features_b"] = b
  
      def deserialize_pkuseg_weights(b):
          pkuseg_data["weights_b"] = b
  
      def deserialize_pkuseg_processors(b):
          pkuseg_data["processors_data"] = srsly.msgpack_loads(b)
  
      deserializers = {
          "cfg": lambda b: self._set_config(srsly.json_loads(b)),
          "pkuseg_features": deserialize_pkuseg_features,
          "pkuseg_weights": deserialize_pkuseg_weights,
          "pkuseg_processors": deserialize_pkuseg_processors,
      }
      util.from_bytes(data, deserializers, [])
  
      if pkuseg_data["features_b"] and pkuseg_data["weights_b"]:
          with tempfile.TemporaryDirectory() as tempdir:
              tempdir = Path(tempdir)
              with open(tempdir / "features.msgpack", "wb") as fileh:
                  fileh.write(pkuseg_data["features_b"])
              with open(tempdir / "weights.npz", "wb") as fileh:
                  fileh.write(pkuseg_data["weights_b"])
              try:
                  import spacy_pkuseg
              except ImportError:
                  raise ImportError(
                      "spacy-pkuseg not installed. To use this model, "
                      + _PKUSEG_INSTALL_MSG
                  ) from None
              self.pkuseg_seg = spacy_pkuseg.pkuseg(str(tempdir))
          if pkuseg_data["processors_data"]:
              processors_data = pkuseg_data["processors_data"]
              (
                  user_dict,
                  do_process,
                  common_words,
                  other_words,
              ) = processors_data
              self.pkuseg_seg.preprocesser = spacy_pkuseg.Preprocesser(
                  user_dict
              )
              self.pkuseg_seg.postprocesser.do_process = do_process
              self.pkuseg_seg.postprocesser.common_words = set(
                  common_words
              )
              self.pkuseg_seg.postprocesser.other_words = set(
                  other_words
              )
  
      return self
  
imports: import tempfile
  import warnings
  from enum import Enum
  from pathlib import Path
  from typing import Any, Callable, Dict, Iterable, List, Optional
  import srsly
  from ...None import util
  from ...errors import Errors, Warnings
  from ...language import BaseDefaults, Language
  from ...scorer import Scorer
  from ...tokens import Doc
  from ...training import Example, validate_examples
  from ...util import DummyTokenizer, load_config_from_str, registry
  from ...vocab import Vocab
  from .lex_attrs import LEX_ATTRS
  from .stop_words import STOP_WORDS
label_desc: Use image node_id 9 for calling the ChineseTokenizer obj's underlying member method code with example usage: obj.from_bytes(data) and returns: self