--- license: cc-by-4.0 task_categories: - text-generation - question-answering language: - en tags: - legal - cfr - regulation - rag --- --- # US Regulation CFR 2026-01-01 Dataset This repository contains a structured version of the **Code of Federal Regulations (CFR)**, captured as of January 1, 2026. This dataset is designed for use in Retrieval-Augmented Generation (RAG) systems, legal analysis, and Large Language Model (LLM) fine-tuning. ## Dataset Description The dataset provides a snapshot of federal administrative law across all available titles. It has been processed from raw government sources into a format suitable for high-performance indexing and semantic search. * **Source:** [GovInfo Bulk Data (CFR)](https://www.govinfo.gov/bulkdata/CFR) * **Snapshot Date:** 2026-01-01 * **Format:** [Specify format, e.g., JSONL, Parquet, or CSV] * **Coverage:** All 50 Titles of the CFR (where available in bulk format) ## Data Acquisition & Integrity This dataset was compiled using legitimate developer-sanctioned methods. Rather than employing traditional bot-based web scraping, the data was retrieved through official government bulk data endpoints and APIs provided by the U.S. Government Publishing Office (GPO). This ensures: 1. **High Fidelity:** Data is pulled directly from the source XML/JSON structures, preserving the original hierarchy of Titles, Chapters, Parts, and Sections. 2. **Compliance:** Retrieval adheres to the "Developer Hub" guidelines provided by GovInfo. 3. **Cleanliness:** The ingestion process filters out transport-level artifacts common in scraped data, resulting in cleaner text for embedding models. ## Potential Use Cases * **Legal RAG Pipelines:** Powering AI assistants that need to cite specific federal regulations accurately. * **Compliance Monitoring:** Tracking regulatory changes by comparing this snapshot against previous or future versions. * **Knowledge Graphs:** Mapping the relationships between different federal agencies and the regulations they enforce. * **Academic Research:** Large-scale linguistic or structural analysis of administrative law. ## Structure The data is organized to reflect the legal hierarchy of the CFR: * **Title:** The broad subject area of the regulation. * **Volume/Chapter:** The specific agency or sub-topic. * **Part/Section:** The granular regulatory text. * **Metadata:** Includes original file references and publication dates. ## Disclaimer *This dataset is provided for informational and developmental purposes. While every effort is made to ensure the accuracy of the conversion process, users should consult the official version of the CFR at GovInfo.gov for legal proceedings or formal compliance.* ## Acknowledgment This data is sourced from the U.S. Government Publishing Office (GPO) Bulk Data repository. We credit the GPO for providing public access to these vital legal records. ## License This dataset is licensed under the **Creative Commons Attribution 4.0 International (CC BY 4.0)**. ### Attribution If you use this dataset in your research or applications, please provide attribution to: 1. **Original Source:** The U.S. Government Publishing Office (GPO) [GovInfo Bulk Data](https://www.govinfo.gov/bulkdata/CFR). 2. **Dataset Curator:** Azzindani (via Hugging Face Datasets). ### Government Works Public Domain Notice Note that the underlying regulatory text contained within this dataset is a work of the U.S. Government and is not subject to copyright protection within the United States. This license applies to the specific curation, structuring, and formatting provided in this repository. ---