Skip to content

Commit

Permalink
Update KorMedMCQA v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GyoukChu committed Dec 12, 2024
1 parent 923c9c0 commit f8cea4f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lm_eval/tasks/kormedmcqa/_kormedmcqa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ aggregate_metric_list:
aggregation: mean
weight_by_size: true
metadata:
version: 2.0
version: 2.0
4 changes: 2 additions & 2 deletions lm_eval/tasks/kormedmcqa/_template_yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fewshot_config:
doc_to_text: "{{question.strip()}}\nA. {{A}}\nB. {{B}}\nC. {{C}}\nD. {{D}}\nE. {{E}}\n정답: {{['A', 'B', 'C', 'D', 'E'][answer-1]}}\n\n"
doc_to_target: ""
output_type: generate_until
doc_to_text: "{{question.strip()}}\nA. {{A}}\nB. {{B}}\nC. {{C}}\nD. {{D}}\nE. {{E}}\n정답: "
doc_to_text: "{{question.strip()}}\nA. {{A}}\nB. {{B}}\nC. {{C}}\nD. {{D}}\nE. {{E}}\n정답:"
doc_to_target: "{{['A', 'B', 'C', 'D', 'E'][answer-1]}}"
metric_list:
- metric: exact_match
Expand All @@ -30,4 +30,4 @@ generation_kwargs:
metadata:
version: 2.0
dataset_kwargs:
trust_remote_code: true
trust_remote_code: true
2 changes: 1 addition & 1 deletion lm_eval/tasks/kormedmcqa/dentist.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include: _template_yaml
dataset_name: dentist
task: kormedmcqa_dentist
task: kormedmcqa_dentist
2 changes: 1 addition & 1 deletion lm_eval/tasks/kormedmcqa/doctor.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include: _template_yaml
dataset_name: doctor
task: kormedmcqa_doctor
task: kormedmcqa_doctor
2 changes: 1 addition & 1 deletion lm_eval/tasks/kormedmcqa/nurse.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include: _template_yaml
dataset_name: nurse
task: kormedmcqa_nurse
task: kormedmcqa_nurse
2 changes: 1 addition & 1 deletion lm_eval/tasks/kormedmcqa/pharm.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include: _template_yaml
dataset_name: pharm
task: kormedmcqa_pharm
task: kormedmcqa_pharm

0 comments on commit f8cea4f

Please sign in to comment.