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
ccae768a
Commit
ccae768a
authored
Jul 04, 2023
by
FarzanehNakhaee
Browse files
edit doc to text in yaml file
parent
fb8324c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lm_eval/tasks/prost/corypaik_prost.yaml
lm_eval/tasks/prost/corypaik_prost.yaml
+2
-2
No files found.
lm_eval/tasks/prost/corypaik_prost.yaml
View file @
ccae768a
...
...
@@ -6,10 +6,10 @@ dataset_name: null
output_type
:
multiple_choice
test_split
:
test
template_aliases
:
"
{%
set
answer_choices
=
[A,
B,
C,
D]
%}{%
set
gold
=
label
%}"
# set the list of possible answer choices, and set what this doc's gold answer is (set what ds column used, and what)
doc_to_text
:
"
{{context}}
\n
Question:{{ex_question}}
\n
Answer:"
doc_to_text
:
"
{{context}}
\n
Question:
{{ex_question}}
\n
Answer:"
doc_to_target
:
"
{{gold}}"
# this will be cast to an int.
should_decontaminate
:
true
doc_to_decontamination_query
:
"
{{context}}
\n
Question:{{ex_question}}
\n
Answer:"
doc_to_decontamination_query
:
"
{{context}}
\n
Question:
{{ex_question}}
\n
Answer:"
metric_list
:
-
metric
:
acc
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