code: def nemo_tarred_manifest_path(
      nemo_manifest_path: Path,
  ) -> Tuple[str, str]:
      """10 utterances of length 1s as a NeMo tarred manifest."""
      from lhotse.serialization import SequentialJsonlWriter, load_jsonl
      from lhotse.shar.writers import TarWriter
  
      root = nemo_manifest_path.parent / "nemo_tar"
      root.mkdir(exist_ok=True)
  
      with TarWriter(
          f"{root}/audios_%01d.tar", shard_size=5
      ) as tar_writer, SequentialJsonlWriter(
          root / "tarred_audio_filepaths.jsonl"
      ) as mft_writer:
          for idx, d in enumerate(load_jsonl(nemo_manifest_path)):
              p = d["audio_filepath"]
              name = Path(p).name
              with open(p, "rb") as f:
                  tar_writer.write(name, BytesIO(f.read()))
              mft_writer.write(
                  {
                      **d,
                      "audio_filepath": name,
                      "shard_id": int(idx > 4),
                  }
              )
      return mft_writer.path, f"{root}/audios__OP_0..1_CL_.tar"
  
imports: from io import BytesIO
  from itertools import islice
  from pathlib import Path
  from typing import Dict, List, Tuple
  import pytest
  import torch
  from omegaconf import OmegaConf
  from nemo.collections.common.data.lhotse import get_lhotse_dataloader_from_config
label_desc: Use image node_id 5 for calling a global function with example usage: nemo_tarred_manifest_path(nemo_manifest_path) and returns: mft_writer,  root, str