code: def test_super_glue():
      from evaluate import load
  
      # https://huggingface.co/datasets/boolq
      # passage, question, answer (as bool only though, but can ask LLM to only say true or false)
      super_glue_metric = load(
          "super_glue", "boolq"
      )  # any of ["copa", "rte", "wic", "wsc", "wsc.fixed", "boolq", "axg"]
      predictions = [0, 1]
      references = [0, 1]
      results = super_glue_metric.compute(
          predictions=predictions, references=references
      )
      assert results == {"accuracy": 1.0}
  
file_path: h2ogpt/tests/test_metrics.py
imports: from tests.utils import wrap_test_forked
label_desc: Use image node_id 11 for calling a global function with example usage: test_super_glue() without return types