Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,12 +26,15 @@ def add_new_eval(
|
|
26 |
skempi_file,
|
27 |
model_name_textbox: str,
|
28 |
revision_name_textbox: str,
|
29 |
-
benchmark_type
|
|
|
|
|
|
|
|
|
30 |
):
|
31 |
representation_name = model_name_textbox if revision_name_textbox == '' else revision_name_textbox
|
32 |
|
33 |
-
run_probe(benchmark_type, representation_name, human_file, skempi_file)
|
34 |
-
|
35 |
|
36 |
return None
|
37 |
|
|
|
26 |
skempi_file,
|
27 |
model_name_textbox: str,
|
28 |
revision_name_textbox: str,
|
29 |
+
benchmark_type,
|
30 |
+
similarity_tasks,
|
31 |
+
function_prediction_aspect,
|
32 |
+
function_prediction_dataset,
|
33 |
+
family_prediction_dataset,
|
34 |
):
|
35 |
representation_name = model_name_textbox if revision_name_textbox == '' else revision_name_textbox
|
36 |
|
37 |
+
results = run_probe(benchmark_type, representation_name, human_file, skempi_file, similarity_tasks, function_prediction_aspect, function_prediction_dataset, family_prediction_dataset)
|
|
|
38 |
|
39 |
return None
|
40 |
|