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
b1ba4e71
Commit
b1ba4e71
authored
Oct 16, 2023
by
lintangsutawika
Browse files
added alt worlds prompts
parent
2afe7770
Changes
582
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
91 additions
and
0 deletions
+91
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_virology.yaml
...ative_worlds/letters_only/style_04/style_04_virology.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_world_religions.yaml
...orlds/letters_only/style_04/style_04_world_religions.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/_template_yaml
...u/alternative_worlds/letters_only/style_05/_template_yaml
+15
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_abstract_algebra.yaml
...rlds/letters_only/style_05/style_05_abstract_algebra.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_anatomy.yaml
...native_worlds/letters_only/style_05/style_05_anatomy.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_astronomy.yaml
...tive_worlds/letters_only/style_05/style_05_astronomy.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_business_ethics.yaml
...orlds/letters_only/style_05/style_05_business_ethics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_clinical_knowledge.yaml
...ds/letters_only/style_05/style_05_clinical_knowledge.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_biology.yaml
...orlds/letters_only/style_05/style_05_college_biology.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_chemistry.yaml
...lds/letters_only/style_05/style_05_college_chemistry.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_computer_science.yaml
...ters_only/style_05/style_05_college_computer_science.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_mathematics.yaml
...s/letters_only/style_05/style_05_college_mathematics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_medicine.yaml
...rlds/letters_only/style_05/style_05_college_medicine.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_physics.yaml
...orlds/letters_only/style_05/style_05_college_physics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_computer_security.yaml
...lds/letters_only/style_05/style_05_computer_security.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_conceptual_physics.yaml
...ds/letters_only/style_05/style_05_conceptual_physics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_econometrics.yaml
...e_worlds/letters_only/style_05/style_05_econometrics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_electrical_engineering.yaml
...etters_only/style_05/style_05_electrical_engineering.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_elementary_mathematics.yaml
...etters_only/style_05/style_05_elementary_mathematics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_formal_logic.yaml
...e_worlds/letters_only/style_05/style_05_formal_logic.yaml
+4
-0
No files found.
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_virology.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
virology"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
virology.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_04_lo_virology"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_world_religions.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
world_religions"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
world
religions.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_04_lo_world_religions"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/_template_yaml
0 → 100644
View file @
b1ba4e71
group: mmlu_style_05_lo
dataset_path: cais/mmlu
test_split: test
fewshot_split: dev
output_type: multiple_choice
doc_to_text: "Answer the following question with fruit that represents the options: {{question.strip()}}\n(Apple) {{choices[0]}}\n(Banana) {{choices[1]}}\n(Cantaloupe) {{choices[2]}}\n(Durian) {{choices[3]}}\nAnswer: "
doc_to_choice: ['(Apple)', '(Banana)', '(Cantaloupe)', '(Durian)']
doc_to_target: answer
metric_list:
- metric: acc
aggregation: mean
higher_is_better: true
- metric: acc_norm
aggregation: mean
higher_is_better: true
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_abstract_algebra.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
abstract_algebra"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
abstract
algebra.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_abstract_algebra"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_anatomy.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
anatomy"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
anatomy.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_anatomy"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_astronomy.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
astronomy"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
astronomy.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_astronomy"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_business_ethics.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
business_ethics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
business
ethics.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_business_ethics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_clinical_knowledge.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
clinical_knowledge"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
clinical
knowledge.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_clinical_knowledge"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_biology.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
college_biology"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
biology.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_college_biology"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_chemistry.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
college_chemistry"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
chemistry.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_college_chemistry"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_computer_science.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
college_computer_science"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
computer
science.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_college_computer_science"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_mathematics.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
college_mathematics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
mathematics.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_college_mathematics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_medicine.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
college_medicine"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
medicine.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_college_medicine"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_college_physics.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
college_physics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
physics.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_college_physics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_computer_security.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
computer_security"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
computer
security.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_computer_security"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_conceptual_physics.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
conceptual_physics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
conceptual
physics.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_conceptual_physics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_econometrics.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
econometrics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
econometrics.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_econometrics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_electrical_engineering.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
electrical_engineering"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
electrical
engineering.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_electrical_engineering"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_elementary_mathematics.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
elementary_mathematics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
elementary
mathematics.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_elementary_mathematics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_05/style_05_formal_logic.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
formal_logic"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
formal
logic.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_05_lo_formal_logic"
Prev
1
…
23
24
25
26
27
28
29
30
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