2024-05-28 23:09:59 +08:00
|
|
|
charm_tasks = [
|
|
|
|
'Anachronisms_Judgment',
|
|
|
|
'Movie_and_Music_Recommendation',
|
|
|
|
'Natural_Language_Inference',
|
|
|
|
'Reading_Comprehension',
|
|
|
|
'Sequence_Understanding',
|
|
|
|
'Sport_Understanding',
|
|
|
|
'Time_Understanding',
|
|
|
|
]
|
|
|
|
regions = [
|
|
|
|
'Chinese',
|
|
|
|
'Global',
|
|
|
|
]
|
|
|
|
prompts = [
|
|
|
|
'Direct',
|
|
|
|
'ZH-CoT',
|
|
|
|
'EN-CoT',
|
|
|
|
'XLT',
|
|
|
|
'Translate-EN',
|
|
|
|
]
|
|
|
|
|
|
|
|
|
2024-05-30 00:21:58 +08:00
|
|
|
charm_reason_summary_groups = []
|
2024-05-28 23:09:59 +08:00
|
|
|
for prompt in prompts:
|
|
|
|
for region in regions:
|
|
|
|
subsets = ['charm-reason-' + region + '_' + task + '_' + prompt for task in charm_tasks]
|
2024-05-30 00:21:58 +08:00
|
|
|
charm_reason_summary_groups.append({'name': 'charm-reason-' + region + '_' + prompt, 'subsets': subsets})
|
2024-05-28 23:09:59 +08:00
|
|
|
|
|
|
|
for prompt in prompts:
|
|
|
|
subsets = ['charm-reason-' + region + '_' + prompt for region in regions]
|
2024-05-30 00:21:58 +08:00
|
|
|
charm_reason_summary_groups.append({'name': 'charm-reason-' + prompt, 'subsets': subsets})
|
2024-05-28 23:09:59 +08:00
|
|
|
|
2024-05-30 00:21:58 +08:00
|
|
|
charm_reason_summary_groups.append(
|
2024-05-28 23:09:59 +08:00
|
|
|
{'name': 'charm-reason-CoT', 'subsets': ['charm-reason-ZH-CoT', 'charm-reason-EN-CoT']}
|
|
|
|
)
|