code: def save_text_tokenizers(
      text_processors: List[TextProcessor],
      path: str,
  ) -> List[TextProcessor]:
      """
      Save all the text tokenizers and record their relative paths, which are
      the corresponding model names, e.g, hf_text.
  
      Parameters
      ----------
      text_processors
          A list of text processors with tokenizers.
      path
          The root path.
  
      Returns
      -------
      A list of text processors with tokenizers replaced by their local relative paths.
      """
      for per_text_processor in text_processors:
          per_path = os.path.join(path, per_text_processor.prefix)
          per_text_processor.tokenizer.save_pretrained(per_path)
          per_text_processor.tokenizer = per_text_processor.prefix
  
      return text_processors
  
file_path: autogluon/multimodal/src/autogluon/multimodal/utils/save.py
imports: import logging
  import os
  from typing import Dict, List, Optional, Tuple, Union
  from autogluon.common.utils.utils import setup_outputdir
  from ..constants import AUTOMM, HF_MODELS, LAST_CHECKPOINT
  from ..data import TextProcessor
label_desc: Use image node_id 1 for calling a global function with example usage: save_text_tokenizers(text_processors, path) and returns: text_processors