Spaces:
Sleeping
Sleeping
AXEL DARMOUNI
commited on
Commit
·
e0ee466
1
Parent(s):
52922c6
modified predictions
Browse files- tasks/text.py +2 -1
tasks/text.py
CHANGED
@@ -68,7 +68,8 @@ async def evaluate_text(request: TextEvaluationRequest):
|
|
68 |
|
69 |
# Make random predictions (placeholder for actual model inference)
|
70 |
true_labels = test_dataset["label"]
|
71 |
-
predictions = [
|
|
|
72 |
|
73 |
#--------------------------------------------------------------------------------------------
|
74 |
# YOUR MODEL INFERENCE STOPS HERE
|
|
|
68 |
|
69 |
# Make random predictions (placeholder for actual model inference)
|
70 |
true_labels = test_dataset["label"]
|
71 |
+
predictions = [0 for sample in test_dataset["quote"]]
|
72 |
+
#predictions = [classifier(sample)["label"] for sample in test_dataset["quote"]]
|
73 |
|
74 |
#--------------------------------------------------------------------------------------------
|
75 |
# YOUR MODEL INFERENCE STOPS HERE
|