code: def _get_sent_cider(
      hypothesis: List[str],
      references: List[List[str]],
      extra_args: Optional[Dict[str, str]] = None,
  ) -> List[float]:
      n_workers = get_optional_dict(extra_args, "n_workers", 1)
      verbose = get_optional_dict(extra_args, "verbose", False)
      return _CIDErScorer(
          n_workers=n_workers, verbose=verbose
      ).get_sent_scores(hypothesis, references)
  
file_path: vizseq/vizseq/scorers/cider.py
imports: from typing import List, Optional, Dict
  import numpy
  from vizseq.scorers._cider import _CIDErScorer
  from vizseq.scorers import register_scorer, VizSeqScorer, VizSeqScore
  from vizseq._utils.optional import get_optional_dict
label_desc: Use image node_id 1 for calling a global function with example usage: _get_sent_cider(hypothesis, references, extra_args) and returns: _CIDErScorer