{"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/clongeval-a-chinese-benchmark-for-evaluating","title":"CLongEval: A Chinese Benchmark for Evaluating Long-Context Large Language Models","arxiv_id":"2403.03514","date":"2024-03-06","proceeding":null,"authors":["Zexuan Qiu","Jingjing Li","Shijue Huang","Xiaoqi Jiao","Wanjun Zhong","Irwin King"],"abstract":"Developing Large Language Models (LLMs) with robust long-context capabilities has been the recent research focus, resulting in the emergence of long-context LLMs proficient in Chinese. However, the evaluation of these models remains underdeveloped due to a lack of benchmarks. To address this gap, we present CLongEval, a comprehensive Chinese benchmark for evaluating long-context LLMs. CLongEval is characterized by three key features: (1) Sufficient data volume, comprising 7 distinct tasks and 7,267 examples; (2) Broad applicability, accommodating to models with context windows size from 1K to 100K; (3) High quality, with over 2,000 manually annotated question-answer pairs in addition to the automatically constructed labels. With CLongEval, we undertake a comprehensive assessment of 6 open-source long-context LLMs and 2 leading commercial counterparts that feature both long-context abilities and proficiency in Chinese. We also provide in-depth analysis based on the empirical results, trying to shed light on the critical capabilities that present challenges in long-context settings. The dataset, evaluation scripts, and model outputs are released.","url_abs":"https://arxiv.org/abs/2403.03514v2","url_pdf":"https://arxiv.org/pdf/2403.03514v2.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":"clongeval-a-chinese-benchmark-for-evaluating","repo_url":"https://github.com/zexuanqiu/clongeval","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.03514","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.03514"}},"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/zexuanqiu/clongeval","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":6,"ran_draft_wrong":1},"by_repo_kind":{"official":{"samples":7,"ran":7,"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":"477258f8938c0fd2","entry":"f1_score","repo":"zexuanqiu/clongeval","repo_kind":"official","path":"metrics.py","file_url":"https://github.com/zexuanqiu/clongeval/blob/HEAD/metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"477258f8938c0fd2"}},{"code_sha256_prefix":"b2632d247e5f4863","entry":"news_labeling_pattern_match","repo":"zexuanqiu/clongeval","repo_kind":"official","path":"post_processing_for_stacked_tasks.py","file_url":"https://github.com/zexuanqiu/clongeval/blob/HEAD/post_processing_for_stacked_tasks.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b2632d247e5f4863"}},{"code_sha256_prefix":"8c5c581f9264c810","entry":"normalize_zh_answer","repo":"zexuanqiu/clongeval","repo_kind":"official","path":"metrics.py","file_url":"https://github.com/zexuanqiu/clongeval/blob/HEAD/metrics.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":"8c5c581f9264c810"}},{"code_sha256_prefix":"c409703b36ac5bb3","entry":"parse_args","repo":"zexuanqiu/clongeval","repo_kind":"official","path":"heat_map/generate_single_news_position_score.py","file_url":"https://github.com/zexuanqiu/clongeval/blob/HEAD/heat_map/generate_single_news_position_score.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c409703b36ac5bb3"}},{"code_sha256_prefix":"ff5d0d37647eda2a","entry":"parse_args","repo":"zexuanqiu/clongeval","repo_kind":"official","path":"lost_in_the_middle/eval_with_position.py","file_url":"https://github.com/zexuanqiu/clongeval/blob/HEAD/lost_in_the_middle/eval_with_position.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ff5d0d37647eda2a"}},{"code_sha256_prefix":"bae30ce506ec591f","entry":"qa_f1_zh_score","repo":"zexuanqiu/clongeval","repo_kind":"official","path":"metrics.py","file_url":"https://github.com/zexuanqiu/clongeval/blob/HEAD/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bae30ce506ec591f"}},{"code_sha256_prefix":"a972d367f21dcf73","entry":"typo_detection_pattern_match","repo":"zexuanqiu/clongeval","repo_kind":"official","path":"post_processing_for_stacked_tasks.py","file_url":"https://github.com/zexuanqiu/clongeval/blob/HEAD/post_processing_for_stacked_tasks.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a972d367f21dcf73"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}