code: def ems(prediction, ground_truths):
      return max(
          [exact_match_score(prediction, gt) for gt in ground_truths]
      )
  
file_path: megatron-lm/tools/retro/text_generation/evaluate.py
imports: import sys
  import os
  from tqdm import tqdm
  import string
  import json
  import regex
  import numpy
  from tools.retro.text_generation.metrics import F1Metric
label_desc: Use image node_id 6 for calling a global function with example usage: ems(prediction, ground_truths) and returns: max