qlemesle commited on
Commit
0a73688
·
1 Parent(s): db044f5
Files changed (1) hide show
  1. parapluie.py +3 -3
parapluie.py CHANGED
@@ -75,7 +75,7 @@ BAD_WORDS_URL = "http://url/to/external/resource/bad_words.txt"
75
 
76
 
77
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
78
- class ParaPLUIEtest(evaluate.Metric):
79
  """TODO: Short description of my evaluation module."""
80
 
81
  def _info(self):
@@ -88,8 +88,8 @@ class ParaPLUIEtest(evaluate.Metric):
88
  inputs_description=_KWARGS_DESCRIPTION,
89
  # This defines the format of each prediction and reference
90
  features=datasets.Features({
91
- 'predictions': datasets.Value('int64'),
92
- 'references': datasets.Value('int64'),
93
  }),
94
  # Homepage of the module for documentation
95
  homepage="http://module.homepage",
 
75
 
76
 
77
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
78
+ class Parapluie(evaluate.Metric):
79
  """TODO: Short description of my evaluation module."""
80
 
81
  def _info(self):
 
88
  inputs_description=_KWARGS_DESCRIPTION,
89
  # This defines the format of each prediction and reference
90
  features=datasets.Features({
91
+ 'Source': datasets.Value('int64'),
92
+ 'Hypothese': datasets.Value('int64'),
93
  }),
94
  # Homepage of the module for documentation
95
  homepage="http://module.homepage",