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
47d8de5a
Commit
47d8de5a
authored
May 14, 2024
by
JessicaOjo
Browse files
restructure mmlu folder
parent
065d91bb
Changes
38
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
19 additions
and
19 deletions
+19
-19
lm_eval/tasks/afrimmlu/direct/afrimmlu_common_yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_common_yaml
+0
-0
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_amh.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_amh.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_eng.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_eng.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_ewe.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_ewe.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_fra.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_fra.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_hau.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_hau.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_ibo.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_ibo.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_kin.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_kin.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_lin.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_lin.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_lug.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_lug.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_orm.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_orm.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_sna.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_sna.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_sot.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_sot.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_swa.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_swa.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_twi.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_twi.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_wol.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_wol.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_xho.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_xho.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_yor.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_yor.yaml
+1
-1
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_zul.yaml
lm_eval/tasks/afrimmlu/direct/afrimmlu_direct_zul.yaml
+1
-1
lm_eval/tasks/afrimmlu/fewshot.sh
lm_eval/tasks/afrimmlu/fewshot.sh
+1
-1
No files found.
lm_eval/tasks/afrimmlu/afrimmlu_common_yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_common_yaml
View file @
47d8de5a
File moved
lm_eval/tasks/afrimmlu/afrimmlu_amh.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
amh.yaml
View file @
47d8de5a
dataset_name
:
amh
include
:
afrimmlu_common_yaml
task
:
afrimmlu_amh
task
:
afrimmlu_
direct_
amh
lm_eval/tasks/afrimmlu/afrimmlu_eng.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
eng.yaml
View file @
47d8de5a
dataset_name
:
eng
include
:
afrimmlu_common_yaml
task
:
afrimmlu_eng
task
:
afrimmlu_
direct_
eng
lm_eval/tasks/afrimmlu/afrimmlu_ewe.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
ewe.yaml
View file @
47d8de5a
dataset_name
:
ewe
include
:
afrimmlu_common_yaml
task
:
afrimmlu_ewe
task
:
afrimmlu_
direct_
ewe
lm_eval/tasks/afrimmlu/afrimmlu_fra.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
fra.yaml
View file @
47d8de5a
dataset_name
:
fra
include
:
afrimmlu_common_yaml
task
:
afrimmlu_fra
\ No newline at end of file
task
:
afrimmlu_direct_fra
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_hau.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
hau.yaml
View file @
47d8de5a
dataset_name
:
hau
include
:
afrimmlu_common_yaml
task
:
afrimmlu_hau
\ No newline at end of file
task
:
afrimmlu_direct_hau
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_ibo.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
ibo.yaml
View file @
47d8de5a
dataset_name
:
ibo
include
:
afrimmlu_common_yaml
task
:
afrimmlu_ibo
\ No newline at end of file
task
:
afrimmlu_direct_ibo
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_kin.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
kin.yaml
View file @
47d8de5a
dataset_name
:
kin
include
:
afrimmlu_common_yaml
task
:
afrimmlu_kin
\ No newline at end of file
task
:
afrimmlu_direct_kin
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_lin.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
lin.yaml
View file @
47d8de5a
dataset_name
:
lin
include
:
afrimmlu_common_yaml
task
:
afrimmlu_lin
\ No newline at end of file
task
:
afrimmlu_direct_lin
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_lug.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
lug.yaml
View file @
47d8de5a
dataset_name
:
lug
include
:
afrimmlu_common_yaml
task
:
afrimmlu_lug
\ No newline at end of file
task
:
afrimmlu_direct_lug
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_orm.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
orm.yaml
View file @
47d8de5a
dataset_name
:
orm
include
:
afrimmlu_common_yaml
task
:
afrimmlu_orm
\ No newline at end of file
task
:
afrimmlu_direct_orm
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_sna.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
sna.yaml
View file @
47d8de5a
dataset_name
:
sna
include
:
afrimmlu_common_yaml
task
:
afrimmlu_sna
\ No newline at end of file
task
:
afrimmlu_direct_sna
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_sot.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
sot.yaml
View file @
47d8de5a
dataset_name
:
sot
include
:
afrimmlu_common_yaml
task
:
afrimmlu_sot
\ No newline at end of file
task
:
afrimmlu_direct_sot
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_swa.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
swa.yaml
View file @
47d8de5a
dataset_name
:
swa
include
:
afrimmlu_common_yaml
task
:
afrimmlu_swa
\ No newline at end of file
task
:
afrimmlu_direct_swa
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_twi.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
twi.yaml
View file @
47d8de5a
dataset_name
:
twi
include
:
afrimmlu_common_yaml
task
:
afrimmlu_twi
\ No newline at end of file
task
:
afrimmlu_direct_twi
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_wol.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
wol.yaml
View file @
47d8de5a
dataset_name
:
wol
include
:
afrimmlu_common_yaml
task
:
afrimmlu_wol
\ No newline at end of file
task
:
afrimmlu_direct_wol
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_xho.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
xho.yaml
View file @
47d8de5a
dataset_name
:
xho
include
:
afrimmlu_common_yaml
task
:
afrimmlu_xho
\ No newline at end of file
task
:
afrimmlu_direct_xho
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_yor.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
yor.yaml
View file @
47d8de5a
dataset_name
:
yor
include
:
afrimmlu_common_yaml
task
:
afrimmlu_yor
\ No newline at end of file
task
:
afrimmlu_direct_yor
\ No newline at end of file
lm_eval/tasks/afrimmlu/afrimmlu_zul.yaml
→
lm_eval/tasks/afrimmlu/
direct/
afrimmlu_
direct_
zul.yaml
View file @
47d8de5a
dataset_name
:
zul
include
:
afrimmlu_common_yaml
task
:
afrimmlu_zul
\ No newline at end of file
task
:
afrimmlu_direct_zul
\ No newline at end of file
lm_eval/tasks/afrimmlu/fewshot.sh
View file @
47d8de5a
lm_eval
--model
hf
\
--model_args
pretrained
=
masakhane/African-ultrachat-alpaca
\
--tasks
afrimmlu_amh,afrimmlu_eng,afrimmlu_ewe,afrimmlu_fra,afrimmlu_hau,afrimmlu_ibo,afrimmlu_kin,afrimmlu_lin,afrimmlu_lug,afrimmlu_orm,afrimmlu_sna,afrimmlu_sot,afrimmlu_twi,afrimmlu_wol,afrimmlu_xho,afrimmlu_yor,afrimmlu_zul
\
--tasks
afrimmlu_
direct_
amh,afrimmlu_
direct_
eng,afrimmlu_
direct_
ewe,afrimmlu_
direct_
fra,afrimmlu_
direct_
hau,afrimmlu_
direct_
ibo,afrimmlu_
direct_
kin,afrimmlu_
direct_
lin,afrimmlu_
direct_
lug,afrimmlu_
direct_
orm,afrimmlu_
direct_
sna,afrimmlu_
direct_
sot,afrimmlu_
direct_
twi,afrimmlu_
direct_
wol,afrimmlu_
direct_
xho,afrimmlu_
direct_
yor,afrimmlu_
direct_
zul
\
--device
cuda:0
\
--batch_size
1
\
--num_fewshot
0
\
...
...
Prev
1
2
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