Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
pminervini
commited on
Commit
•
ead5b0a
1
Parent(s):
3d44a49
update
Browse files
src/backend/tasks/faithdial/faithdial.yaml
CHANGED
@@ -7,7 +7,6 @@ test_split: test
|
|
7 |
output_type: multiple_choice
|
8 |
doc_to_text: !function utils.doc_to_text
|
9 |
doc_to_target: !function utils.doc_to_target
|
10 |
-
# process_results: !function utils.process_results
|
11 |
doc_to_choice: ["false", "true"]
|
12 |
metric_list:
|
13 |
- metric: acc
|
|
|
7 |
output_type: multiple_choice
|
8 |
doc_to_text: !function utils.doc_to_text
|
9 |
doc_to_target: !function utils.doc_to_target
|
|
|
10 |
doc_to_choice: ["false", "true"]
|
11 |
metric_list:
|
12 |
- metric: acc
|
src/backend/tasks/faithdial/utils.py
CHANGED
@@ -14,7 +14,3 @@ def doc_to_target(doc: dict[str, ValueType]) -> str:
|
|
14 |
# breakpoint()
|
15 |
return res
|
16 |
|
17 |
-
|
18 |
-
def process_results(doc: dict[str, ValueType], results: List[str]) -> dict[str, float]:
|
19 |
-
# breakpoint()
|
20 |
-
return {"acc": 0.0}
|
|
|
14 |
# breakpoint()
|
15 |
return res
|
16 |
|
|
|
|
|
|
|
|