MiriUll commited on
Commit
c4b4e44
1 Parent(s): 5738764

Update negbleurt.py

Browse files
Files changed (1) hide show
  1. negbleurt.py +1 -0
negbleurt.py CHANGED
@@ -62,6 +62,7 @@ class NegBLEURT(evaluate.Metric):
62
  self, predictions, references, batch_size=16
63
  ):
64
  single_ref = isinstance(references, str)
 
65
  if single_ref:
66
  print("single reference")
67
  references = [references] * len(predictions)
 
62
  self, predictions, references, batch_size=16
63
  ):
64
  single_ref = isinstance(references, str)
65
+ print(single_ref, references)
66
  if single_ref:
67
  print("single reference")
68
  references = [references] * len(predictions)