Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- testbed/Aider-AI__aider/assets/screenshot.png +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/README.md +54 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/direct_hard/kmmlu_direct_hard_social_welfare.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/direct_hard/kmmlu_direct_hard_telecommunications_and_wireless_technology.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_civil_engineering.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_computer_science.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_construction.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_ecology.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_economics.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_electrical_engineering.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_energy_management.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_environmental_science.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_fashion.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_geomatics.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_health.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_industrial_engineer.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_information_technology.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_interior_architecture_and_design.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_korean_history.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_law.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_machine_design_and_manufacturing.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_management.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_maritime_engineering.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_marketing.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_materials_engineering.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_math.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_mechanical_engineering.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_nondestructive_testing.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_patent.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_political_science_and_sociology.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_psychology.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_public_safety.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_railway_and_automotive_engineering.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_real_estate.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_refrigerating_machinery.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_social_welfare.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_taxation.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_telecommunications_and_wireless_technology.yaml +3 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/README.md +37 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/kobest_boolq.yaml +23 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/kobest_copa.yaml +23 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/kobest_hellaswag.yaml +27 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/kobest_sentineg.yaml +25 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/kobest_wic.yaml +25 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/utils.py +49 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kormedmcqa/README.md +47 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kormedmcqa/_kormedmcqa.yaml +11 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kormedmcqa/kormedmcqa_doctor.yaml +26 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kormedmcqa/kormedmcqa_nurse.yaml +26 -0
- testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kormedmcqa/kormedmcqa_pharm.yaml +26 -0
testbed/Aider-AI__aider/assets/screenshot.png
ADDED
|
Git LFS Details
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# k_mmlu
|
| 2 |
+
|
| 3 |
+
### Paper
|
| 4 |
+
|
| 5 |
+
Title: `KMMLU : Measuring Massive Multitask Language Understanding in Korean`
|
| 6 |
+
|
| 7 |
+
Abstract: `We propose KMMLU, a new Korean benchmark with 35,030 expert-level multiple-choice questions across 45 subjects ranging from humanities to STEM. Unlike previous Korean benchmarks that are translated from existing English benchmarks, KMMLU is collected from original Korean exams, capturing linguistic and cultural aspects of the Korean language. We test 26 publicly available and proprietary LLMs, identifying significant room for improvement. The best publicly available model achieves 50.54% on KMMLU, far below the average human performance of 62.6%. This model was primarily trained for English and Chinese, not Korean. Current LLMs tailored to Korean, such as Polyglot-Ko, perform far worse. Surprisingly, even the most capable proprietary LLMs, e.g., GPT-4 and HyperCLOVA X, achieve 59.95% and 53.40%, respectively. This suggests that further work is needed to improve Korean LLMs, and KMMLU offers the right tool to track this progress. We make our dataset publicly available on the Hugging Face Hub and integrate the benchmark into EleutherAI's Language Model Evaluation Harness.`
|
| 8 |
+
|
| 9 |
+
Note: lm-eval-harness is using the micro average as the default. To replicate the test results in the paper, take the macro average for the scores evaluated with lm-eval-harness
|
| 10 |
+
|
| 11 |
+
Homepage: https://huggingface.co/datasets/HAERAE-HUB/KMMLU
|
| 12 |
+
|
| 13 |
+
### Citation
|
| 14 |
+
|
| 15 |
+
@article{son2024kmmlu,
|
| 16 |
+
title={KMMLU: Measuring Massive Multitask Language Understanding in Korean},
|
| 17 |
+
author={Guijin Son and Hanwool Lee and Sungdong Kim and Seungone Kim and Niklas Muennighoff and Taekyoon Choi and Cheonbok Park and Kang Min Yoo and Stella Biderman},
|
| 18 |
+
journal={arXiv preprint arXiv:2402.11548},
|
| 19 |
+
year={2024}
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
### Groups and Tasks
|
| 23 |
+
|
| 24 |
+
#### Groups
|
| 25 |
+
|
| 26 |
+
* `kmmlu`: 'All 45 subjects of the KMMLU dataset, evaluated following the methodology in MMLU's original implementation'
|
| 27 |
+
* `kmmlu_direct`: 'kmmlu_direct solves questions using a straightforward *generative* multiple-choice question-answering approach'
|
| 28 |
+
* `kmmlu_hard`: 'kmmlu_hard comprises difficult questions that at least one proprietary model failed to answer correctly using log-likelihood approach'
|
| 29 |
+
* `kmmlu_hard_direct`: 'kmmlu_hard_direct solves questions of kmmlu_hard using direct(generative) approach'
|
| 30 |
+
* `kmmlu_hard_cot`: 'kmmlu_hard_cot includes 5-shot of exemplars for chain-of-thought approach'
|
| 31 |
+
|
| 32 |
+
#### Tasks
|
| 33 |
+
|
| 34 |
+
The following tasks evaluate subjects in the KMMLU dataset
|
| 35 |
+
- `kmmlu_direct_{subject_english}`
|
| 36 |
+
|
| 37 |
+
The following tasks evaluate subjects in the KMMLU-Hard dataset
|
| 38 |
+
- `kmmlu_hard_{subject_english}`
|
| 39 |
+
- `kmmlu_hard_cot_{subject_english}`
|
| 40 |
+
- `kmmlu_hard_direct_{subject_english}`
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
### Checklist
|
| 44 |
+
|
| 45 |
+
For adding novel benchmarks/datasets to the library:
|
| 46 |
+
* [x] Is the task an existing benchmark in the literature?
|
| 47 |
+
* [x] Have you referenced the original paper that introduced the task?
|
| 48 |
+
* [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?
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
If other tasks on this dataset are already supported:
|
| 52 |
+
* [ ] Is the "Main" variant of this task clearly denoted?
|
| 53 |
+
* [ ] Have you provided a short sentence in a README on what each new variant adds / evaluates?
|
| 54 |
+
* [ ] Have you noted which, if any, published evaluation setups are matched by this variant?
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/direct_hard/kmmlu_direct_hard_social_welfare.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: social_welfare
|
| 2 |
+
include: _direct_hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_direct_social_welfare
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/direct_hard/kmmlu_direct_hard_telecommunications_and_wireless_technology.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: telecommunications_and_wireless_technology
|
| 2 |
+
include: _direct_hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_direct_telecommunications_and_wireless_technology
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_civil_engineering.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: civil_engineering
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_civil_engineering
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_computer_science.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: computer_science
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_computer_science
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_construction.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: construction
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_construction
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_ecology.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: ecology
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_ecology
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_economics.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: economics
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_economics
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_electrical_engineering.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: electrical_engineering
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_electrical_engineering
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_energy_management.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: energy_management
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_energy_management
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_environmental_science.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: environmental_science
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_environmental_science
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_fashion.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: fashion
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_fashion
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_geomatics.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: geomatics
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_geomatics
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_health.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: health
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_health
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_industrial_engineer.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: industrial_engineer
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_industrial_engineer
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_information_technology.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: information_technology
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_information_technology
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_interior_architecture_and_design.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: interior_architecture_and_design
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_interior_architecture_and_design
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_korean_history.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: korean_history
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_korean_history
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_law.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: law
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_law
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_machine_design_and_manufacturing.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: machine_design_and_manufacturing
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_machine_design_and_manufacturing
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_management.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: management
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_management
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_maritime_engineering.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: maritime_engineering
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_maritime_engineering
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_marketing.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: marketing
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_marketing
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_materials_engineering.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: materials_engineering
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_materials_engineering
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_math.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: math
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_math
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_mechanical_engineering.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: mechanical_engineering
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_mechanical_engineering
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_nondestructive_testing.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: nondestructive_testing
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_nondestructive_testing
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_patent.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: patent
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_patent
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_political_science_and_sociology.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: political_science_and_sociology
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_political_science_and_sociology
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_psychology.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: psychology
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_psychology
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_public_safety.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: public_safety
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_public_safety
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_railway_and_automotive_engineering.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: railway_and_automotive_engineering
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_railway_and_automotive_engineering
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_real_estate.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: real_estate
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_real_estate
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_refrigerating_machinery.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: refrigerating_machinery
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_refrigerating_machinery
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_social_welfare.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: social_welfare
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_social_welfare
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_taxation.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: taxation
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_taxation
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kmmlu/hard/kmmlu_hard_telecommunications_and_wireless_technology.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: telecommunications_and_wireless_technology
|
| 2 |
+
include: _hard_kmmlu_yaml
|
| 3 |
+
task: kmmlu_hard_telecommunications_and_wireless_technology
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LAMBADA
|
| 2 |
+
|
| 3 |
+
### Paper
|
| 4 |
+
Title: `KOBEST: Korean Balanced Evaluation of Significant Tasks`
|
| 5 |
+
|
| 6 |
+
Abstract: https://arxiv.org/abs/2204.04541
|
| 7 |
+
|
| 8 |
+
A well-formulated benchmark plays a critical role in spurring advancements in the natural language processing (NLP) field, as it allows objective and precise evaluation of diverse models. As modern language models (LMs) have become more elaborate and sophisticated, more difficult benchmarks that require linguistic knowledge and reasoning have been proposed. However, most of these benchmarks only support English, and great effort is necessary to construct benchmarks for other low resource languages. To this end, we propose a new benchmark named Korean balanced evaluation of significant tasks (KoBEST), which consists of five Korean-language downstream tasks. Professional Korean linguists designed the tasks that require advanced Korean linguistic knowledge. Moreover, our data is purely annotated by humans and thoroughly reviewed to guarantee high data quality. We also provide baseline models and human performance results. Our dataset is available on the Huggingface.
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
Homepage: https://huggingface.co/datasets/skt/kobest_v1
|
| 12 |
+
|
| 13 |
+
### Groups and Tasks
|
| 14 |
+
|
| 15 |
+
#### Groups
|
| 16 |
+
|
| 17 |
+
- `kobest`
|
| 18 |
+
|
| 19 |
+
#### Tasks
|
| 20 |
+
|
| 21 |
+
- `kobest_boolq`
|
| 22 |
+
- `kobest_copa`
|
| 23 |
+
- `kobest_hallawag`
|
| 24 |
+
- `kobest_sentineg`
|
| 25 |
+
- `kobest_wic`
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
### Citation
|
| 29 |
+
|
| 30 |
+
@misc{
|
| 31 |
+
author={Dohyeong Kim, Myeongjun Jang, Deuk Sin Kwon, Eric Davis},
|
| 32 |
+
title={KOBEST: Korean Balanced Evaluation of Significant Tasks},
|
| 33 |
+
DOI={https://doi.org/10.48550/arXiv.2204.04541},
|
| 34 |
+
publisher={arXiv},
|
| 35 |
+
year={2022},
|
| 36 |
+
month={Apr}
|
| 37 |
+
}
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/kobest_boolq.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tag:
|
| 2 |
+
- kobest
|
| 3 |
+
task: kobest_boolq
|
| 4 |
+
dataset_path: skt/kobest_v1
|
| 5 |
+
dataset_name: boolq
|
| 6 |
+
output_type: multiple_choice
|
| 7 |
+
training_split: train
|
| 8 |
+
validation_split: validation
|
| 9 |
+
test_split: test
|
| 10 |
+
doc_to_text: "{{paragraph}} 질문: {{question}} 답변: "
|
| 11 |
+
doc_to_target: "{{label}}"
|
| 12 |
+
doc_to_choice: ["아니오", "예"]
|
| 13 |
+
metric_list:
|
| 14 |
+
- metric: acc
|
| 15 |
+
aggregation: mean
|
| 16 |
+
higher_is_better: True
|
| 17 |
+
- metric: f1
|
| 18 |
+
aggregation: !function utils.macro_f1_score
|
| 19 |
+
average: macro
|
| 20 |
+
hf_evaluate: true
|
| 21 |
+
higher_is_better: True
|
| 22 |
+
metadata:
|
| 23 |
+
version: 1.0
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/kobest_copa.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tag:
|
| 2 |
+
- kobest
|
| 3 |
+
task: kobest_copa
|
| 4 |
+
dataset_path: skt/kobest_v1
|
| 5 |
+
dataset_name: copa
|
| 6 |
+
output_type: multiple_choice
|
| 7 |
+
training_split: train
|
| 8 |
+
validation_split: validation
|
| 9 |
+
test_split: test
|
| 10 |
+
doc_to_text: !function utils.copa_doc_to_text
|
| 11 |
+
doc_to_target: !function utils.copa_doc_to_target
|
| 12 |
+
doc_to_choice: !function utils.copa_doc_to_choice
|
| 13 |
+
metric_list:
|
| 14 |
+
- metric: acc
|
| 15 |
+
aggregation: mean
|
| 16 |
+
higher_is_better: True
|
| 17 |
+
- metric: f1
|
| 18 |
+
aggregation: !function utils.macro_f1_score
|
| 19 |
+
average: macro
|
| 20 |
+
hf_evaluate: true
|
| 21 |
+
higher_is_better: True
|
| 22 |
+
metadata:
|
| 23 |
+
version: 1.0
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/kobest_hellaswag.yaml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tag:
|
| 2 |
+
- kobest
|
| 3 |
+
task: kobest_hellaswag
|
| 4 |
+
dataset_path: skt/kobest_v1
|
| 5 |
+
dataset_name: hellaswag
|
| 6 |
+
training_split: train
|
| 7 |
+
validation_split: validation
|
| 8 |
+
output_type: multiple_choice
|
| 9 |
+
test_split: test
|
| 10 |
+
doc_to_text: "{{query}}"
|
| 11 |
+
doc_to_target: "{{label}}"
|
| 12 |
+
process_docs: !function utils.hellaswag_process_doc
|
| 13 |
+
doc_to_choice: "choices"
|
| 14 |
+
metric_list:
|
| 15 |
+
- metric: acc
|
| 16 |
+
aggregation: mean
|
| 17 |
+
higher_is_better: True
|
| 18 |
+
- metric: acc_norm
|
| 19 |
+
aggregation: mean
|
| 20 |
+
higher_is_better: True
|
| 21 |
+
- metric: f1
|
| 22 |
+
aggregation: !function utils.macro_f1_score
|
| 23 |
+
average: macro
|
| 24 |
+
hf_evaluate: true
|
| 25 |
+
higher_is_better: True
|
| 26 |
+
metadata:
|
| 27 |
+
version: 1.0
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/kobest_sentineg.yaml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tag:
|
| 2 |
+
- kobest
|
| 3 |
+
task: kobest_sentineg
|
| 4 |
+
dataset_path: skt/kobest_v1
|
| 5 |
+
dataset_name: sentineg
|
| 6 |
+
output_type: multiple_choice
|
| 7 |
+
training_split: train
|
| 8 |
+
validation_split: validation
|
| 9 |
+
test_split: test
|
| 10 |
+
doc_to_text: !function utils.sentineg_doc_to_text
|
| 11 |
+
doc_to_target: "{{label}}"
|
| 12 |
+
doc_to_choice: ["부정", "긍정"]
|
| 13 |
+
metric_list:
|
| 14 |
+
- metric: acc
|
| 15 |
+
aggregation: mean
|
| 16 |
+
higher_is_better: True
|
| 17 |
+
- metric: f1
|
| 18 |
+
aggregation: !function utils.macro_f1_score
|
| 19 |
+
average: macro
|
| 20 |
+
hf_evaluate: true
|
| 21 |
+
higher_is_better: True
|
| 22 |
+
metadata:
|
| 23 |
+
version: 1.0
|
| 24 |
+
dataset_kwargs:
|
| 25 |
+
trust_remote_code: true
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/kobest_wic.yaml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tag:
|
| 2 |
+
- kobest
|
| 3 |
+
task: kobest_wic
|
| 4 |
+
dataset_path: skt/kobest_v1
|
| 5 |
+
dataset_name: wic
|
| 6 |
+
output_type: multiple_choice
|
| 7 |
+
training_split: train
|
| 8 |
+
validation_split: validation
|
| 9 |
+
test_split: test
|
| 10 |
+
doc_to_text: !function utils.wic_doc_to_text
|
| 11 |
+
doc_to_target: "{{label}}"
|
| 12 |
+
doc_to_choice: ['아니오', '예']
|
| 13 |
+
metric_list:
|
| 14 |
+
- metric: acc
|
| 15 |
+
aggregation: mean
|
| 16 |
+
higher_is_better: True
|
| 17 |
+
- metric: f1
|
| 18 |
+
aggregation: !function utils.macro_f1_score
|
| 19 |
+
average: macro
|
| 20 |
+
hf_evaluate: true
|
| 21 |
+
higher_is_better: True
|
| 22 |
+
metadata:
|
| 23 |
+
version: 1.0
|
| 24 |
+
dataset_kwargs:
|
| 25 |
+
trust_remote_code: true
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kobest/utils.py
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datasets import Dataset
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
def copa_doc_to_text(doc: dict) -> str:
|
| 5 |
+
connector = {"원인": " 왜냐하면", "결과": " 그래서"}[doc["question"].strip()]
|
| 6 |
+
return f"""{doc["premise"]} {connector}"""
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def copa_doc_to_target(doc: dict) -> str:
|
| 10 |
+
correct_choice = doc["alternative_1"] if doc["label"] == 0 else doc["alternative_2"]
|
| 11 |
+
return f"""{correct_choice}"""
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def copa_doc_to_choice(doc: dict) -> list:
|
| 15 |
+
return [f"""{doc["alternative_1"]}""", f"""{doc["alternative_2"]}"""]
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def sentineg_doc_to_text(doc: dict):
|
| 19 |
+
return f"""문장: {doc["sentence"]} 긍부정:"""
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def wic_doc_to_text(doc: dict) -> str:
|
| 23 |
+
return f"""문장1: {doc["context_1"]} 문장2: {doc["context_2"]} 두 문장에서 {doc["word"]}가 같은 뜻으로 쓰였나?"""
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def hellaswag_process_doc(doc: Dataset) -> Dataset:
|
| 27 |
+
def preprocessor(dataset):
|
| 28 |
+
return {
|
| 29 |
+
"query": f"""문장: {dataset["context"]}""",
|
| 30 |
+
"choices": [
|
| 31 |
+
dataset["ending_1"],
|
| 32 |
+
dataset["ending_2"],
|
| 33 |
+
dataset["ending_3"],
|
| 34 |
+
dataset["ending_4"],
|
| 35 |
+
],
|
| 36 |
+
"gold": int(dataset["label"]),
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
return doc.map(preprocessor)
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
def macro_f1_score(items):
|
| 43 |
+
from sklearn.metrics import f1_score
|
| 44 |
+
|
| 45 |
+
unzipped_list = list(zip(*items))
|
| 46 |
+
golds = unzipped_list[0]
|
| 47 |
+
preds = unzipped_list[1]
|
| 48 |
+
fscore = f1_score(golds, preds, average="macro")
|
| 49 |
+
return fscore
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kormedmcqa/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KorMedMCQA
|
| 2 |
+
|
| 3 |
+
### Paper
|
| 4 |
+
|
| 5 |
+
Title: `KorMedMCQA: Multi-Choice Question Answering Benchmark for Korean Healthcare Professional Licensing Examinations`
|
| 6 |
+
|
| 7 |
+
Abstract: `We introduce KorMedMCQA, the first Korean multiple-choice question answering (MCQA) benchmark derived from Korean healthcare professional licensing examinations, covering from the year 2012 to year 2023. This dataset consists of a selection of questions from the license examinations for doctors, nurses, and pharmacists, featuring a diverse array of subjects. We conduct baseline experiments on various large language models, including proprietary/open-source, multilingual/Korean-additional pretrained, and clinical context pretrained models, highlighting the potential for further enhancements. We make our data publicly available on HuggingFace and provide a evaluation script via LM-Harness, inviting further exploration and advancement in Korean healthcare environments.`
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
Paper : https://arxiv.org/abs/2403.01469
|
| 11 |
+
|
| 12 |
+
Homepage: https://huggingface.co/datasets/sean0042/KorMedMCQA
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
### Citation
|
| 16 |
+
|
| 17 |
+
```
|
| 18 |
+
@article{kweon2024kormedmcqa,
|
| 19 |
+
title={KorMedMCQA: Multi-Choice Question Answering Benchmark for Korean Healthcare Professional Licensing Examinations},
|
| 20 |
+
author={Sunjun Kweon and Byungjin Choi and Minkyu Kim and Rae Woong Park and Edward Choi},
|
| 21 |
+
journal={arXiv preprint arXiv:2403.01469},
|
| 22 |
+
year={2024}
|
| 23 |
+
}
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
### Groups and Tasks
|
| 27 |
+
|
| 28 |
+
* `kormedmcqa`: Runs `kormedmcqa_doctor`, `kormedmcqa_nurse`, and `kormedmcqa_pharm`.
|
| 29 |
+
|
| 30 |
+
#### Tasks
|
| 31 |
+
|
| 32 |
+
* `kormedmcqa_doctor`: `Official Korean Doctor Examination`
|
| 33 |
+
* `kormedmcqa_nurse`: `Official Korean Nurse Examination`
|
| 34 |
+
* `kormedmcqa_pharm`: `Official Korean Pharmacist Examination`
|
| 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?
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kormedmcqa/_kormedmcqa.yaml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
group: kormedmcqa
|
| 2 |
+
task:
|
| 3 |
+
- kormedmcqa_doctor
|
| 4 |
+
- kormedmcqa_nurse
|
| 5 |
+
- kormedmcqa_pharm
|
| 6 |
+
aggregate_metric_list:
|
| 7 |
+
- metric: exact_match
|
| 8 |
+
aggregation: mean
|
| 9 |
+
weight_by_size: true
|
| 10 |
+
metadata:
|
| 11 |
+
version: 0.0
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kormedmcqa/kormedmcqa_doctor.yaml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task : kormedmcqa_doctor
|
| 2 |
+
dataset_path : sean0042/KorMedMCQA
|
| 3 |
+
dataset_name : doctor
|
| 4 |
+
test_split : test
|
| 5 |
+
fewshot_split : dev
|
| 6 |
+
fewshot_config:
|
| 7 |
+
sampler: first_n
|
| 8 |
+
output_type: generate_until
|
| 9 |
+
doc_to_text: "{{question.strip()}}\nA. {{A}}\nB. {{B}}\nC. {{C}}\nD. {{D}}\nE. {{E}}\n정답:"
|
| 10 |
+
doc_to_target: "{{['A', 'B', 'C', 'D', 'E'][answer-1]}}"
|
| 11 |
+
metric_list:
|
| 12 |
+
- metric: exact_match
|
| 13 |
+
aggregation: mean
|
| 14 |
+
higher_is_better: true
|
| 15 |
+
ignore_case: true
|
| 16 |
+
ignore_punctuation: true
|
| 17 |
+
regexes_to_ignore:
|
| 18 |
+
- " "
|
| 19 |
+
generation_kwargs:
|
| 20 |
+
until:
|
| 21 |
+
- "Q:"
|
| 22 |
+
- "\n\n"
|
| 23 |
+
- "</s>"
|
| 24 |
+
- "."
|
| 25 |
+
do_sample: false
|
| 26 |
+
temperature: 0.0
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kormedmcqa/kormedmcqa_nurse.yaml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task : kormedmcqa_nurse
|
| 2 |
+
dataset_path : sean0042/KorMedMCQA
|
| 3 |
+
dataset_name : nurse
|
| 4 |
+
test_split : test
|
| 5 |
+
fewshot_split : dev
|
| 6 |
+
fewshot_config:
|
| 7 |
+
sampler: first_n
|
| 8 |
+
output_type: generate_until
|
| 9 |
+
doc_to_text: "{{question.strip()}}\nA. {{A}}\nB. {{B}}\nC. {{C}}\nD. {{D}}\nE. {{E}}\n정답:"
|
| 10 |
+
doc_to_target: "{{['A', 'B', 'C', 'D', 'E'][answer-1]}}"
|
| 11 |
+
metric_list:
|
| 12 |
+
- metric: exact_match
|
| 13 |
+
aggregation: mean
|
| 14 |
+
higher_is_better: true
|
| 15 |
+
ignore_case: true
|
| 16 |
+
ignore_punctuation: true
|
| 17 |
+
regexes_to_ignore:
|
| 18 |
+
- " "
|
| 19 |
+
generation_kwargs:
|
| 20 |
+
until:
|
| 21 |
+
- "Q:"
|
| 22 |
+
- "\n\n"
|
| 23 |
+
- "</s>"
|
| 24 |
+
- "."
|
| 25 |
+
do_sample: false
|
| 26 |
+
temperature: 0.0
|
testbed/EleutherAI__lm-evaluation-harness/lm_eval/tasks/kormedmcqa/kormedmcqa_pharm.yaml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task : kormedmcqa_pharm
|
| 2 |
+
dataset_path : sean0042/KorMedMCQA
|
| 3 |
+
dataset_name : pharm
|
| 4 |
+
test_split : test
|
| 5 |
+
fewshot_split : dev
|
| 6 |
+
fewshot_config:
|
| 7 |
+
sampler: first_n
|
| 8 |
+
output_type: generate_until
|
| 9 |
+
doc_to_text: "{{question.strip()}}\nA. {{A}}\nB. {{B}}\nC. {{C}}\nD. {{D}}\nE. {{E}}\n정답:"
|
| 10 |
+
doc_to_target: "{{['A', 'B', 'C', 'D', 'E'][answer-1]}}"
|
| 11 |
+
metric_list:
|
| 12 |
+
- metric: exact_match
|
| 13 |
+
aggregation: mean
|
| 14 |
+
higher_is_better: true
|
| 15 |
+
ignore_case: true
|
| 16 |
+
ignore_punctuation: true
|
| 17 |
+
regexes_to_ignore:
|
| 18 |
+
- " "
|
| 19 |
+
generation_kwargs:
|
| 20 |
+
until:
|
| 21 |
+
- "Q:"
|
| 22 |
+
- "\n\n"
|
| 23 |
+
- "</s>"
|
| 24 |
+
- "."
|
| 25 |
+
do_sample: false
|
| 26 |
+
temperature: 0.0
|