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
96d9e38c
Commit
96d9e38c
authored
Sep 04, 2023
by
lintangsutawika
Browse files
update benchmarks
parent
86e78589
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
lm_eval/benchmarks/flan/prompt_templates/flan_arc.yaml
lm_eval/benchmarks/flan/prompt_templates/flan_arc.yaml
+24
-0
lm_eval/benchmarks/flan_held_out.yaml
lm_eval/benchmarks/flan_held_out.yaml
+10
-2
No files found.
lm_eval/benchmarks/flan/prompt_templates/flan_arc.yaml
0 → 100644
View file @
96d9e38c
# Flan Prompt Templates
prompts
:
"
template-0"
:
doc_to_text
:
"
{{question}}
\n\n
OPTIONS:
\n
-
{{choices.text|join('
\n
-
')}}"
doc_to_target
:
"
{{[choices.text][choices.label.index(answerKey)]}}"
"
template-1"
:
doc_to_text
:
"
Question:
{{question}}
\n
OPTIONS:
\n
-
{{choices.text|join('
\n
-
')}}
\n
Answer:"
doc_to_target
:
"
{{[choices.text][choices.label.index(answerKey)]}}"
"
template-2"
:
doc_to_text
:
"
Question:
{{question}}
\n\n
What
is
the
correct
answer
to
the
question
from
the
following
choices?
\n
OPTIONS:
\n
-
{{choices.text|join('
\n
-
')}}"
doc_to_target
:
"
{{[choices.text][choices.label.index(answerKey)]}}"
"
template-3"
:
doc_to_text
:
"
Q:
{{question}}
\n
What
is
the
correct
answer
to
this
question?
\n
OPTIONS:
\n
-
{{choices.text|join('
\n
-
')}}...A:"
doc_to_target
:
"
{{[choices.text][choices.label.index(answerKey)]}}"
"
template-4"
:
doc_to_text
:
"
Choose
your
answer?
\n\n
{{question}}
\n\n
OPTIONS:
\n
-
{{choices.text|join('
\n
-
')}}"
doc_to_target
:
"
{{[choices.text][choices.label.index(answerKey)]}}"
"
template-5"
:
doc_to_text
:
"
Answer
the
question
\n\n
{{question}}
\n
OPTIONS:
\n
-
{{choices.text|join('
\n
-
')}}"
doc_to_target
:
"
{{[choices.text][choices.label.index(answerKey)]}}"
"
template-6"
:
doc_to_text
:
"
{{question}}
\n\n
Pick
the
answer
from
these
options
\n\n
OPTIONS:
\n
-
{{choices.text|join('
\n
-
')}}"
doc_to_target
:
"
{{[choices.text][choices.label.index(answerKey)]}}"
lm_eval/benchmarks/flan_held_out.yaml
View file @
96d9e38c
group
:
flan_held_out
group
:
flan_held_out
task
:
task
:
-
bbh_flan
# BBH
-
mmlu_flan
-
bbh_flan_zeroshot
-
bbh_flan_fewshot
-
bbh_flan_cot_fewshot
-
bbh_flan_cot_zeroshot
# MMLU
-
mmlu_flan_n_shot_generative
-
mmlu_flan_n_shot_loglikelihood
-
mmlu_flan_cot_zeroshot
-
mmlu_flan_cot_fewshot
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