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
41d16c2b
Commit
41d16c2b
authored
May 09, 2023
by
lintangsutawika
Browse files
muliple prompts
parent
2da74953
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
lm_eval/tasks/super_glue/cb/template.yaml
lm_eval/tasks/super_glue/cb/template.yaml
+23
-0
No files found.
lm_eval/tasks/super_glue/cb/template.yaml
0 → 100644
View file @
41d16c2b
dataset_path
:
super_glue
dataset_name
:
cb
training_split
:
train
validation_split
:
validation
template
:
-
name
:
can we infer
reference
:
Webson & Pavlick
2021
doc_to_text
:
'
Suppose
{{premise}}
Can
we
infer
that
"{{hypothesis}}"?
Yes,
no,
or
maybe?'
doc_to_target
:
'
{%
set
answer_choices
=
['Yes', 'No', 'Maybe'] %}{{answer_choices[label]}}'
-
name
:
based on the previous passage
reference
:
"
Adapted
from
the
BoolQ
prompts
in
Schick
&
Sch
\xFC
tze
2021."
doc_to_text
:
'
{{premise}}
Based
on
the
previous
passage,
is
it
true
that
"{{hypothesis}}"?
Yes,
no,
or
maybe?'
doc_to_target
:
'
{%
set
answer_choices
=
['Yes', 'No', 'Maybe'] %}{{answer_choices[label]}}'
-
name
:
claim
true
/false/inconclusive
reference
:
Sanh et al.
2021
doc_to_text
:
'
{{premise}}
Based
on
that
information,
is
the
claim:
"{{hypothesis}}"
{{"true"}},
{{"false"}},
or
{{"inconclusive"}}?'
doc_to_target
:
'
{%
set
answer_choices
=
['True', 'False', 'Inconclusive'] %}{{answer_choices[label]}}'
metric_list
:
-
metric
:
exact_match
aggregation
:
mean
higher_is_better
:
true
ignore_case
:
true
ignore_punctuation
:
true
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