Spaces:
Runtime error
Runtime error
Update Space (evaluate main: 57fe685e)
Browse files- requirements.txt +1 -1
- rouge.py +1 -1
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@57fe685eda9a3bc0c1a5427e8c749bc3b0f5bece
|
2 |
absl-py
|
3 |
nltk
|
4 |
rouge_score>=0.1.2
|
rouge.py
CHANGED
@@ -60,7 +60,7 @@ Args:
|
|
60 |
Valid names:
|
61 |
`"rouge{n}"` (e.g. `"rouge1"`, `"rouge2"`) where: {n} is the n-gram based scoring,
|
62 |
`"rougeL"`: Longest common subsequence based scoring.
|
63 |
-
`"
|
64 |
See details in https://github.com/huggingface/datasets/issues/617
|
65 |
use_stemmer: Bool indicating whether Porter stemmer should be used to strip word suffixes.
|
66 |
use_aggregator: Return aggregates if this is set to True
|
|
|
60 |
Valid names:
|
61 |
`"rouge{n}"` (e.g. `"rouge1"`, `"rouge2"`) where: {n} is the n-gram based scoring,
|
62 |
`"rougeL"`: Longest common subsequence based scoring.
|
63 |
+
`"rougeLsum"`: rougeLsum splits text using `"\n"`.
|
64 |
See details in https://github.com/huggingface/datasets/issues/617
|
65 |
use_stemmer: Bool indicating whether Porter stemmer should be used to strip word suffixes.
|
66 |
use_aggregator: Return aggregates if this is set to True
|