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
160 additions
and
0 deletions
+160
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_vai.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_vai.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_wol.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_wol.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_xho.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_xho.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_yaml
+33
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_yor.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_yor.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_zul.yaml
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_zul.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_amh.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_amh.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_eng.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_eng.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_ewe.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_ewe.yaml
+6
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_fra.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_fra.yaml
+6
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_hau.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_hau.yaml
+6
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_ibo.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_ibo.yaml
+6
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_kin.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_kin.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_lin.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_lin.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_lug.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_lug.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_orm.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_orm.yaml
+6
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_sna.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_sna.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_sot.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_sot.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_swa.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_swa.yaml
+7
-0
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_twi.yaml
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_twi.yaml
+6
-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_4/afrimgsm_vai.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
vai
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_vai_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_wol.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
wol
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_wol_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_xho.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
xho
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_xho_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_yaml
0 → 100644
View file @
601be343
tag:
- afrimgsm_tasks
- afrimgsm_tasks_prompt_4
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 %}'
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_4/afrimgsm_yor.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
yor
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_yor_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_4/afrimgsm_zul.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
zul
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_zul_prompt_4
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_amh.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
amh
doc_to_text
:
"
For
mathematical
questions
provided
in
Amharic
language.
Supply
the
\
\
accurate
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n\
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_amh_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_eng.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
eng
doc_to_text
:
"
For
mathematical
questions
provided
in
English
language.
Supply
the
\
\
accurate
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n\
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_eng_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_ewe.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
ewe
doc_to_text
:
"
For
mathematical
questions
provided
in
Ewe
language.
Supply
the
accurate
\
\
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_ewe_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_fra.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
fra
doc_to_text
:
"
For
mathematical
questions
provided
in
French
language.
Supply
the
accurate
\
\
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_fra_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_hau.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
hau
doc_to_text
:
"
For
mathematical
questions
provided
in
Hausa
language.
Supply
the
accurate
\
\
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_hau_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_ibo.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
ibo
doc_to_text
:
"
For
mathematical
questions
provided
in
Igbo
language.
Supply
the
accurate
\
\
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_ibo_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_kin.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
kin
doc_to_text
:
"
For
mathematical
questions
provided
in
Kinyarwanda
language.
Supply
\
\
the
accurate
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\
\ \n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_kin_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_lin.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
lin
doc_to_text
:
"
For
mathematical
questions
provided
in
Lingala
language.
Supply
the
\
\
accurate
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n\
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_lin_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_lug.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
lug
doc_to_text
:
"
For
mathematical
questions
provided
in
Luganda
language.
Supply
the
\
\
accurate
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n\
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_lug_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_orm.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
orm
doc_to_text
:
"
For
mathematical
questions
provided
in
Oromo
language.
Supply
the
accurate
\
\
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_orm_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_sna.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
sna
doc_to_text
:
"
For
mathematical
questions
provided
in
chiShona
language.
Supply
the
\
\
accurate
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n\
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_sna_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_sot.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
sot
doc_to_text
:
"
For
mathematical
questions
provided
in
Sesotho
language.
Supply
the
\
\
accurate
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n\
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_sot_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_swa.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
swa
doc_to_text
:
"
For
mathematical
questions
provided
in
Swahili
language.
Supply
the
\
\
accurate
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n\
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_swa_prompt_5
lm_eval/tasks/afrimgsm/direct/prompt_5/afrimgsm_twi.yaml
0 → 100644
View file @
601be343
# Generated by utils.py
dataset_name
:
twi
doc_to_text
:
"
For
mathematical
questions
provided
in
Twi
language.
Supply
the
accurate
\
\
numeric
answer
to
the
provided
question.
\n\n
Question:
{{question}}
\n
Answer:
"
include
:
afrimgsm_yaml
task
:
afrimgsm_twi_prompt_5
Prev
1
…
4
5
6
7
8
9
10
11
12
…
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