csk99 commited on
Commit
d224140
·
verified ·
1 Parent(s): 2c1c057

Update tasks/text.py

Browse files
Files changed (1) hide show
  1. tasks/text.py +1 -1
tasks/text.py CHANGED
@@ -125,7 +125,7 @@ async def evaluate_text(request: TextEvaluationRequest):
125
  logging.info(f"y_pred_bin:{y_pred_bin.shape}")
126
  logging.info(f"y_pred_multi shape:{y_pred_multi.shape}")
127
 
128
- y_pred_bin[y_train==1] = y_pred_multi
129
 
130
 
131
 
 
125
  logging.info(f"y_pred_bin:{y_pred_bin.shape}")
126
  logging.info(f"y_pred_multi shape:{y_pred_multi.shape}")
127
 
128
+ y_pred_bin[y_train_binary==1] = y_pred_multi
129
 
130
 
131