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
6c69e30a
"src/vscode:/vscode.git/clone" did not exist on "658a32ab821d5cfbcb4037152768a2dff9a14a8d"
Commit
6c69e30a
authored
Jul 01, 2023
by
FarzanehNakhaee
Browse files
Add qa4mre
parent
cc3bdad3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/tasks/qa4mre/qa4mre_2011.yaml
lm_eval/tasks/qa4mre/qa4mre_2011.yaml
+1
-1
No files found.
lm_eval/tasks/qa4mre/qa4mre_2011.yaml
View file @
6c69e30a
...
@@ -9,7 +9,7 @@ template_aliases: "{% set answer_choices = answer_options['answer_str'] %}"
...
@@ -9,7 +9,7 @@ template_aliases: "{% set answer_choices = answer_options['answer_str'] %}"
doc_to_text
:
"
{{document_str.strip()}}
\n
Question:{{question_str}}
\n
Answer:"
doc_to_text
:
"
{{document_str.strip()}}
\n
Question:{{question_str}}
\n
Answer:"
doc_to_target
:
!function
preprocess_qa4mre.qa4mre_process
doc_to_target
:
!function
preprocess_qa4mre.qa4mre_process
should_decontaminate
:
true
should_decontaminate
:
true
doc_to_decontamination_query
:
"
{{document_str
|map('
tri
m'
)}}
+
'
'
+
{{question_str}}"
doc_to_decontamination_query
:
"
{{document_str
.s
tri
p(
)}}
+
'
'
+
{{question_str}}"
metric_list
:
metric_list
:
-
metric
:
acc
-
metric
:
acc
aggregation
:
mean
aggregation
:
mean
...
...
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