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
649a7f95
Commit
649a7f95
authored
Jul 01, 2023
by
FarzanehNakhaee
Browse files
Add space for doc to text
parent
6c69e30a
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 @
649a7f95
...
@@ -6,7 +6,7 @@ dataset_name: 2011.main.EN
...
@@ -6,7 +6,7 @@ dataset_name: 2011.main.EN
output_type
:
multiple_choice
output_type
:
multiple_choice
test_split
:
train
test_split
:
train
template_aliases
:
"
{%
set
answer_choices
=
answer_options['answer_str']
%}"
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.strip()}}
+
'
'
+
{{question_str}}"
doc_to_decontamination_query
:
"
{{document_str.strip()}}
+
'
'
+
{{question_str}}"
...
...
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