code: def __get_hypo(dir_path: str, models: str):
      if len(models) > 0:
          paths = [
              op.join(dir_path, f"pred_{m}.txt")
              for m in models.split(",")
          ]
      else:
          paths = glob(op.join(dir_path, "pred_*.txt"))
      return VizSeqDataSources(paths)
  
file_path: vizseq/vizseq/_view/mem_cached_data_getters.py
imports: from typing import List
  from functools import lru_cache
  import os.path
  from glob import glob
  from vizseq._data import VizSeqDataSources
  from vizseq.scorers import get_scorer
label_desc: Use image node_id 4 for calling a global function with example usage: __get_hypo(dir_path, models) and returns: VizSeqDataSources