code: def _compute(self, predictions, references):
      pred_dict = {
          prediction["id"]: prediction["prediction_text"]
          for prediction in predictions
      }
      dataset = [
          {
              "paragraphs": [
                  {
                      "qas": [
                          {
                              "answers": [
                                  {"text": answer_text}
                                  for answer_text in ref["answers"][
                                      "text"
                                  ]
                              ],
                              "id": ref["id"],
                          }
                          for ref in references
                      ]
                  }
              ]
          }
      ]
      score = evaluate(dataset=dataset, predictions=pred_dict)
      return score
  
imports: import datasets
  from .evaluate import evaluate
label_desc: Use image node_id 2 for calling the CUAD obj's underlying member method code with example usage: obj._compute(predictions, references) and returns: score