code: def format_text(text: str):
      """Formats text by decoding into utf-8."""
      return " ".join(
          [
              w.encode("latin1").decode("utf-8")
              for w in text.strip().split(" ")
          ]
      )
  
imports: import os
  from typing import List, Optional, Set
  import pandas
  from ludwig.datasets.dataset_config import DatasetConfig
  from ludwig.datasets.loaders.dataset_loader import DatasetLoader
label_desc: Use image node_id 1 for calling a global function with example usage: format_text(text) and returns: str