applied-ai-018 commited on
Commit
1fb0897
·
verified ·
1 Parent(s): e9c1a22

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/README.md +47 -0
  3. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/_arc_yaml +23 -0
  4. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_ar.yaml +7 -0
  5. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_bn.yaml +7 -0
  6. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_ca.yaml +7 -0
  7. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_da.yaml +7 -0
  8. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_es.yaml +7 -0
  9. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_fr.yaml +7 -0
  10. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_gu.yaml +7 -0
  11. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_hi.yaml +7 -0
  12. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_hr.yaml +7 -0
  13. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_hu.yaml +7 -0
  14. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_id.yaml +7 -0
  15. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_it.yaml +7 -0
  16. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_kn.yaml +7 -0
  17. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_ml.yaml +7 -0
  18. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_nl.yaml +7 -0
  19. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_ru.yaml +7 -0
  20. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_ta.yaml +7 -0
  21. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_vi.yaml +7 -0
  22. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_zh.yaml +7 -0
  23. lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/utils.py +33 -0
  24. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/README.md +48 -0
  25. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/_hellaswag_yaml +21 -0
  26. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ar.yaml +6 -0
  27. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_bn.yaml +6 -0
  28. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ca.yaml +6 -0
  29. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_da.yaml +6 -0
  30. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_de.yaml +6 -0
  31. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_es.yaml +6 -0
  32. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_eu.yaml +6 -0
  33. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_fr.yaml +6 -0
  34. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_gu.yaml +6 -0
  35. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_hi.yaml +6 -0
  36. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_hr.yaml +6 -0
  37. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_hu.yaml +6 -0
  38. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_hy.yaml +6 -0
  39. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_id.yaml +6 -0
  40. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_it.yaml +6 -0
  41. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_kn.yaml +6 -0
  42. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ml.yaml +6 -0
  43. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_mr.yaml +6 -0
  44. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ne.yaml +6 -0
  45. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_nl.yaml +6 -0
  46. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_pt.yaml +6 -0
  47. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ro.yaml +6 -0
  48. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ru.yaml +6 -0
  49. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_sk.yaml +6 -0
  50. lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_sr.yaml +6 -0
.gitattributes CHANGED
@@ -129,3 +129,4 @@ lm-evaluation-harness/wandb/run-20240605_093020-laxetjfu/run-laxetjfu.wandb filt
129
  lm-evaluation-harness/wandb/run-20240606_045127-vb760voe/run-vb760voe.wandb filter=lfs diff=lfs merge=lfs -text
130
  venv/lib/python3.10/site-packages/nvidia/cublas/lib/libcublasLt.so.12 filter=lfs diff=lfs merge=lfs -text
131
  venv/lib/python3.10/site-packages/torch/lib/libtorch_cuda.so filter=lfs diff=lfs merge=lfs -text
 
 
129
  lm-evaluation-harness/wandb/run-20240606_045127-vb760voe/run-vb760voe.wandb filter=lfs diff=lfs merge=lfs -text
130
  venv/lib/python3.10/site-packages/nvidia/cublas/lib/libcublasLt.so.12 filter=lfs diff=lfs merge=lfs -text
131
  venv/lib/python3.10/site-packages/torch/lib/libtorch_cuda.so filter=lfs diff=lfs merge=lfs -text
