aliasgerovs commited on
Commit
aae711a
1 Parent(s): 8ad69ed

Update predictors.py

Browse files
Files changed (1) hide show
  1. predictors.py +1 -1
predictors.py CHANGED
@@ -357,10 +357,10 @@ def predict_1on1_scores(input, models):
357
  total = sum(mc_score.values())
358
  # Normalize each value by dividing it by the total
359
  mc_score = {key: value / total for key, value in mc_score.items()}
360
-
361
  sum_prob = 1 - bc_score["HUMAN"]
362
  for key, value in mc_score.items():
363
  mc_score[key] = value * sum_prob
 
364
  if sum_prob < 0.01:
365
  mc_score = {}
366
 
 
357
  total = sum(mc_score.values())
358
  # Normalize each value by dividing it by the total
359
  mc_score = {key: value / total for key, value in mc_score.items()}
 
360
  sum_prob = 1 - bc_score["HUMAN"]
361
  for key, value in mc_score.items():
362
  mc_score[key] = value * sum_prob
363
+ print('MC Score:',mc_score)
364
  if sum_prob < 0.01:
365
  mc_score = {}
366