code: def _squad_agg(key, items):
      predictions, references = zip(*items)
  
      return _squad_metric(
          predictions=predictions, references=references
      ).get(key, 0)
  
imports: import datasets
  from math import exp
  from lm_eval.base import rf, Task
  from functools import partial
  from packaging import version
label_desc: Use image node_id 2 for calling a global function with example usage: _squad_agg(key, items) and returns: _squad_metric