def compute_cider(predictions, references):
    """
    predictions: list of strings
    references: list of list of strings
    """
    return cider_scorer.compute_score([{i: [ref for ref in refs]} for i, refs in enumerate(references)],
                                      {i: [pred] for i, pred in enumerate(predictions)})[0]

    predictions: list of strings
    references: list of list of strings
    
vlmeval/dataset/utils/mmsci.py