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
7ad96ded
Commit
7ad96ded
authored
Apr 28, 2023
by
lintangsutawika
Browse files
yaml for lambada and sglue
parent
33b01a2b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
lm_eval/tasks/lambada.yaml
lm_eval/tasks/lambada.yaml
+16
-0
lm_eval/tasks/sglue_cb.yaml
lm_eval/tasks/sglue_cb.yaml
+12
-0
No files found.
lm_eval/tasks/lambada.yaml
0 → 100644
View file @
7ad96ded
dataset_path
:
EleutherAI/lambada_openai
dataset_name
:
default
output_type
:
"
loglikelihood"
test_split
:
test
template_aliases
:
"
{%
set
hypo
=
hypothesis
%}"
doc_to_text
:
"
{{text.split('
')[:-1]|join('
')}}"
doc_to_target
:
"
{{'
'+text.split('
')[-1]}}"
should_decontaminate
:
true
doc_to_decontamination_query
:
"
{{text}}"
metric_list
:
-
metric
:
perplexity
aggregation
:
perplexity
higher_is_better
:
true
-
metric
:
accuracy
aggregation
:
perplexity
higher_is_better
:
true
lm_eval/tasks/sglue_cb.yaml
0 → 100644
View file @
7ad96ded
dataset_path
:
super_glue
dataset_name
:
cb
training_split
:
train
validation_split
:
validation
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]}}"
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