anonICPC commited on
Commit
e626567
·
verified ·
1 Parent(s): 2bd1d2e
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -155,6 +155,7 @@ def greet(X, ny):
155
  cnt+=1
156
  val = val - torch.log(probs[idx[cnt]])
157
  val = val/num_sub_tokens_label
 
158
 
159
  # print(er)
160
  # astr = ""
 
155
  cnt+=1
156
  val = val - torch.log(probs[idx[cnt]])
157
  val = val/num_sub_tokens_label
158
+ val = round(val, 2)
159
 
160
  # print(er)
161
  # astr = ""