class_docstr: High-level Python wrapper for a bloom.cpp model.
code: def _supported_generate(self, tokens: Sequence[int], *args):
      # Check unsupporeted parameters
      unsupported_arg = [
          "top_k",
          "top_p",
          "temp",
          "repeat_penalty",
          "reset",
          "frequency_penalty",
          "presence_penalty",
          "tfs_z",
          "mirostat_mode",
          "mirostat_tau",
          "mirostat_eta",
      ]
      defult_value = {
          "top_k": 40,
          "top_p": 0.95,
          "temp": 0.80,
          "repeat_penalty": 1.1,
          "reset": True,
          "frequency_penalty": 0.0,
          "presence_penalty": 0.0,
          "tfs_z": 1.0,
          "mirostat_mode": 0,
          "mirostat_tau": 5.0,
          "mirostat_eta": 0.1,
      }
      for index in range(len(args)):
          if args[index] != defult_value[unsupported_arg[index]]:
              warnings.warn(
                  f"The parameter {unsupported_arg[index]} is temporarily "
                  "unsupported, please use the default value."
              )
  
      invalidInputError(
          self.ctx is not None,
          "The attribute `ctx` of `Bloom` object is None.",
      )
      while True:
          token = self.forward(tokens)
          tokens_or_none = yield token
          tokens.append(token)
          if tokens_or_none is not None:
              tokens.extend(tokens_or_none)
  
imports: from .bloom_cpp import bloom_load, bloom_free, bloom_run
  from .bloom_cpp import bloom_tokenize, bloom_detokenize, bloom_forward, bloom_eval, bloom_embed
  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 11 for calling the Bloom obj's underlying member method code with example usage: obj._supported_generate(tokens) without return types