code: def format_spm_text(symbols):
      """Decode a text in SPM (https://github.com/google/sentencepiece) format."""
      return (
          "".join(format_text(symbols).decode("utf-8").split())
          .replace("\u2581", " ")
          .strip()
          .encode("utf-8")
      )
  
imports: from __future__ import print_function
  import codecs
  import collections
  import json
  import math
  import os
  import sys
  import time
  from distutils import version
  import tensorflow
label_desc: Use image node_id 14 for calling a global function with example usage: format_spm_text(symbols) and returns: str