NaolTaye commited on
Commit
9fc9fcb
·
1 Parent(s): 983ced3
Files changed (1) hide show
  1. tasks/text.py +2 -2
tasks/text.py CHANGED
@@ -99,8 +99,8 @@ async def evaluate_text(request: TextEvaluationRequest):
99
 
100
  # Forward pass through the model
101
  p = model(**tokenized_inputs)
102
-
103
- predictions = np.append(predictions, p.cpu().numpy())
104
 
105
  print("Finished prediction run")
106
 
 
99
 
100
  # Forward pass through the model
101
  p = model(**tokenized_inputs)
102
+ print(p)
103
+ predictions = np.append(predictions, p.numpy())
104
 
105
  print("Finished prediction run")
106