class_docstr: High-level Python wrapper for a chatglm.cpp model.
class_docstr_tok: ["High-level","Python","wrapper","for","a","chatglm.cpp","model","."]
docstr: Detokenize a list of tokens.
  
  Args:
      tokens: The list of tokens to detokenize.
  
  Returns:
      The detokenized string.
docstr_tok: ["Detokenize","a","list","of","tokens",".","Args",":","tokens",":","The","list","of","tokens","to","detokenize",".","Returns",":","The","detokenized","string","."]
code: def detokenize(self, tokens: List[int]) -> str:
      """Detokenize a list of tokens.
  
      Args:
          tokens: The list of tokens to detokenize.
  
      Returns:
          The detokenized string.
      """
      if isinstance(tokens, int):
          tokens = [tokens]
      return chatglm_detokenize(self.ctx, tokens)
  
file_path: BigDL/python/llm/src/bigdl/llm/ggml/model/chatglm/chatglm.py
imports: from .chatglm_cpp import chatglm_load, chatglm_tokenize, chatglm_detokenize, chatglm_forward, chatglm_eos_token
  from bigdl.llm.utils.common import invalidInputError
  from bigdl.llm.ggml.model.generation import GenerationMixin
  from typing import List, Optional, Generator, Sequence, Union
  import time
  import uuid
  import warnings
label_desc: Use image node_id 7 for calling the ChatGLM obj's underlying member method code with example usage: obj.detokenize(tokens) and returns: chatglm_detokenize