code: def test_rougue():
      import evaluate
  
      rouge = evaluate.load("rouge")
      predictions = ["hello there", "general kenobi"]
      references = ["hello there", "general kenobi"]
      results = rouge.compute(
          predictions=predictions, references=references
      )
      assert results == {
          "rouge1": 1.0,
          "rouge2": 1.0,
          "rougeL": 1.0,
          "rougeLsum": 1.0,
      }
  
file_path: h2ogpt/tests/test_metrics.py
imports: from tests.utils import wrap_test_forked
label_desc: Use image node_id 6 for calling a global function with example usage: test_rougue() without return types