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_03/style_03_sociology.yaml
...tive_worlds/letters_only/style_03/style_03_sociology.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_03/style_03_us_foreign_policy.yaml
...lds/letters_only/style_03/style_03_us_foreign_policy.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_03/style_03_virology.yaml
...ative_worlds/letters_only/style_03/style_03_virology.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_03/style_03_world_religions.yaml
...orlds/letters_only/style_03/style_03_world_religions.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/_template_yaml
...u/alternative_worlds/letters_only/style_04/_template_yaml
+15
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_abstract_algebra.yaml
...rlds/letters_only/style_04/style_04_abstract_algebra.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_anatomy.yaml
...native_worlds/letters_only/style_04/style_04_anatomy.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_astronomy.yaml
...tive_worlds/letters_only/style_04/style_04_astronomy.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_business_ethics.yaml
...orlds/letters_only/style_04/style_04_business_ethics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_clinical_knowledge.yaml
...ds/letters_only/style_04/style_04_clinical_knowledge.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_college_biology.yaml
...orlds/letters_only/style_04/style_04_college_biology.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_college_chemistry.yaml
...lds/letters_only/style_04/style_04_college_chemistry.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_college_computer_science.yaml
...ters_only/style_04/style_04_college_computer_science.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_college_mathematics.yaml
...s/letters_only/style_04/style_04_college_mathematics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_college_medicine.yaml
...rlds/letters_only/style_04/style_04_college_medicine.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_college_physics.yaml
...orlds/letters_only/style_04/style_04_college_physics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_computer_security.yaml
...lds/letters_only/style_04/style_04_computer_security.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_conceptual_physics.yaml
...ds/letters_only/style_04/style_04_conceptual_physics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_econometrics.yaml
...e_worlds/letters_only/style_04/style_04_econometrics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_electrical_engineering.yaml
...etters_only/style_04/style_04_electrical_engineering.yaml
+4
-0
No files found.
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_03/style_03_sociology.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
sociology"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
sociology.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_03_lo_sociology"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_03/style_03_us_foreign_policy.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
us_foreign_policy"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
us
foreign
policy.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_03_lo_us_foreign_policy"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_03/style_03_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_03_lo_virology"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_03/style_03_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_03_lo_world_religions"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/_template_yaml
0 → 100644
View file @
b1ba4e71
group: mmlu_style_04_lo
dataset_path: cais/mmlu
test_split: test
fewshot_split: dev
output_type: multiple_choice
doc_to_text: "Q: {{question.strip()}}\nA, {{choices[0]}}\nB, {{choices[1]}}\nC, {{choices[2]}}\nD, {{choices[3]}}\nA: "
doc_to_choice: ['A,', 'B,', 'C,', 'D,']
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_04/style_04_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_04_lo_abstract_algebra"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_anatomy"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_astronomy"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_business_ethics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_clinical_knowledge"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_college_biology"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_college_chemistry"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_college_computer_science"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_college_mathematics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_college_medicine"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_college_physics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_computer_security"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_conceptual_physics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_econometrics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_04/style_04_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_04_lo_electrical_engineering"
Prev
1
…
20
21
22
23
24
25
26
27
28
…
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