yzha commited on
Commit
8371ccc
1 Parent(s): e251d64
Files changed (1) hide show
  1. ctc_eval.py +2 -0
ctc_eval.py CHANGED
@@ -107,6 +107,8 @@ class CTC_Eval(evaluate.EvaluationModule):
107
  self.scorer = StyleTransferScorer(align=model_name)
108
  elif self.aspect in ['engagingness', 'groundedness']:
109
  self.scorer = DialogScorer(align=model_name)
 
 
110
 
111
 
112
  def _compute(self, predictions, references):
 
107
  self.scorer = StyleTransferScorer(align=model_name)
108
  elif self.aspect in ['engagingness', 'groundedness']:
109
  self.scorer = DialogScorer(align=model_name)
110
+
111
+ print(self.compute(references=['hello world'], predictions=['hi world']))
112
 
113
 
114
  def _compute(self, predictions, references):