Skip to content

Commit 89acc8c

Browse files
author
jetstream authors
committed
Merge pull request #271 from AI-Hypercomputer:lihao/fix
PiperOrigin-RevId: 761270880
2 parents 2756c6f + 083f2c9 commit 89acc8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

benchmarks/eval_accuracy.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ def eval_accuracy(request_outputs_dict, match_type):
132132
else:
133133
metric = evaluate.load("rouge")
134134
nltk.download("punkt_tab")
135+
nltk.download("punkt")
136+
nltk.download("wordnet")
137+
nltk.download("omw-1.4")
135138
preds, targets = postprocess_text(preds, targets)
136139
result = metric.compute(
137140
predictions=preds,

0 commit comments

Comments
 (0)