"sgl-kernel/vscode:/vscode.git/clone" did not exist on "7c0541b3859a4e3618f0379dc2aa882b445903bb"
Commit 20a54b3a authored by lintangsutawika's avatar lintangsutawika
Browse files

removed print messages, added cot extraction strings

parent 337492ad
...@@ -141,8 +141,6 @@ def include_task_folder(task_dir: str, register_task: bool = True) -> None: ...@@ -141,8 +141,6 @@ def include_task_folder(task_dir: str, register_task: bool = True) -> None:
except Exception as error: except Exception as error:
import traceback import traceback
print("###")
print(yaml_path)
eval_logger.warning( eval_logger.warning(
"Failed to load config in\n" "Failed to load config in\n"
f" {yaml_path}\n" f" {yaml_path}\n"
......
...@@ -18,5 +18,5 @@ filter_list: ...@@ -18,5 +18,5 @@ filter_list:
- name: "get-answer" - name: "get-answer"
filter: filter:
- function: "regex" - function: "regex"
regex_pattern: "(?<=the answer is )(.*)(?=.)" regex_pattern: "((?<=The answer is )(.*)(?=.)|(?<=the answer is )(.*)(?=.)|(?<=The answer: )(.*)(?=.)|(?<=The final answer: )(.*)(?=.))"
- function: "take_first" - function: "take_first"
...@@ -9,7 +9,7 @@ filter_list: ...@@ -9,7 +9,7 @@ filter_list:
- name: "get-answer" - name: "get-answer"
filter: filter:
- function: "regex" - function: "regex"
regex_pattern: "(?<=The answer is )(.*)(?=.)" regex_pattern: "((?<=The answer is )(.*)(?=.)|(?<=the answer is )(.*)(?=.)|(?<=The answer: )(.*)(?=.)|(?<=The final answer: )(.*)(?=.))"
- function: "take_first" - function: "take_first"
generation_kwargs: generation_kwargs:
until: until:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment