docstr: Set model_path automatically reload sentencepiece tokenizer
docstr_tok: ["Set","model_path","automatically","reload","sentencepiece","tokenizer"]
code: def model_path(self, model_path: str):
      """Set model_path automatically reload sentencepiece tokenizer"""
      self._model_path = model_path
      if model_path:
          self.load_spm_tokenizer()
  
file_path: camphr/packages/camphr/camphr/tokenizer/sentencepiece/__init__.py
imports: from pathlib import Path
  from camphr.serde import SerDe
  import shutil
  from typing import Any, List, TYPE_CHECKING
  from camphr.doc import DocProto, Doc
label_desc: Use image node_id 7 for calling the Tokenizer obj's underlying member method code with example usage: obj.model_path(model_path) without return types