Spaces:
Running
Running
imported torch
Browse files
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
|