code: def get_hf_audio_to_text_char_dataset(
      config: DictConfig,
      global_rank: int,
      world_size: int,
      augmentor=None,
  ):
      if "streaming" in config and config["streaming"]:
          dataset = HFIterableAudioToCharDataset(
              labels=config["labels"],
              audio_key=config.get("audio_key", "audio.array"),
              text_key=config["text_key"],
              sample_rate_key=config.get(
                  "sample_rate_key", "audio.sampling_rate"
              ),
              hf_data_cfg=config["hf_data_cfg"],
              sample_rate=config["sample_rate"],
              augmentor=augmentor,
              trim=config.get("trim_silence", False),
              return_sample_id=config.get("return_sample_id", False),
              id_key=config.get("id_key", None),
              channel_selector=config.get("channel_selector", None),
              normalize_db=config.get("normalize_db", None),
              ref_channel=config.get("ref_channel", None),
              global_rank=global_rank,
              world_size=world_size,
              shuffle_n=config.get("shuffle_n", 2048),
              shuffle_seed=config.get("shuffle_seed", None),
              parser=config.get("parser", "en"),
              blank_index=config.get("blank_index", -1),
              unk_index=config.get("unk_index", -1),
              normalize=config.get("normalize", False),
              normalize_text=config.get("normalize_text", False),
              symbols_to_keep=config.get("symbols_to_keep", None),
              pad_id=config.get("pad_id", 0),
              bos_id=config.get("bos_id", None),
              eos_id=config.get("eos_id", None),
          )
      else:
          dataset = HFAudioToCharDataset(
              labels=config["labels"],
              audio_key=config.get("audio_key", "audio.array"),
              text_key=config["text_key"],
              sample_rate_key=config.get(
                  "sample_rate_key", "audio.sampling_rate"
              ),
              hf_data_cfg=config["hf_data_cfg"],
              sample_rate=config["sample_rate"],
              augmentor=augmentor,
              trim=config.get("trim_silence", False),
              bos_id=config.get("bos_id", None),
              eos_id=config.get("eos_id", None),
              pad_id=config.get("pad_id", 0),
              return_sample_id=config.get("return_sample_id", False),
              id_key=config.get("id_key", None),
              channel_selector=config.get("channel_selector", None),
              normalize_db=config.get("normalize_db", None),
              ref_channel=config.get("ref_channel", None),
              parser=config.get("parser", "en"),
              blank_index=config.get("blank_index", -1),
              unk_index=config.get("unk_index", -1),
              normalize=config.get("normalize", False),
              normalize_text=config.get("normalize_text", False),
              symbols_to_keep=config.get("symbols_to_keep", None),
          )
  
      return dataset
  
label_desc: Use image node_id 2 for calling a global function with example usage: get_hf_audio_to_text_char_dataset(config, global_rank, world_size, augmentor) and returns: dataset