🤖 AI Summary
Large language models (LLMs) face global copyright and contractual compliance risks stemming from pretraining data. To address this, we propose the first full-stack, open-source copyright-clean data ecosystem. Our system constructs a globally scalable, legally compliant training data pipeline comprising over 132 million human-verified documents, trillions of tokens, and 16 categories of trusted sources. Methodologically, we integrate automated license validation, multi-source heterogeneous document parsing, structured metadata modeling, and a CC-BY–compatible preprocessing architecture—enabling, for the first time, end-to-end legal verifiability across data acquisition, provenance tracking, and distribution. We release a complete open-source data stack—including raw documents, rich metadata, pre-tokenized sequences, and derivative resources (e.g., QA pairs, summaries, dialogues)—fully hosted on S3, Hugging Face, and GitHub for unrestricted global access.
📝 Abstract
Practically all large language models have been pre-trained on data that is subject to global uncertainty related to copyright infringement and breach of contract. This creates potential risk for users and developers due to this uncertain legal status. The KL3M Data Project directly confronts this critical issue by introducing the largest comprehensive training data pipeline that minimizes risks related to copyright or breach of contract. The foundation of this project is a corpus of over 132 million documents and trillions of tokens spanning 16 different sources that have been verified to meet the strict copyright and licensing protocol detailed herein. We are releasing the entire pipeline, including 1) the source code to acquire and process these documents, 2) the original document formats with associated provenance and metadata, 3) extracted content in a standardized format, 4) pre-tokenized representations of the documents, and 5) various mid- and post-train resources such as question-answer, summarization, conversion, drafting, classification, prediction, and conversational data. All of these resources are freely available to the public on S3, Hugging Face, and GitHub under CC-BY terms. We are committed to continuing this project in furtherance of a more ethical, legal, and sustainable approach to the development and use of AI models.