Spaces:
Running
Running
Switched to the right test set
Browse files- .gitignore +1 -0
- tasks/audio.py +2 -2
- tasks/image.py +2 -2
.gitignore
CHANGED
@@ -14,3 +14,4 @@ eval-results-bk/
|
|
14 |
logs/
|
15 |
|
16 |
emissions.csv
|
|
|
|
14 |
logs/
|
15 |
|
16 |
emissions.csv
|
17 |
+
notebooks/test.ipynb
|
tasks/audio.py
CHANGED
@@ -41,8 +41,8 @@ async def evaluate_audio(request: AudioEvaluationRequest):
|
|
41 |
dataset = load_dataset(request.dataset_name,token=os.getenv("HF_TOKEN"))
|
42 |
|
43 |
# Split dataset
|
44 |
-
train_test = dataset["train"]
|
45 |
-
test_dataset =
|
46 |
|
47 |
# Start tracking emissions
|
48 |
tracker.start()
|
|
|
41 |
dataset = load_dataset(request.dataset_name,token=os.getenv("HF_TOKEN"))
|
42 |
|
43 |
# Split dataset
|
44 |
+
train_test = dataset["train"]
|
45 |
+
test_dataset = dataset["test"]
|
46 |
|
47 |
# Start tracking emissions
|
48 |
tracker.start()
|
tasks/image.py
CHANGED
@@ -88,8 +88,8 @@ async def evaluate_image(request: ImageEvaluationRequest):
|
|
88 |
dataset = load_dataset(request.dataset_name, token=os.getenv("HF_TOKEN"))
|
89 |
|
90 |
# Split dataset
|
91 |
-
train_test = dataset["train"]
|
92 |
-
test_dataset =
|
93 |
|
94 |
# Start tracking emissions
|
95 |
tracker.start()
|
|
|
88 |
dataset = load_dataset(request.dataset_name, token=os.getenv("HF_TOKEN"))
|
89 |
|
90 |
# Split dataset
|
91 |
+
train_test = dataset["train"]
|
92 |
+
test_dataset = dataset["test"]
|
93 |
|
94 |
# Start tracking emissions
|
95 |
tracker.start()
|