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
"...lm-evaluation-harness.git" did not exist on "febd19d8e7cf17edf3096f0f687d979cd5327d97"
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_01/style_01_professional_medicine.yaml
...letters_only/style_01/style_01_professional_medicine.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_professional_psychology.yaml
...tters_only/style_01/style_01_professional_psychology.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_public_relations.yaml
...rlds/letters_only/style_01/style_01_public_relations.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_security_studies.yaml
...rlds/letters_only/style_01/style_01_security_studies.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_sociology.yaml
...tive_worlds/letters_only/style_01/style_01_sociology.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_us_foreign_policy.yaml
...lds/letters_only/style_01/style_01_us_foreign_policy.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_virology.yaml
...ative_worlds/letters_only/style_01/style_01_virology.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_world_religions.yaml
...orlds/letters_only/style_01/style_01_world_religions.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/_template_yaml
...u/alternative_worlds/letters_only/style_02/_template_yaml
+15
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_abstract_algebra.yaml
...rlds/letters_only/style_02/style_02_abstract_algebra.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_anatomy.yaml
...native_worlds/letters_only/style_02/style_02_anatomy.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_astronomy.yaml
...tive_worlds/letters_only/style_02/style_02_astronomy.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_business_ethics.yaml
...orlds/letters_only/style_02/style_02_business_ethics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_clinical_knowledge.yaml
...ds/letters_only/style_02/style_02_clinical_knowledge.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_college_biology.yaml
...orlds/letters_only/style_02/style_02_college_biology.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_college_chemistry.yaml
...lds/letters_only/style_02/style_02_college_chemistry.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_college_computer_science.yaml
...ters_only/style_02/style_02_college_computer_science.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_college_mathematics.yaml
...s/letters_only/style_02/style_02_college_mathematics.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_college_medicine.yaml
...rlds/letters_only/style_02/style_02_college_medicine.yaml
+4
-0
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_college_physics.yaml
...orlds/letters_only/style_02/style_02_college_physics.yaml
+4
-0
No files found.
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_professional_medicine.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
professional_medicine"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
professional
medicine.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_01_lo_professional_medicine"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_professional_psychology.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
professional_psychology"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
professional
psychology.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_01_lo_professional_psychology"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_public_relations.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
public_relations"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
public
relations.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_01_lo_public_relations"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_security_studies.yaml
0 → 100644
View file @
b1ba4e71
"
dataset_name"
:
"
security_studies"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
security
studies.
\n\n
"
"
include"
:
"
_template_yaml"
"
task"
:
"
mmlu_style_01_lo_security_studies"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_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_01_lo_sociology"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_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_01_lo_us_foreign_policy"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_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_01_lo_virology"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_01/style_01_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_01_lo_world_religions"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/_template_yaml
0 → 100644
View file @
b1ba4e71
group: mmlu_style_02_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_02/style_02_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_02_lo_abstract_algebra"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_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_02_lo_anatomy"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_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_02_lo_astronomy"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_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_02_lo_business_ethics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_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_02_lo_clinical_knowledge"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_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_02_lo_college_biology"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_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_02_lo_college_chemistry"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_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_02_lo_college_computer_science"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_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_02_lo_college_mathematics"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_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_02_lo_college_medicine"
lm_eval/tasks/mmlu/alternative_worlds/letters_only/style_02/style_02_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_02_lo_college_physics"
Prev
1
…
14
15
16
17
18
19
20
21
22
…
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