lvwerra HF Staff commited on
Commit
365d080
·
1 Parent(s): 133a264

Update Space (evaluate main: 91453fdf)

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -1
  2. rouge.py +2 -2
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- git+https://github.com/huggingface/evaluate@143a05c9844fa000fdcb324d30a750f139217fdd
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 # Here to have a nice missing dependency error message early on
18
  import datasets
19
- import nltk # Here to have a nice missing dependency error message early on
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