raminass commited on
Commit
4f6de98
·
1 Parent(s): 823ce87

Update utils/__init__.py

Browse files
Files changed (1) hide show
  1. utils/__init__.py +1 -1
utils/__init__.py CHANGED
@@ -23,7 +23,7 @@ def average_text(text, model, judges):
23
  p = {}
24
  for dicts in d:
25
  if dicts["label"] in judges:
26
- p[dicts["label"]] = round(dicts["score"], 2)
27
  p = normaliz_dict(p)
28
  new_res.append(p)
29
 
 
23
  p = {}
24
  for dicts in d:
25
  if dicts["label"] in judges:
26
+ p[dicts["label"]] = dicts["score"]
27
  p = normaliz_dict(p)
28
  new_res.append(p)
29