code: def test_wiki_split():
      sources = ["About 95 species are currently accepted ."]
      predictions = ["About 95 you now get in ."]
      references = [["About 95 species are currently known ."]]
      import evaluate
  
      wiki_split = evaluate.load("wiki_split")
      results = wiki_split.compute(
          sources=sources,
          predictions=predictions,
          references=references,
      )
      assert results == {
          "sari": 21.805555555555557,
          "sacrebleu": 14.535768424205482,
          "exact": 0.0,
      }
  
file_path: h2ogpt/tests/test_metrics.py
imports: from tests.utils import wrap_test_forked
label_desc: Use image node_id 10 for calling a global function with example usage: test_wiki_split() without return types