{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/mega-multilingual-evaluation-of-generative-ai","title":"MEGA: Multilingual Evaluation of Generative AI","arxiv_id":"2303.12528","date":"2023-03-22","proceeding":null,"authors":["Kabir Ahuja","Harshita Diddee","Rishav Hada","Millicent Ochieng","Krithika Ramesh","Prachi Jain","Akshay Nambi","Tanuja Ganu","Sameer Segal","Maxamed Axmed","Kalika Bali","Sunayana Sitaram"],"abstract":"Generative AI models have shown impressive performance on many Natural Language Processing tasks such as language understanding, reasoning, and language generation. An important question being asked by the AI community today is about the capabilities and limits of these models, and it is clear that evaluating generative AI is very challenging. Most studies on generative LLMs have been restricted to English and it is unclear how capable these models are at understanding and generating text in other languages. We present the first comprehensive benchmarking of generative LLMs - MEGA, which evaluates models on standard NLP benchmarks, covering 16 NLP datasets across 70 typologically diverse languages. We compare the performance of generative LLMs including Chat-GPT and GPT-4 to State of the Art (SOTA) non-autoregressive models on these tasks to determine how well generative models perform compared to the previous generation of LLMs. We present a thorough analysis of the performance of models across languages and tasks and discuss challenges in improving the performance of generative LLMs on low-resource languages. We create a framework for evaluating generative LLMs in the multilingual setting and provide directions for future progress in the field.","url_abs":"https://arxiv.org/abs/2303.12528v4","url_pdf":"https://arxiv.org/pdf/2303.12528v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"mega-multilingual-evaluation-of-generative-ai","repo_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"benchmarking","task_name":"Benchmarking"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"gpt-4","method_name":"GPT-4"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2303.12528","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.12528"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/hwchase17/langchain","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":9},"by_repo_kind":{"listed":{"samples":10,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"a5f7f44e35526909","entry":"whitespace_tokenize","repo":"microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","repo_kind":"listed","path":"mega/compile_qa_results.py","file_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA/blob/HEAD/mega/compile_qa_results.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a5f7f44e35526909"}},{"code_sha256_prefix":"f9bc748678a87d5f","entry":"get_key","repo":"microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","repo_kind":"listed","path":"mega/XLSUM.py","file_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA/blob/HEAD/mega/XLSUM.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f9bc748678a87d5f"}},{"code_sha256_prefix":"49be2dc7b5784968","entry":"get_results","repo":"microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","repo_kind":"listed","path":"mega/compile_results.py","file_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA/blob/HEAD/mega/compile_results.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"49be2dc7b5784968"}},{"code_sha256_prefix":"30ae16d06e2fb775","entry":"get_results","repo":"microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","repo_kind":"listed","path":"mega/compile_tag_results.py","file_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA/blob/HEAD/mega/compile_tag_results.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"30ae16d06e2fb775"}},{"code_sha256_prefix":"7b9420345e75ffce","entry":"load_qa_dataset","repo":"microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","repo_kind":"listed","path":"mega/answer_cls.py","file_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA/blob/HEAD/mega/answer_cls.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7b9420345e75ffce"}},{"code_sha256_prefix":"0ed32570d651a6b5","entry":"load_qa_dataset","repo":"microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","repo_kind":"listed","path":"mega/eval_qa_gpt4.py","file_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA/blob/HEAD/mega/eval_qa_gpt4.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0ed32570d651a6b5"}},{"code_sha256_prefix":"a000a849e1e65977","entry":"load_xlsum_data","repo":"microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","repo_kind":"listed","path":"mega/XLSUM.py","file_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA/blob/HEAD/mega/XLSUM.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a000a849e1e65977"}},{"code_sha256_prefix":"21d4edd99200edf1","entry":"mixed_segmentation","repo":"microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","repo_kind":"listed","path":"mega/compile_qa_results.py","file_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA/blob/HEAD/mega/compile_qa_results.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"21d4edd99200edf1"}},{"code_sha256_prefix":"f86102a2c93117ef","entry":"normalize_answer_mlqa","repo":"microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","repo_kind":"listed","path":"mega/compile_qa_results.py","file_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA/blob/HEAD/mega/compile_qa_results.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f86102a2c93117ef"}},{"code_sha256_prefix":"6f89fb1ec2d2bf1b","entry":"read_parameters","repo":"microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA","repo_kind":"listed","path":"mega/XLSUM.py","file_url":"https://github.com/microsoft/Multilingual-Evaluation-of-Generative-AI-MEGA/blob/HEAD/mega/XLSUM.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6f89fb1ec2d2bf1b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}