rusen commited on
Commit
74510a3
·
1 Parent(s): 79ba16e

type correction

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -19,4 +19,4 @@ def model_predict(model, tokenizer, sentences):
19
  outputs = model(**inputs) # get the logits
20
  label = np.argmax(outputs.logits.to("cpu"))
21
 
22
- return str(labels)
 
19
  outputs = model(**inputs) # get the logits
20
  label = np.argmax(outputs.logits.to("cpu"))
21
 
22
+ return int(labels)