Spaces:
Running
Running
Update Space (evaluate main: 91453fdf)
Browse files- requirements.txt +1 -1
- rouge.py +2 -2
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
git+https://github.com/huggingface/evaluate@
|
| 2 |
absl-py
|
| 3 |
nltk
|
| 4 |
rouge_score>=0.1.2
|
|
|
|
| 1 |
+
git+https://github.com/huggingface/evaluate@91453fdfbb4ed02a6961ce4ae6fa6c8ef61d0136
|
| 2 |
absl-py
|
| 3 |
nltk
|
| 4 |
rouge_score>=0.1.2
|
rouge.py
CHANGED
|
@@ -14,9 +14,9 @@
|
|
| 14 |
""" ROUGE metric from Google Research github repo. """
|
| 15 |
|
| 16 |
# The dependencies in https://github.com/google-research/google-research/blob/master/rouge/requirements.txt
|
| 17 |
-
import absl
|
| 18 |
import datasets
|
| 19 |
-
import nltk
|
| 20 |
import numpy # Here to have a nice missing dependency error message early on
|
| 21 |
import six # Here to have a nice missing dependency error message early on
|
| 22 |
from rouge_score import rouge_scorer, scoring
|
|
|
|
| 14 |
""" ROUGE metric from Google Research github repo. """
|
| 15 |
|
| 16 |
# The dependencies in https://github.com/google-research/google-research/blob/master/rouge/requirements.txt
|
| 17 |
+
import absl
|
| 18 |
import datasets
|
| 19 |
+
import nltk
|
| 20 |
import numpy # Here to have a nice missing dependency error message early on
|
| 21 |
import six # Here to have a nice missing dependency error message early on
|
| 22 |
from rouge_score import rouge_scorer, scoring
|