132
+ venv/lib/python3.10/site-packages/nvidia/cudnn/lib/libcudnn_cnn_infer.so.8 filter=lfs diff=lfs merge=lfs -text
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Multilingual ARC
2
+
3
+ ### Paper
4
+
5
+ Title: `Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback`
6
+
7
+ Abstract: https://arxiv.org/abs/2307.16039
8
+
9
+ A key technology for the development of large language models (LLMs) involves instruction tuning that helps align the models' responses with human expectations to realize impressive learning abilities. Two major approaches for instruction tuning characterize supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF), which are currently applied to produce the best commercial LLMs (e.g., ChatGPT). To improve the accessibility of LLMs for research and development efforts, various instruction-tuned open-source LLMs have also been introduced recently, e.g., Alpaca, Vicuna, to name a few. However, existing open-source LLMs have only been instruction-tuned for English and a few popular languages, thus hindering their impacts and accessibility to many other languages in the world. Among a few very recent work to explore instruction tuning for LLMs in multiple languages, SFT has been used as the only approach to instruction-tune LLMs for multiple languages. This has left a significant gap for fine-tuned LLMs based on RLHF in diverse languages and raised important questions on how RLHF can boost the performance of multilingual instruction tuning. To overcome this issue, we present Okapi, the first system with instruction-tuned LLMs based on RLHF for multiple languages. Okapi introduces instruction and response-ranked data in 26 diverse languages to facilitate the experiments and development of future multilingual LLM research. We also present benchmark datasets to enable the evaluation of generative LLMs in multiple languages. Our experiments demonstrate the advantages of RLHF for multilingual instruction over SFT for different base models and datasets. Our framework and resources are released at this https URL.
10
+
11
+ Homepage: `https://github.com/nlp-uoregon/Okapi`
12
+
13
+
14
+ ### Citation
15
+
16
+ ```
17
+ @article{dac2023okapi,
18
+ title={Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback},
19
+ author={Dac Lai, Viet and Van Nguyen, Chien and Ngo, Nghia Trung and Nguyen, Thuat and Dernoncourt, Franck and Rossi, Ryan A and Nguyen, Thien Huu},
20
+ journal={arXiv e-prints},
21
+ pages={arXiv--2307},
22
+ year={2023}
23
+ }
24
+ ```
25
+
26
+ ### Groups and Tasks
27
+
28
+ #### Groups
29
+
30
+ - arc_multilingual
31
+
32
+ #### Tasks
33
+
34
+ - `arc_{ar,bn,ca,da,de,es,eu,fr,gu,hi,hr,hu,hy,id,it,kn,ml,mr,ne,nl,pt,ro,ru,sk,sr,sv,ta,te,uk,vi,zh}`
35
+
36
+ ### Checklist
37
+
38
+ For adding novel benchmarks/datasets to the library:
39
+ * [x] Is the task an existing benchmark in the literature?
40
+ * [x] Have you referenced the original paper that introduced the task?
41
+ * [x] If yes, does the original paper provide a reference implementation? If so, have you checked against the reference implementation and documented how to run such a test?
42
+
43
+
44
+ If other tasks on this dataset are already supported:
45
+ * [ ] Is the "Main" variant of this task clearly denoted?
46
+ * [ ] Have you provided a short sentence in a README on what each new variant adds / evaluates?
47
+ * [ ] Have you noted which, if any, published evaluation setups are matched by this variant?
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/_arc_yaml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ group:
2
+ - arc_multilingual
3
+ dataset_path: null
4
+ dataset_name: null
5
+ output_type: multiple_choice
6
+ training_split: train
7
+ validation_split: validation
8
+ test_split: test
9
+ process_docs: !function utils.process_docs
10
+ doc_to_text: "query"
11
+ doc_to_target: "gold"
12
+ doc_to_choice: "choices"
13
+ should_decontaminate: true
14
+ doc_to_decontamination_query: "query"
15
+ metric_list:
16
+ - metric: acc
17
+ aggregation: mean
18
+ higher_is_better: true
19
+ - metric: acc_norm
20
+ aggregation: mean
21
+ higher_is_better: true
22
+ metadata:
23
+ version: 1.0
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_ar.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_ar
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: ar
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_bn.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_bn
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: bn
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_ca.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_ca
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: ca
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_da.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_da
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: da
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_es.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_es
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: es
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_fr.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_fr
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: fr
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_gu.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_gu
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: gu
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_hi.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_hi
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: hi
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_hr.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_hr
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: hr
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_hu.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_hu
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: hu
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_id.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_id
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: id
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_it.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_it
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: it
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_kn.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_kn
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: kn
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_ml.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_ml
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: ml
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_nl.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_nl
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: nl
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_ru.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_ru
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: ru
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_ta.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_ta
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: ta
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_vi.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_vi
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: vi
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/arc_zh.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include: _arc_yaml
2
+ task: arc_zh
3
+ dataset_path: alexandrainst/m_arc
4
+ dataset_name: zh
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
lm-evaluation-harness/lm_eval/tasks/okapi/arc_multilingual/utils.py ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import re
2
+
3
+ import datasets
4
+
5
+
6
+ def preprocess(text):
7
+ if text is None:
8
+ return " "
9
+ text = text.strip()
10
+ text = text.replace(" [title]", ". ")
11
+ text = re.sub("\\[.*?\\]", "", text)
12
+ text = text.replace(" ", " ")
13
+ return text
14
+
15
+
16
+ def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:
17
+ def _process_doc(doc):
18
+ # breakpoint()
19
+ out_doc = {
20
+ "id": doc["id"],
21
+ "query": "Question: " + preprocess(doc["instruction"]) + "\nAnswer:",
22
+ "choices": [
23
+ preprocess(doc["option_a"]),
24
+ preprocess(doc["option_b"]),
25
+ preprocess(doc["option_c"]),
26
+ preprocess(doc["option_d"]),
27
+ preprocess(doc["option_e"]),
28
+ ],
29
+ "gold": ["A", "B", "C", "D", "E"].index(doc["answer"]),
30
+ }
31
+ return out_doc
32
+
33
+ return dataset.map(_process_doc)
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Multilingual HellaSwag
2
+
3
+ ### Paper
4
+
5
+ Title: `Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback`
6
+
7
+ Abstract: https://arxiv.org/abs/2307.16039
8
+
9
+ A key technology for the development of large language models (LLMs) involves instruction tuning that helps align the models' responses with human expectations to realize impressive learning abilities. Two major approaches for instruction tuning characterize supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF), which are currently applied to produce the best commercial LLMs (e.g., ChatGPT). To improve the accessibility of LLMs for research and development efforts, various instruction-tuned open-source LLMs have also been introduced recently, e.g., Alpaca, Vicuna, to name a few. However, existing open-source LLMs have only been instruction-tuned for English and a few popular languages, thus hindering their impacts and accessibility to many other languages in the world. Among a few very recent work to explore instruction tuning for LLMs in multiple languages, SFT has been used as the only approach to instruction-tune LLMs for multiple languages. This has left a significant gap for fine-tuned LLMs based on RLHF in diverse languages and raised important questions on how RLHF can boost the performance of multilingual instruction tuning. To overcome this issue, we present Okapi, the first system with instruction-tuned LLMs based on RLHF for multiple languages. Okapi introduces instruction and response-ranked data in 26 diverse languages to facilitate the experiments and development of future multilingual LLM research. We also present benchmark datasets to enable the evaluation of generative LLMs in multiple languages. Our experiments demonstrate the advantages of RLHF for multilingual instruction over SFT for different base models and datasets. Our framework and resources are released at this https URL.
10
+
11
+ Homepage: `https://github.com/nlp-uoregon/Okapi`
12
+
13
+
14
+ ### Citation
15
+
16
+ ```
17
+ @article{dac2023okapi,
18
+ title={Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback},
19
+ author={Dac Lai, Viet and Van Nguyen, Chien and Ngo, Nghia Trung and Nguyen, Thuat and Dernoncourt, Franck and Rossi, Ryan A and Nguyen, Thien Huu},
20
+ journal={arXiv e-prints},
21
+ pages={arXiv--2307},
22
+ year={2023}
23
+ }
24
+ ```
25
+
26
+ ### Groups and Tasks
27
+
28
+ #### Groups
29
+
30
+ - hellaswag_multilingual
31
+
32
+ #### Tasks
33
+
34
+ - `hellaswag_{ar,bn,ca,da,de,es,eu,fr,gu,hi,hr,hu,hy,id,it,kn,ml,mr,ne,nl,pt,ro,ru,sk,sr,sv,ta,te,uk,vi}`
35
+
36
+
37
+ ### Checklist
38
+
39
+ For adding novel benchmarks/datasets to the library:
40
+ * [x] Is the task an existing benchmark in the literature?
41
+ * [x] Have you referenced the original paper that introduced the task?
42
+ * [x] If yes, does the original paper provide a reference implementation? If so, have you checked against the reference implementation and documented how to run such a test?
43
+
44
+
45
+ If other tasks on this dataset are already supported:
46
+ * [ ] Is the "Main" variant of this task clearly denoted?
47
+ * [ ] Have you provided a short sentence in a README on what each new variant adds / evaluates?
48
+ * [ ] Have you noted which, if any, published evaluation setups are matched by this variant?
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/_hellaswag_yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ group:
2
+ - hellaswag_multilingual
3
+ dataset_path: null
4
+ dataset_name: null
5
+ output_type: multiple_choice
6
+ training_split: null
7
+ validation_split: validation
8
+ test_split: null
9
+ process_docs: !function utils.process_docs
10
+ doc_to_text: "query"
11
+ doc_to_target: "{{label.lstrip()}}"
12
+ doc_to_choice: "choices"
13
+ metric_list:
14
+ - metric: acc
15
+ aggregation: mean
16
+ higher_is_better: true
17
+ - metric: acc_norm
18
+ aggregation: mean
19
+ higher_is_better: true
20
+ metadata:
21
+ version: 1.0
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ar.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_ar
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: ar
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_bn.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_bn
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: bn
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ca.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_ca
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: ca
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_da.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_da
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: da
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_de.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_de
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: de
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_es.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_es
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: es
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_eu.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_eu
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: eu
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_fr.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_fr
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: fr
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_gu.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_gu
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: gu
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_hi.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_hi
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: hi
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_hr.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_hr
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: hr
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_hu.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_hu
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: hu
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_hy.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_hy
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: hy
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_id.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_id
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: id
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_it.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_it
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: it
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_kn.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_kn
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: kn
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ml.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_ml
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: ml
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_mr.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_mr
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: mr
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ne.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_ne
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: ne
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_nl.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_nl
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: nl
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_pt.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_pt
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: pt
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ro.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_ro
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: ro
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_ru.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_ru
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: ru
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_sk.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_sk
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: sk
5
+ training_split: null
6
+ validation_split: val
lm-evaluation-harness/lm_eval/tasks/okapi/hellaswag_multilingual/hellaswag_sr.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include: _hellaswag_yaml
2
+ task: hellaswag_sr
3
+ dataset_path: alexandrainst/m_hellaswag
4
+ dataset_name: sr
5
+ training_split: null
6
+ validation_split: val