class_docstr: The ICE Tokenizer is a unified tokenization tool for images, Chinese, and English.
  Source: https://github.com/THUDM/icetk
class_docstr_tok: ["The","ICE","Tokenizer","is","a","unified","tokenization","tool","for","images",",","Chinese",",","and","English",".","Source",":","https",":","\/\/github.com\/THUDM\/icetk"]
code: def decode(self, request: DecodeRequest) -> DecodeRequestResult:
      cache_key = asdict(request)
  
      try:
  
          def do_it():
              return {"text": tokenizer.decode(request.tokens)}
  
          result, cached = self.cache.get(
              cache_key, wrap_request_time(do_it)
          )
      except Exception as e:
          error: str = f"ICE Tokenizer error: {e}"
          return DecodeRequestResult(
              success=False, cached=False, error=error, text=""
          )
  
      return DecodeRequestResult(
          success=True,
          cached=cached,
          text=result["text"],
          request_time=result["request_time"],
      )
  
file_path: H2O/h2o_hf/helm/src/helm/proxy/clients/ice_tokenizer_client.py
imports: from dataclasses import asdict
  from icetk import icetk
  from helm.common.cache import Cache, CacheConfig
  from helm.common.request import Request, RequestResult
  from helm.common.tokenization_request import TokenizationRequest, TokenizationRequestResult, DecodeRequest, DecodeRequestResult, TokenizationToken
  from .client import Client, wrap_request_time
label_desc: Use image node_id 4 for calling the ICETokenizerClient obj's underlying member method code with example usage: obj.decode(request) and returns: DecodeRequestResult, dict, DecodeRequestResult