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
3e8135ce
Commit
3e8135ce
authored
Sep 16, 2025
by
Baber
Browse files
Merge branch 'main' into comma
parents
8e560c96
0c134ee9
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
256 additions
and
0 deletions
+256
-0
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_math.yaml
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_math.yaml
+9
-0
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_other.yaml
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_other.yaml
+9
-0
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_philosophy.yaml
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_philosophy.yaml
+9
-0
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_physics.yaml
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_physics.yaml
+9
-0
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_psychology.yaml
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_psychology.yaml
+9
-0
lm_eval/tasks/mmlu_prox/te/_mmlu_prox_lite_te.yaml
lm_eval/tasks/mmlu_prox/te/_mmlu_prox_lite_te.yaml
+23
-0
lm_eval/tasks/mmlu_prox/te/_mmlu_prox_te.yaml
lm_eval/tasks/mmlu_prox/te/_mmlu_prox_te.yaml
+23
-0
lm_eval/tasks/mmlu_prox/te/_te_lite_template_yaml
lm_eval/tasks/mmlu_prox/te/_te_lite_template_yaml
+35
-0
lm_eval/tasks/mmlu_prox/te/_te_template_yaml
lm_eval/tasks/mmlu_prox/te/_te_template_yaml
+35
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_biology.yaml
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_biology.yaml
+9
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_business.yaml
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_business.yaml
+9
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_chemistry.yaml
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_chemistry.yaml
+9
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_computer_science.yaml
...asks/mmlu_prox/te/mmlu_prox_lite_te_computer_science.yaml
+9
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_economics.yaml
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_economics.yaml
+9
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_engineering.yaml
...val/tasks/mmlu_prox/te/mmlu_prox_lite_te_engineering.yaml
+9
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_health.yaml
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_health.yaml
+8
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_history.yaml
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_history.yaml
+8
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_law.yaml
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_law.yaml
+9
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_math.yaml
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_math.yaml
+8
-0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_other.yaml
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_other.yaml
+8
-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/mmlu_prox/sw/mmlu_prox_lite_sw_math.yaml
0 → 100644
View file @
3e8135ce
description
:
'
Yafuatayo
ni
maswali
ya
chaguo-nyingi
(yenye
majibu)
kuhusu
hisabati.
Fikiria
hatua
kwa
hatua
kisha
malizia
jibu
lako
kwa
"Jibu
ni
(X)"
ambapo
X
ni
herufi
ya
chaguo
sahihi.
'
include
:
_sw_lite_template_yaml
task
:
mmlu_prox_lite_sw_math
task_alias
:
math
process_docs
:
!function
utils.process_math
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_other.yaml
0 → 100644
View file @
3e8135ce
description
:
'
Yafuatayo
ni
maswali
ya
chaguo-nyingi
(yenye
majibu)
kuhusu
nyingine.
Fikiria
hatua
kwa
hatua
kisha
malizia
jibu
lako
kwa
"Jibu
ni
(X)"
ambapo
X
ni
herufi
ya
chaguo
sahihi.
'
include
:
_sw_lite_template_yaml
task
:
mmlu_prox_lite_sw_other
task_alias
:
other
process_docs
:
!function
utils.process_other
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_philosophy.yaml
0 → 100644
View file @
3e8135ce
description
:
'
Yafuatayo
ni
maswali
ya
chaguo-nyingi
(yenye
majibu)
kuhusu
falsafa.
Fikiria
hatua
kwa
hatua
kisha
malizia
jibu
lako
kwa
"Jibu
ni
(X)"
ambapo
X
ni
herufi
ya
chaguo
sahihi.
'
include
:
_sw_lite_template_yaml
task
:
mmlu_prox_lite_sw_philosophy
task_alias
:
philosophy
process_docs
:
!function
utils.process_philosophy
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_physics.yaml
0 → 100644
View file @
3e8135ce
description
:
'
Yafuatayo
ni
maswali
ya
chaguo-nyingi
(yenye
majibu)
kuhusu
fizikia.
Fikiria
hatua
kwa
hatua
kisha
malizia
jibu
lako
kwa
"Jibu
ni
(X)"
ambapo
X
ni
herufi
ya
chaguo
sahihi.
'
include
:
_sw_lite_template_yaml
task
:
mmlu_prox_lite_sw_physics
task_alias
:
physics
process_docs
:
!function
utils.process_physics
lm_eval/tasks/mmlu_prox/sw/mmlu_prox_lite_sw_psychology.yaml
0 → 100644
View file @
3e8135ce
description
:
'
Yafuatayo
ni
maswali
ya
chaguo-nyingi
(yenye
majibu)
kuhusu
saikolojia.
Fikiria
hatua
kwa
hatua
kisha
malizia
jibu
lako
kwa
"Jibu
ni
(X)"
ambapo
X
ni
herufi
ya
chaguo
sahihi.
'
include
:
_sw_lite_template_yaml
task
:
mmlu_prox_lite_sw_psychology
task_alias
:
psychology
process_docs
:
!function
utils.process_psychology
lm_eval/tasks/mmlu_prox/te/_mmlu_prox_lite_te.yaml
0 → 100644
View file @
3e8135ce
group
:
mmlu_prox_lite_te
task
:
-
mmlu_prox_lite_te_biology
-
mmlu_prox_lite_te_business
-
mmlu_prox_lite_te_chemistry
-
mmlu_prox_lite_te_computer_science
-
mmlu_prox_lite_te_economics
-
mmlu_prox_lite_te_engineering
-
mmlu_prox_lite_te_health
-
mmlu_prox_lite_te_history
-
mmlu_prox_lite_te_law
-
mmlu_prox_lite_te_math
-
mmlu_prox_lite_te_other
-
mmlu_prox_lite_te_philosophy
-
mmlu_prox_lite_te_physics
-
mmlu_prox_lite_te_psychology
aggregate_metric_list
:
-
aggregation
:
mean
metric
:
exact_match
weight_by_size
:
true
filter_list
:
custom-extract
metadata
:
version
:
0.0
lm_eval/tasks/mmlu_prox/te/_mmlu_prox_te.yaml
0 → 100644
View file @
3e8135ce
group
:
mmlu_prox_te
task
:
-
mmlu_prox_te_biology
-
mmlu_prox_te_business
-
mmlu_prox_te_chemistry
-
mmlu_prox_te_computer_science
-
mmlu_prox_te_economics
-
mmlu_prox_te_engineering
-
mmlu_prox_te_health
-
mmlu_prox_te_history
-
mmlu_prox_te_law
-
mmlu_prox_te_math
-
mmlu_prox_te_other
-
mmlu_prox_te_philosophy
-
mmlu_prox_te_physics
-
mmlu_prox_te_psychology
aggregate_metric_list
:
-
aggregation
:
mean
metric
:
exact_match
weight_by_size
:
true
filter_list
:
custom-extract
metadata
:
version
:
0.0
lm_eval/tasks/mmlu_prox/te/_te_lite_template_yaml
0 → 100644
View file @
3e8135ce
dataset_path: li-lab/MMLU-ProX-Lite
dataset_name: te
test_split: test
fewshot_split: validation
fewshot_config:
sampler: first_n
doc_to_text: !function utils.fewshot_to_text
doc_to_target: ""
output_type: generate_until
doc_to_text: !function utils.doc_to_text
doc_to_target: answer
filter_list:
- name: "custom-extract"
filter:
- function: "regex"
regex_pattern: 'సమాధానం \(?([ABCDEFGHIJ])\)?'
- function: "take_first"
generation_kwargs:
until:
- "</s>"
- "Q:"
- "ప్రశ్న:"
- "<|im_end|>"
do_sample: false
temperature: 0.0
max_gen_toks: 2048
num_fewshot: 5
metric_list:
- metric: exact_match
aggregation: mean
higher_is_better: true
ignore_case: true
ignore_punctuation: true
metadata:
version: 0.0
lm_eval/tasks/mmlu_prox/te/_te_template_yaml
0 → 100644
View file @
3e8135ce
dataset_path: li-lab/MMLU-ProX
dataset_name: te
test_split: test
fewshot_split: validation
fewshot_config:
sampler: first_n
doc_to_text: !function utils.fewshot_to_text
doc_to_target: ""
output_type: generate_until
doc_to_text: !function utils.doc_to_text
doc_to_target: answer
filter_list:
- name: "custom-extract"
filter:
- function: "regex"
regex_pattern: 'సమాధానం \(?([ABCDEFGHIJ])\)?'
- function: "take_first"
generation_kwargs:
until:
- "</s>"
- "Q:"
- "ప్రశ్న:"
- "<|im_end|>"
do_sample: false
temperature: 0.0
max_gen_toks: 2048
num_fewshot: 5
metric_list:
- metric: exact_match
aggregation: mean
higher_is_better: true
ignore_case: true
ignore_punctuation: true
metadata:
version: 0.0
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_biology.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
జీవశాస్త్రంకి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_biology
task_alias
:
biology
process_docs
:
!function
utils.process_biology
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_business.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
వ్యాపారంకి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_business
task_alias
:
business
process_docs
:
!function
utils.process_business
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_chemistry.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
రసాయన
శాస్త్రంకి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_chemistry
task_alias
:
chemistry
process_docs
:
!function
utils.process_chemistry
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_computer_science.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
కంప్యూటర్
సైన్స్కి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_computer_science
task_alias
:
computer_science
process_docs
:
!function
utils.process_computer_science
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_economics.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
ఆర్థిక
శాస్త్రంకి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_economics
task_alias
:
economics
process_docs
:
!function
utils.process_economics
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_engineering.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
ఇంజనీరింగ్కి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_engineering
task_alias
:
engineering
process_docs
:
!function
utils.process_engineering
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_health.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
ఆరోగ్యంకి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_health
task_alias
:
health
process_docs
:
!function
utils.process_health
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_history.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
చరిత్రకి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_history
task_alias
:
history
process_docs
:
!function
utils.process_history
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_law.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
న్యాయశాస్త్రంకి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_law
task_alias
:
law
process_docs
:
!function
utils.process_law
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_math.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
గణితంకి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_math
task_alias
:
math
process_docs
:
!function
utils.process_math
lm_eval/tasks/mmlu_prox/te/mmlu_prox_lite_te_other.yaml
0 → 100644
View file @
3e8135ce
description
:
'
క్రింది
ఇతరమైనకి
సంబంధించిన
బహుళఎంపిక
ప్రశ్న
(సమాధానాలతో).
దయచేసి
దశలవారీగా
ఆలోచించి,
మీ
సమాధానాన్ని
"సమాధానం
(X)"తో
ముగించండి,
ఇక్కడ
X
సరైన
ఎంపిక
అక్షరం.
'
include
:
_te_lite_template_yaml
task
:
mmlu_prox_lite_te_other
task_alias
:
other
process_docs
:
!function
utils.process_other
Prev
1
…
39
40
41
42
43
44
45
46
47
…
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