Spaces:
Sleeping
Sleeping
Update tasks/text.py
Browse files- tasks/text.py +1 -1
tasks/text.py
CHANGED
|
@@ -60,7 +60,7 @@ async def evaluate_text(request: TextEvaluationRequest):
|
|
| 60 |
#true_labels = test_dataset["label"]
|
| 61 |
#predictions = [random.randint(0, 7) for _ in range(len(true_labels))]
|
| 62 |
|
| 63 |
-
|
| 64 |
import numpy as np
|
| 65 |
import onnxruntime as ort
|
| 66 |
from huggingface_hub import hf_hub_download
|
|
|
|
| 60 |
#true_labels = test_dataset["label"]
|
| 61 |
#predictions = [random.randint(0, 7) for _ in range(len(true_labels))]
|
| 62 |
|
| 63 |
+
from transformers import DistilBertTokenizer
|
| 64 |
import numpy as np
|
| 65 |
import onnxruntime as ort
|
| 66 |
from huggingface_hub import hf_hub_download
|