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
e1ae8a2f
Commit
e1ae8a2f
authored
Nov 26, 2023
by
Herbie Bradley
Browse files
Merge remote-tracking branch 'origin/big-refactor' into calibration
parents
50e99bd7
30936bc7
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
111 additions
and
0 deletions
+111
-0
lm_eval/tasks/bbh/flan_fewshot/web_of_lies.yaml
lm_eval/tasks/bbh/flan_fewshot/web_of_lies.yaml
+5
-0
lm_eval/tasks/bbh/flan_fewshot/word_sorting.yaml
lm_eval/tasks/bbh/flan_fewshot/word_sorting.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/_flan_zeroshot_template_yaml
lm_eval/tasks/bbh/flan_zeroshot/_flan_zeroshot_template_yaml
+16
-0
lm_eval/tasks/bbh/flan_zeroshot/boolean_expressions.yaml
lm_eval/tasks/bbh/flan_zeroshot/boolean_expressions.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/causal_judgement.yaml
lm_eval/tasks/bbh/flan_zeroshot/causal_judgement.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/date_understanding.yaml
lm_eval/tasks/bbh/flan_zeroshot/date_understanding.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/disambiguation_qa.yaml
lm_eval/tasks/bbh/flan_zeroshot/disambiguation_qa.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/dyck_languages.yaml
lm_eval/tasks/bbh/flan_zeroshot/dyck_languages.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/formal_fallacies.yaml
lm_eval/tasks/bbh/flan_zeroshot/formal_fallacies.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/geometric_shapes.yaml
lm_eval/tasks/bbh/flan_zeroshot/geometric_shapes.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/hyperbaton.yaml
lm_eval/tasks/bbh/flan_zeroshot/hyperbaton.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/logical_deduction_five_objects.yaml
...sks/bbh/flan_zeroshot/logical_deduction_five_objects.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/logical_deduction_seven_objects.yaml
...ks/bbh/flan_zeroshot/logical_deduction_seven_objects.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/logical_deduction_three_objects.yaml
...ks/bbh/flan_zeroshot/logical_deduction_three_objects.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/movie_recommendation.yaml
lm_eval/tasks/bbh/flan_zeroshot/movie_recommendation.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/multistep_arithmetic_two.yaml
...val/tasks/bbh/flan_zeroshot/multistep_arithmetic_two.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/navigate.yaml
lm_eval/tasks/bbh/flan_zeroshot/navigate.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/object_counting.yaml
lm_eval/tasks/bbh/flan_zeroshot/object_counting.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/penguins_in_a_table.yaml
lm_eval/tasks/bbh/flan_zeroshot/penguins_in_a_table.yaml
+5
-0
lm_eval/tasks/bbh/flan_zeroshot/reasoning_about_colored_objects.yaml
...ks/bbh/flan_zeroshot/reasoning_about_colored_objects.yaml
+5
-0
No files found.
Too many changes to show.
To preserve performance only
1000 of 1000+
files are displayed.
Plain diff
Email patch
lm_eval/tasks/bbh/flan_fewshot/web_of_lies.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
web_of_lies"
"
description"
:
"
Evaluate
a
random
boolean
function
expressed
as
a
word
problem.
\n\n
"
"
doc_to_text"
:
"
Q:
Question:
Fidel
tells
the
truth.
Jerry
says
Fidel
tells
the
truth.
Vina
says
Jerry
tells
the
truth.
Millicent
says
Vina
lies.
Raymond
says
Millicent
lies.
Does
Raymond
tell
the
truth?
\n
A:
Yes
\n\n
Q:
Question:
Kristian
lies.
Millie
says
Kristian
lies.
Maybelle
says
Millie
tells
the
truth.
Fidel
says
Maybelle
lies.
Leda
says
Fidel
lies.
Does
Leda
tell
the
truth?
\n
A:
Yes
\n\n
Q:
Question:
Kristian
tells
the
truth.
Michaela
says
Kristian
lies.
Raymond
says
Michaela
tells
the
truth.
Osvaldo
says
Raymond
tells
the
truth.
Jamey
says
Osvaldo
tells
the
truth.
Does
Jamey
tell
the
truth?
\n
A:
No
\n\n
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_fewshot_template_yaml"
"
task"
:
"
bbh_flan_fewshot_web_of_lies"
lm_eval/tasks/bbh/flan_fewshot/word_sorting.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
word_sorting"
"
description"
:
"
Sort
a
list
of
words.
\n\n
"
"
doc_to_text"
:
"
Q:
Sort
the
following
words
alphabetically:
List:
oven
costume
counterpart
\n
A:
costume
counterpart
oven
\n\n
Q:
Sort
the
following
words
alphabetically:
List:
hypochlorite
ponderosa
phone
credulity
\n
A:
credulity
hypochlorite
phone
ponderosa
\n\n
Q:
Sort
the
following
words
alphabetically:
List:
newt
arson
parthia
seismography
mugho
aspect
census
\n
A:
arson
aspect
census
mugho
newt
parthia
seismography
\n\n
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_fewshot_template_yaml"
"
task"
:
"
bbh_flan_fewshot_word_sorting"
lm_eval/tasks/bbh/flan_zeroshot/_flan_zeroshot_template_yaml
0 → 100644
View file @
e1ae8a2f
group: bbh_flan_zeroshot
dataset_path: lukaemon/bbh
output_type: generate_until
test_split: test
doc_to_target: "{{target}}"
metric_list:
- metric: exact_match
aggregation: mean
higher_is_better: true
# ignore_case: true
# ignore_punctuation: true
generation_kwargs:
until:
- "</s>"
do_sample: false
temperature: 0.0
lm_eval/tasks/bbh/flan_zeroshot/boolean_expressions.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
boolean_expressions"
"
description"
:
"
Evaluate
the
result
of
a
random
Boolean
expression.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_boolean_expressions"
lm_eval/tasks/bbh/flan_zeroshot/causal_judgement.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
causal_judgement"
"
description"
:
"
Answer
questions
about
causal
attribution.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_causal_judgement"
lm_eval/tasks/bbh/flan_zeroshot/date_understanding.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
date_understanding"
"
description"
:
"
Infer
the
date
from
context.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_date_understanding"
lm_eval/tasks/bbh/flan_zeroshot/disambiguation_qa.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
disambiguation_qa"
"
description"
:
"
Clarify
the
meaning
of
sentences
with
ambiguous
pronouns.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_disambiguation_qa"
lm_eval/tasks/bbh/flan_zeroshot/dyck_languages.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
dyck_languages"
"
description"
:
"
Correctly
close
a
Dyck-n
word.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_dyck_languages"
lm_eval/tasks/bbh/flan_zeroshot/formal_fallacies.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
formal_fallacies"
"
description"
:
"
Distinguish
deductively
valid
arguments
from
formal
fallacies.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_formal_fallacies"
lm_eval/tasks/bbh/flan_zeroshot/geometric_shapes.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
geometric_shapes"
"
description"
:
"
Name
geometric
shapes
from
their
SVG
paths.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_geometric_shapes"
lm_eval/tasks/bbh/flan_zeroshot/hyperbaton.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
hyperbaton"
"
description"
:
"
Order
adjectives
correctly
in
English
sentences.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_hyperbaton"
lm_eval/tasks/bbh/flan_zeroshot/logical_deduction_five_objects.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
logical_deduction_five_objects"
"
description"
:
"
A
logical
deduction
task
which
requires
deducing
the
order
of
a
sequence
of
objects.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_logical_deduction_five_objects"
lm_eval/tasks/bbh/flan_zeroshot/logical_deduction_seven_objects.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
logical_deduction_seven_objects"
"
description"
:
"
A
logical
deduction
task
which
requires
deducing
the
order
of
a
sequence
of
objects.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_logical_deduction_seven_objects"
lm_eval/tasks/bbh/flan_zeroshot/logical_deduction_three_objects.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
logical_deduction_three_objects"
"
description"
:
"
A
logical
deduction
task
which
requires
deducing
the
order
of
a
sequence
of
objects.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_logical_deduction_three_objects"
lm_eval/tasks/bbh/flan_zeroshot/movie_recommendation.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
movie_recommendation"
"
description"
:
"
Recommend
movies
similar
to
the
given
list
of
movies.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_movie_recommendation"
lm_eval/tasks/bbh/flan_zeroshot/multistep_arithmetic_two.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
multistep_arithmetic_two"
"
description"
:
"
Solve
multi-step
arithmetic
problems.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_multistep_arithmetic_two"
lm_eval/tasks/bbh/flan_zeroshot/navigate.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
navigate"
"
description"
:
"
Given
a
series
of
navigation
instructions,
determine
whether
one
would
end
up
back
at
the
starting
point.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_navigate"
lm_eval/tasks/bbh/flan_zeroshot/object_counting.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
object_counting"
"
description"
:
"
Questions
that
involve
enumerating
objects
and
asking
the
model
to
count
them.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_object_counting"
lm_eval/tasks/bbh/flan_zeroshot/penguins_in_a_table.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
penguins_in_a_table"
"
description"
:
"
Answer
questions
about
a
table
of
penguins
and
their
attributes.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_penguins_in_a_table"
lm_eval/tasks/bbh/flan_zeroshot/reasoning_about_colored_objects.yaml
0 → 100644
View file @
e1ae8a2f
"
dataset_name"
:
"
reasoning_about_colored_objects"
"
description"
:
"
Answer
extremely
simple
questions
about
the
colors
of
objects
on
a
surface.
\n\n
"
"
doc_to_text"
:
"
Q:
{{input}}
\n
A:"
"
include"
:
"
_flan_zeroshot_template_yaml"
"
task"
:
"
bbh_flan_zeroshot_reasoning_about_colored_objects"
Prev
1
…
3
4
5
6
7
8
9
10
11
…
50
Next
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