Spaces:
Running
Running
shounakpaul95
commited on
Commit
•
63a8691
1
Parent(s):
ed09eac
Update eval_utils.py
Browse files- eval_utils.py +1 -0
eval_utils.py
CHANGED
@@ -450,6 +450,7 @@ def get_evaluation_scores(gold_data, submission_data):
|
|
450 |
gold_data[task], submission_data[task]
|
451 |
)
|
452 |
elif task == "summ":
|
|
|
453 |
evaluation_results[task] = evaluate_summ(
|
454 |
gold_data[task], submission_data[task]
|
455 |
)
|
|
|
450 |
gold_data[task], submission_data[task]
|
451 |
)
|
452 |
elif task == "summ":
|
453 |
+
nltk.download('punkt')
|
454 |
evaluation_results[task] = evaluate_summ(
|
455 |
gold_data[task], submission_data[task]
|
456 |
)
|