The KL3M Data Project: Copyright-Clean Training Resources for Large Language Models

Michael J Bommarito, Jillian Bommarito, Daniel Martin Katz
4/10/2025
cs.CLcs.AI

No official code found. Best implementation: alea-institute/kl3m-data (22 stars, MIT, last commit 2025-04-14).

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.

View on arXivView PDF

Code Implementations(1)

MIT

KL3M training data collection and preprocessing

222XSLT, ShellSep 18, 20241 years agoMIT
aialeakl3mtraining-data

Similar Papers

Cite this paper

@article{bommarito2025klm,
  title  = {The KL3M Data Project: Copyright-Clean Training Resources for Large Language Models},
  author = {Michael J Bommarito and Jillian Bommarito and Daniel Martin Katz},
  year   = {2025},
  eprint = {2504.07854},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.07854v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.07854.svg)](https://codeofpaper.com/paper/2504.07854)

Discussion