--- license: cc-by-nc-4.0 task_categories: - multiple-choice - translation language: - zh tags: - traditional chinese - cantonese - hong kong sar - llm - evaluation pretty_name: HKMMLU size_categories: - 10K ## Load data ```python from datasets import load_dataset hkmmlu_hklaw = load_dataset(r"chuxuecao/HKMMLU", 'hk_law') print(hkmmlu_hklaw) print(hkmmlu_hklaw['test'][0]) ``` Output ``` DatasetDict({ test: Dataset({ features: ['Question', 'A', 'B', 'C', 'D', 'Answer'], num_rows: 407 }) validation: Dataset({ features: ['Question', 'A', 'B', 'C', 'D', 'Answer'], num_rows: 5 }) }) {'Question': '以下哪一選項最準確描述制定《中華人民共和國香港特別行政區維護國家安全法》的法律依據?', 'A': '《中華人民共和國憲法》和《中華人民共和國香港特別行政區基本法》', 'B': '《中華人民共和國憲法》、《中華人民共和國香港特別行政區基本法》和《全國人民代表大會關於建立健全香港特別行政區維護國家安全的法律制度和執行機制的決定》', 'C': '《中華人民共和國憲法》、《中華人民共和國香港特別行政區基本法》和《中華人民共和國刑法》', 'D': '《全國人民代表大會關於建立健全香港特別行政區維護國家安全的法律制度和執行機制的決定》、《中華人民共和國刑法》和《中華人民共和國國家安全法》', 'Answer': 'B'} ``` ## Load all data at once ```python from datasets import load_dataset multi_choice_task_list = ['basic_medical_science', 'business_management', 'chinese_conditions', 'chinese_history', 'chinese_world_culture', 'chinese_world_geography', 'clinical_psychology', 'college_math', 'culture_commonsense', 'dentistry', 'economics', 'educational_psychology', 'financial_analysis', 'fire_science', 'hk_celebrity', 'hk_cultural_art', 'hk_current_affairs', 'hk_education', 'hk_entertainment_industry_management', 'hk_events_festivals', 'hk_film_television', 'hk_government_political_system', 'hk_historical_development_geography', 'hk_history', 'hk_human_geography', 'hk_law', 'hk_life_knowledge', 'hk_literature', 'hk_livelihood', 'hk_music', 'hk_party_politics', 'hk_physical_geography', 'hk_politicians_events', 'hk_society', 'hk_transport_infrastructure', 'hk_transportation', 'hk_urban_regional_development', 'hkdse_biology', 'hkdse_business_accounting_finance', 'hkdse_chemistry', 'hkdse_economics', 'hkdse_geography', 'hkdse_information_and_communication_technology', 'hkdse_mathematics', 'hkdse_physics', 'hkdse_tourism', 'human_behavior', 'insurance_studies', 'logic_reasoning', 'management_accounting', 'marketing_management', 'mechanical', 'nautical_science', 'optometry', 'organic_chemistry', 'pharmacology', 'pharmacy', 'physics', 'science_technology_commonsense', 'social_commonsense', 'statistics_and_machine_learning', 'technical', 'traditional_chinese_medicine_clinical_medicine', 'veterinary_pathology', 'veterinary_pharmacology', 'world_entertainment'] hkmmlu_multichoice = {k: load_dataset(r"chuxuecao/HKMMLU", k) for k in multi_choice_task_list} ``` ## Categories ```python stem_list = ['basic_medical_science', 'dentistry', 'dse_biology', 'dse_chemistry', 'dse_information_and_communication_technology', 'dse_mathematics', 'dse_physics', 'college_math','engineering_math', 'linear_algebra', 'mechanical', 'optometry', 'organic_chemistry', 'pharmacology', 'pharmacy', 'physics', 'statistics_and_machine_learning', 'traditional_chinese_medicine_clinical_medicine', 'veterinary_pathology','veterinary_pharmacology'] socialsci_list = ['business_management', 'chinese_world_geography', 'clinical_psychology', 'dse_business_accounting_finance', 'dse_economic', 'dse_geography', 'dse_travel', 'economics', 'educational_psychology', 'financial_analysis', 'fire_science', 'hk_physical_geography', 'hk_transport_infrastructure', 'hk_urban_regional_development', 'insurance_studies', 'management_accounting', 'marketing_management', 'nautical_science'] humanities_list = ['chinese_conditions', 'chinese_history', 'chinese_world_culture', 'hk_current_affairs', 'hk_education', 'hk_entertainment_arts_culture', 'hk_entertainment_celebrity_culture', 'hk_government_political_system', 'hk_historical_development_geography', 'hk_history', 'hk_human_geography', 'hk_law', 'hk_literature', 'hk_party_politics', 'hk_politicians_events', 'hk_society', 'human_behavior', 'world_entertainment_culture'] other_list = ['culture_commonsense', 'hk_entertainment_industry_management', 'hk_events_festivals', 'hk_film_television', 'hk_life_knowledge', 'hk_music','hk_people_livelihood', 'hk_transportation', 'logic_reasoning', 'science_technology_commonsense', 'social_commonsense', 'technical'] ``` ## Citation ``` @misc{cao2025measuringhongkongmassive, title={Measuring Hong Kong Massive Multi-Task Language Understanding}, author={Chuxue Cao and Zhenghao Zhu and Junqi Zhu and Guoying Lu and Siyu Peng and Juntao Dai and Weijie Shi and Sirui Han and Yike Guo}, year={2025}, eprint={2505.02177}, archivePrefix={arXiv}, primaryClass={cs.CL}, url={https://arxiv.org/abs/2505.02177}, } ```