rusen commited on
Commit
a39c40f
·
1 Parent(s): e01d8e6

imported torch

Browse files
Files changed (1) hide show
  1. utils.py +2 -0
utils.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  def model_predict(model, tokenizer, sentences):
2
  """
3
  Predict the labels of the sentences using the model and tokenizer
 
1
+ import torch
2
+
3
  def model_predict(model, tokenizer, sentences):
4
  """
5
  Predict the labels of the sentences using the model and tokenizer