Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
7601d828
"vscode:/vscode.git/clone" did not exist on "a37f4a86a7f772c327077a3cf3245a405be31cd0"
Commit
7601d828
authored
Sep 05, 2023
by
lintangsutawika
Browse files
edit to fix cot filter
parent
8c39bfc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lm_eval/tasks/bbh/flan_cot_fewshot/_flan_cot_fewshot_template_yaml
...asks/bbh/flan_cot_fewshot/_flan_cot_fewshot_template_yaml
+1
-1
lm_eval/tasks/bbh/flan_cot_zeroshot/_flan_cot_zeroshot_template_yaml
...ks/bbh/flan_cot_zeroshot/_flan_cot_zeroshot_template_yaml
+1
-1
No files found.
lm_eval/tasks/bbh/flan_cot_fewshot/_flan_cot_fewshot_template_yaml
View file @
7601d828
...
...
@@ -18,5 +18,5 @@ filter_list:
- name: "get-answer"
filter:
- function: "regex"
regex_pattern: "(?<=
T
he answer is )(.*)(?=.)"
regex_pattern: "(?<=
t
he answer is )(.*)(?=.)"
- function: "take_first"
\ No newline at end of file
lm_eval/tasks/bbh/flan_cot_zeroshot/_flan_cot_zeroshot_template_yaml
View file @
7601d828
...
...
@@ -18,5 +18,5 @@ filter_list:
- name: "get-answer"
filter:
- function: "regex"
regex_pattern: "(?<=
T
he answer is )(.*)(?=.)"
regex_pattern: "(?<=
t
he answer is )(.*)(?=.)"
- function: "take_first"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment