Update amazonmix.py
Browse files- amazonmix.py +1 -1
amazonmix.py
CHANGED
|
@@ -98,7 +98,7 @@ def compute_score(solution_str: str, ground_truth: str, method='strict', format_
|
|
| 98 |
ground_truth = parse_ground_truth_text_format(ground_truth)
|
| 99 |
|
| 100 |
# Extract model answer
|
| 101 |
-
answer_text, processed_str= extract_solution(
|
| 102 |
print(f"\n[Model Response]\n{processed_str}")
|
| 103 |
print(f"\n[Processed Model Response]\n{answer_text}")
|
| 104 |
|
|
|
|
| 98 |
ground_truth = parse_ground_truth_text_format(ground_truth)
|
| 99 |
|
| 100 |
# Extract model answer
|
| 101 |
+
answer_text, processed_str= extract_solution(processed_str=solution_str, method=method)
|
| 102 |
print(f"\n[Model Response]\n{processed_str}")
|
| 103 |
print(f"\n[Processed Model Response]\n{answer_text}")
|
| 104 |
|