code: def from_hf_to_tfds(hf_name: str) -> str:
      """Converts Huggingface dataset name to a TFDS compatible name.
  
      Huggingface dataset names can contain characters that are not supported in
      TFDS. For example, in Huggingface a dataset name like `a/b` is supported,
      while in TFDS `b` would be parsed as the config.
  
      Examples:
      - `hf_name='codeparrot/github-code'` becomes `codeparrot__github_code`.
  
      Arguments:
        hf_name: the dataset name in Huggingface.
  
      Returns:
        the TFDS compatible dataset name.
      """
      return (
          hf_name.replace("-", "_")
          .replace(".", "_")
          .replace("/", "__")
          .lower()
      )
  
imports: from __future__ import annotations
  import datetime
  import functools
  import io
  import itertools
  import multiprocessing
  import os
  from typing import Any, Dict, Mapping, Optional, Tuple, Type, Union
  from absl import logging
  from etils import epath
  import numpy
  from tensorflow_datasets.core import dataset_builder
  from tensorflow_datasets.core import dataset_info
  from tensorflow_datasets.core import download
  from tensorflow_datasets.core import features
  from tensorflow_datasets.core import file_adapters
  from tensorflow_datasets.core import lazy_imports_lib
  from tensorflow_datasets.core import registered
  from tensorflow_datasets.core import split_builder
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils import dtype_utils
  from tensorflow_datasets.core.utils import py_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: from_hf_to_tfds(hf_name) and returns: hf_name