{"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/datacomp-lm-in-search-of-the-next-generation","title":"DataComp-LM: In search of the next generation of training sets for language models","arxiv_id":"2406.11794","date":"2024-06-17","proceeding":null,"authors":["Jeffrey Li","Alex Fang","Georgios Smyrnis","Maor Ivgi","Matt Jordan","Samir Gadre","Hritik Bansal","Etash Guha","Sedrick Keh","Kushal Arora","Saurabh Garg","Rui Xin","Niklas Muennighoff","Reinhard Heckel","Jean Mercat","Mayee Chen","Suchin Gururangan","Mitchell Wortsman","Alon Albalak","Yonatan Bitton","Marianna Nezhurina","Amro Abbas","Cheng-Yu Hsieh","Dhruba Ghosh","Josh Gardner","Maciej Kilian","HANLIN ZHANG","Rulin Shao","Sarah Pratt","Sunny Sanyal","Gabriel Ilharco","Giannis Daras","Kalyani Marathe","Aaron Gokaslan","Jieyu Zhang","Khyathi Chandu","Thao Nguyen","Igor Vasiljevic","Sham Kakade","Shuran Song","Sujay Sanghavi","Fartash Faghri","Sewoong Oh","Luke Zettlemoyer","Kyle Lo","Alaaeldin El-Nouby","Hadi Pouransari","Alexander Toshev","Stephanie Wang","Dirk Groeneveld","Luca Soldaini","Pang Wei Koh","Jenia Jitsev","Thomas Kollar","Alexandros G. Dimakis","Yair Carmon","Achal Dave","Ludwig Schmidt","Vaishaal Shankar"],"abstract":"We introduce DataComp for Language Models (DCLM), a testbed for controlled dataset experiments with the goal of improving language models. As part of DCLM, we provide a standardized corpus of 240T tokens extracted from Common Crawl, effective pretraining recipes based on the OpenLM framework, and a broad suite of 53 downstream evaluations. Participants in the DCLM benchmark can experiment with data curation strategies such as deduplication, filtering, and data mixing at model scales ranging from 412M to 7B parameters. As a baseline for DCLM, we conduct extensive experiments and find that model-based filtering is key to assembling a high-quality training set. The resulting dataset, DCLM-Baseline enables training a 7B parameter language model from scratch to 64% 5-shot accuracy on MMLU with 2.6T training tokens. Compared to MAP-Neo, the previous state-of-the-art in open-data language models, DCLM-Baseline represents a 6.6 percentage point improvement on MMLU while being trained with 40% less compute. Our baseline model is also comparable to Mistral-7B-v0.3 and Llama 3 8B on MMLU (63% & 66%), and performs similarly on an average of 53 natural language understanding tasks while being trained with 6.6x less compute than Llama 3 8B. Our results highlight the importance of dataset design for training language models and offer a starting point for further research on data curation.","url_abs":"https://arxiv.org/abs/2406.11794v4","url_pdf":"https://arxiv.org/pdf/2406.11794v4.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":"datacomp-lm-in-search-of-the-next-generation","repo_url":"https://github.com/facebookresearch/lingua","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}},{"paper_slug":"datacomp-lm-in-search-of-the-next-generation","repo_url":"https://github.com/jieyuz2/taskmeanything","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"datacomp-lm-in-search-of-the-next-generation","repo_url":"https://github.com/mlfoundations/dclm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"mmlu","task_name":"MMLU"},{"task_slug":"natural-language-understanding","task_name":"Natural Language Understanding"}],"methods":[{"method_slug":"llama","method_name":"LLaMA"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2406.11794","atlas_url":"https://app.syntology.ai/?focus=2406.11794","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.11794"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/mlfoundations/dclm","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jieyuz2/taskmeanything","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/facebookresearch/lingua","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"ran":20,"ran_fixture":1,"ran_draft_wrong":1},"by_repo_kind":{"listed":{"samples":22,"ran":22,"repositories":2}},"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":"ef81f64b47c432d5","entry":"apply_aggregate_function","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/task_evaluator.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/task_evaluator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ef81f64b47c432d5"}},{"code_sha256_prefix":"f0a261e12d1e7736","entry":"build_transform","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/imageqa_model.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/imageqa_model.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f0a261e12d1e7736"}},{"code_sha256_prefix":"9e298a923a6acaf4","entry":"check_contain","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/base_qa_model.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/base_qa_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9e298a923a6acaf4"}},{"code_sha256_prefix":"9c7133dda8992f2f","entry":"concatenate_image","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/videoqa_model.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/videoqa_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9c7133dda8992f2f"}},{"code_sha256_prefix":"11e8b14d29d76dad","entry":"constrained_combinations","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/imageqa/scene_graph/single_image_task.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/imageqa/scene_graph/single_image_task.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"11e8b14d29d76dad"}},{"code_sha256_prefix":"cfddc913f6b8830e","entry":"detailed_video2imageqa_prompt","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/prompt.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/prompt.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cfddc913f6b8830e"}},{"code_sha256_prefix":"3bcb14b6031f3460","entry":"detailed_videoqa_prompt","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/prompt.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/prompt.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3bcb14b6031f3460"}},{"code_sha256_prefix":"bd77f5f8067f18e9","entry":"find_closest_aspect_ratio","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/imageqa_model.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/imageqa_model.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bd77f5f8067f18e9"}},{"code_sha256_prefix":"15957b3a624fb38e","entry":"get_aggregated_results","repo":"mlfoundations/dclm","repo_kind":"listed","path":"eval/aggregated_metrics.py","file_url":"https://github.com/mlfoundations/dclm/blob/HEAD/eval/aggregated_metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"15957b3a624fb38e"}},{"code_sha256_prefix":"a14d59909565b6b6","entry":"get_confusing_colors","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/imageqa/metadata.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/imageqa/metadata.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a14d59909565b6b6"}},{"code_sha256_prefix":"6014a80aba65fa85","entry":"get_contrasting_color","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/videoqa_model.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/videoqa_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6014a80aba65fa85"}},{"code_sha256_prefix":"e1ed12851618e00d","entry":"get_pa_schema","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/task_store.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/task_store.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e1ed12851618e00d"}},{"code_sha256_prefix":"ed1548501a411d9e","entry":"get_pd_schema","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/task_store.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/task_store.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ed1548501a411d9e"}},{"code_sha256_prefix":"91d08e179e948c34","entry":"image_to_base64","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/imageqa_model.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/imageqa_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"91d08e179e948c34"}},{"code_sha256_prefix":"5b72802fb5f99b87","entry":"load_video_scene_graph","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/videoqa/metadata.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/videoqa/metadata.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5b72802fb5f99b87"}},{"code_sha256_prefix":"2c31406e52caae0e","entry":"make_options","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/base_qa_model.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/base_qa_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2c31406e52caae0e"}},{"code_sha256_prefix":"ae265af437b99ae0","entry":"remove_nodes","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/imageqa/metadata.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/imageqa/metadata.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ae265af437b99ae0"}},{"code_sha256_prefix":"6067c4865d4bed8c","entry":"remove_skip_edge","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/imageqa/metadata.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/imageqa/metadata.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6067c4865d4bed8c"}},{"code_sha256_prefix":"beeff498aac20ff0","entry":"sample_frames","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/videoqa_model.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/videoqa_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"beeff498aac20ff0"}},{"code_sha256_prefix":"2b98f6e5c6b1b5c5","entry":"scene_graph_adjacent_objects","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/imageqa/scene_graph/single_image_task.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/imageqa/scene_graph/single_image_task.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2b98f6e5c6b1b5c5"}},{"code_sha256_prefix":"43d4f11e41706da4","entry":"subgraph_to_json_str","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/imageqa/scene_graph/single_image_task.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/imageqa/scene_graph/single_image_task.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"43d4f11e41706da4"}},{"code_sha256_prefix":"fe7a4950dfbff1c1","entry":"succinct_prompt","repo":"jieyuz2/taskmeanything","repo_kind":"listed","path":"tma/models/qa_model/prompt.py","file_url":"https://github.com/jieyuz2/taskmeanything/blob/HEAD/tma/models/qa_model/prompt.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fe7a4950dfbff1c1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}