Spaces:
Runtime error
Runtime error
Fix
Browse files- evaluation.py +3 -3
evaluation.py
CHANGED
|
@@ -42,8 +42,8 @@ def filter_evaluated_models(models, task, dataset_name, dataset_config, dataset_
|
|
| 42 |
dataset_split=dataset_split,
|
| 43 |
)
|
| 44 |
candidate_id = hash(evaluation_info)
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
|
| 49 |
return models
|
|
|
|
| 42 |
dataset_split=dataset_split,
|
| 43 |
)
|
| 44 |
candidate_id = hash(evaluation_info)
|
| 45 |
+
if candidate_id in evaluation_ids:
|
| 46 |
+
st.info(f"Model `{model}` has already been evaluated on this configuration. Skipping evaluation...")
|
| 47 |
+
models.pop(idx)
|
| 48 |
|
| 49 |
return models
|