{"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/qwen2-5-technical-report","title":"Qwen2.5 Technical Report","arxiv_id":"2412.15115","date":"2024-12-19","proceeding":null,"authors":["Qwen",":","An Yang","Baosong Yang","Beichen Zhang","Binyuan Hui","Bo Zheng","Bowen Yu","Chengyuan Li","Dayiheng Liu","Fei Huang","Haoran Wei","Huan Lin","Jian Yang","Jianhong Tu","Jianwei Zhang","Jianxin Yang","Jiaxi Yang","Jingren Zhou","Junyang Lin","Kai Dang","Keming Lu","Keqin Bao","Kexin Yang","Le Yu","Mei Li","Mingfeng Xue","Pei Zhang","Qin Zhu","Rui Men","Runji Lin","TianHao Li","Tianyi Tang","Tingyu Xia","Xingzhang Ren","Xuancheng Ren","Yang Fan","Yang Su","Yichang Zhang","Yu Wan","Yuqiong Liu","Zeyu Cui","Zhenru Zhang","Zihan Qiu"],"abstract":"In this report, we introduce Qwen2.5, a comprehensive series of large language models (LLMs) designed to meet diverse needs. Compared to previous iterations, Qwen 2.5 has been significantly improved during both the pre-training and post-training stages. In terms of pre-training, we have scaled the high-quality pre-training datasets from the previous 7 trillion tokens to 18 trillion tokens. This provides a strong foundation for common sense, expert knowledge, and reasoning capabilities. In terms of post-training, we implement intricate supervised finetuning with over 1 million samples, as well as multistage reinforcement learning. Post-training techniques enhance human preference, and notably improve long text generation, structural data analysis, and instruction following. To handle diverse and varied use cases effectively, we present Qwen2.5 LLM series in rich sizes. Open-weight offerings include base and instruction-tuned models, with quantized versions available. In addition, for hosted solutions, the proprietary models currently include two mixture-of-experts (MoE) variants: Qwen2.5-Turbo and Qwen2.5-Plus, both available from Alibaba Cloud Model Studio. Qwen2.5 has demonstrated top-tier performance on a wide range of benchmarks evaluating language understanding, reasoning, mathematics, coding, human preference alignment, etc. Specifically, the open-weight flagship Qwen2.5-72B-Instruct outperforms a number of open and proprietary models and demonstrates competitive performance to the state-of-the-art open-weight model, Llama-3-405B-Instruct, which is around 5 times larger. Qwen2.5-Turbo and Qwen2.5-Plus offer superior cost-effectiveness while performing competitively against GPT-4o-mini and GPT-4o respectively. Additionally, as the foundation, Qwen2.5 models have been instrumental in training specialized models such as Qwen2.5-Math, Qwen2.5-Coder, QwQ, and multimodal models.","url_abs":"https://arxiv.org/abs/2412.15115v2","url_pdf":"https://arxiv.org/pdf/2412.15115v2.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":"qwen2-5-technical-report","repo_url":"https://github.com/qwenlm/qwen2.5","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"qwen2-5-technical-report","repo_url":"https://github.com/baichuan-inc/Baichuan-Omni-1.5","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"qwen2-5-technical-report","repo_url":"https://github.com/baichuan-inc/baichuan-audio","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"qwen2-5-technical-report","repo_url":"https://github.com/funaudiollm/inspiremusic","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"qwen2-5-technical-report","repo_url":"https://github.com/qwenlm/qwen1.5","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"qwen2-5-technical-report","repo_url":"https://github.com/qwenlm/qwen2","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"common-sense-reasoning","task_name":"Common Sense Reasoning"},{"task_slug":"instruction-following","task_name":"Instruction Following"},{"task_slug":"math","task_name":"Math"},{"task_slug":"mathematical-reasoning","task_name":"Mathematical Reasoning"},{"task_slug":"mixture-of-experts","task_name":"Mixture-of-Experts"},{"task_slug":"text-generation","task_name":"Text Generation"}],"methods":[{"method_slug":"base","method_name":"BASE"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/on-gpqa","task":"","dataset":"GPQA","model":"Qwen2.5-72B-Instruct","rank_in_archive_order":7,"of":7,"metrics":{"Accuracy":"49"},"uses_additional_data":false},{"leaderboard":"/sota/mathematical-reasoning-on-aime24","task":"Mathematical Reasoning","dataset":"AIME24","model":"Qwen2.5-72B-Instruct","rank_in_archive_order":8,"of":9,"metrics":{"Acc":"23.3"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2412.15115","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.15115"}},"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/baichuan-inc/Baichuan-Omni-1.5","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/baichuan-inc/baichuan-audio","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/funaudiollm/inspiremusic","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/qwenlm/qwen2","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/qwenlm/qwen1.5","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/qwenlm/qwen2.5","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"listed":{"samples":3,"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":"15bd8929ba001bb2","entry":"make_pad_mask","repo":"funaudiollm/inspiremusic","repo_kind":"listed","path":"inspiremusic/transformer/qwen_encoder.py","file_url":"https://github.com/funaudiollm/inspiremusic/blob/HEAD/inspiremusic/transformer/qwen_encoder.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"15bd8929ba001bb2"}},{"code_sha256_prefix":"c529a9c29a623948","entry":"QwenEncoder","repo":"funaudiollm/inspiremusic","repo_kind":"listed","path":"inspiremusic/transformer/qwen_encoder.py","file_url":"https://github.com/funaudiollm/inspiremusic/blob/HEAD/inspiremusic/transformer/qwen_encoder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c529a9c29a623948"}},{"code_sha256_prefix":"43b9e964b874bfc3","entry":"hint_once","repo":"funaudiollm/inspiremusic","repo_kind":"listed","path":"inspiremusic/transformer/qwen_encoder.py","file_url":"https://github.com/funaudiollm/inspiremusic/blob/HEAD/inspiremusic/transformer/qwen_encoder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"43b9e964b874bfc3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}