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
601be343
Commit
601be343
authored
Jun 23, 2025
by
Baber
Browse files
Merge branch 'main' into feature/eval_from_config
parents
d0884a96
68c3a811
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
152 additions
and
0 deletions
+152
-0
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_vai.yaml
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_vai.yaml
+4
-0
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_wol.yaml
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_wol.yaml
+4
-0
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_xho.yaml
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_xho.yaml
+4
-0
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_yaml
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_yaml
+34
-0
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_yor.yaml
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_yor.yaml
+4
-0
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_zul.yaml
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_zul.yaml
+4
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_amh.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_amh.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_eng.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_eng.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_ewe.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_ewe.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_fra.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_fra.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_hau.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_hau.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_ibo.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_ibo.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_kin.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_kin.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_lin.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_lin.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_lug.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_lug.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_orm.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_orm.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_sna.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_sna.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_sot.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_sot.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_swa.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_swa.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_twi.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_twi.yaml
+7
-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/afrimgsm/direct/prompt_3/afrimgsm_vai.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
vai
include
:
afrimgsm_yaml
task
:
afrimgsm_vai_prompt_3
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_wol.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
wol
include
:
afrimgsm_yaml
task
:
afrimgsm_wol_prompt_3
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_xho.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
xho
include
:
afrimgsm_yaml
task
:
afrimgsm_xho_prompt_3
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_yaml
0 → 100644
View file @
601be343
tag:
- afrimgsm_tasks
- afrimgsm_tasks_prompt_3
dataset_path: masakhane/afrimgsm
output_type: generate_until
test_split: test
doc_to_target: '{% if answer is not none %}{{answer[21:]}}{% else %}{{answer_number|string}}{% endif %}'
doc_to_text: "Solve the following math question \n\nQuestion: {{question}} \nAnswer: "
target_delimiter: ""
generation_kwargs:
do_sample: false
until:
- 'Question:'
- </s>
- <|im_end|>
filter_list:
- name: remove_whitespace
filter:
- function: remove_whitespace
- function: take_first
- filter:
- function: regex
group_select: -1
regex_pattern: (-?[$0-9.,]{2,})|(-?[0-9]+)
- function: take_first
name: flexible-extract
metric_list:
- metric: exact_match
aggregation: mean
higher_is_better: true
ignore_case: true
ignore_punctuation: true
metadata:
version: 2.0
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_yor.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
yor
include
:
afrimgsm_yaml
task
:
afrimgsm_yor_prompt_3
lm_eval/tasks/afrimgsm/direct/prompt_3/afrimgsm_zul.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
zul
include
:
afrimgsm_yaml
task
:
afrimgsm_zul_prompt_3
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_amh.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
amh
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_amh_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_eng.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
eng
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_eng_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_ewe.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
ewe
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_ewe_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_fra.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
fra
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_fra_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_hau.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
hau
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_hau_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_ibo.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
ibo
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_ibo_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_kin.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
kin
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_kin_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_lin.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
lin
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_lin_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_lug.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
lug
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_lug_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_orm.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
orm
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_orm_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_sna.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
sna
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_sna_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_sot.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
sot
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_sot_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_swa.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
swa
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_swa_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_twi.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
twi
doc_to_text
:
"
Answer
the
given
question
with
the
appropriate
numerical
value,
ensuring
\
\
that
the
response
is
clear
and
without
any
supplementary
information.
\n\n
Question:
\
\
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_twi_prompt_4
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