|
Download README.md from AIEngineeringLLC/aie-nuclear-rag-chunks-sample: direct link, hf CLI and curl.
- Browser
- Download file 3.85 kB
-
https://huggingface.co/datasets/AIEngineeringLLC/aie-nuclear-rag-chunks-sample/resolve/main/README.md
- Command line
-
hf download hf://datasets/AIEngineeringLLC/aie-nuclear-rag-chunks-sample/README.md
-
curl -L -o README.md https://huggingface.co/datasets/AIEngineeringLLC/aie-nuclear-rag-chunks-sample/resolve/main/README.md
3.85 kB
| license: cc0-1.0 | |
| language: | |
| - en | |
| pretty_name: AIE Nuclear RAG Chunks (10 CFR sample) | |
| size_categories: | |
| - n<1K | |
| task_categories: | |
| - text-retrieval | |
| - question-answering | |
| tags: | |
| - rag | |
| - nuclear | |
| - regulation | |
| - nrc | |
| - parquet | |
| - retrieval | |
| - governance | |
| # ⚛️ Nuclear regulation, already chunked for RAG | |
| ### 🚀 Load it in one line. Embed it. Every answer can cite its source. | |
| **468 ready-to-embed chunks of 10 CFR (NRC rules), one 188 KB Parquet file, a public link on every row.** | |
| Use it to test a retrieval stack on real regulatory text, or to see what an audit-ready chunk looks like. | |
| | ⚡ Instant | 🔗 Citable | 🧪 Honest | | |
| |---|---|---| | |
| | `pd.read_parquet(...)` and go. No scraping, no cleanup. | Section heading plus eCFR URL on every chunk. | Known gaps are listed below, found by auditing our own pipeline. | | |
| > ### 📦 Need the full corpus? | |
| > This is a 468-chunk sample. AIE can supply a copy of the full build: a much larger corpus from NRC and DOE documents, with section citations, embeddings and audit notes. | |
| > **Request a copy:** [aiengineering.io](https://aiengineering.io) or email **info@aiengineering.io**. | |
| Built by [Artificial Intelligence Engineering LLC](https://aiengineering.io). This is a small public sample of a larger private pipeline. | |
| | 📄 Source | ✂️ Chunked | 🧱 Stored | 🔎 Ready for | | |
| |---|---|---|---| | |
| | eCFR, Title 10 (NRC rules) | about 400-token pieces, sentence-aware | one `train.parquet`, zstd | embedding, hybrid search, RAG evals | | |
| ## 🎯 Good for | |
| - Trying an embedding model or reranker on dense legal text | |
| - Testing whether your RAG cites the right section | |
| - Demoing audit-ready retrieval to a regulated team | |
| ## What is inside | |
| | Column | Meaning | | |
| |---|---| | |
| | `chunk_id` | Stable id: `doc_id-00042` style, so neighbours can be re-fetched | | |
| | `cfr_part` | 10 CFR Part number | | |
| | `section` | The section heading the chunk sits under | | |
| | `text` | The chunk, as written in the source | | |
| | `tokens` | Token count | | |
| | `source_url` | Public eCFR page for the Part | | |
| | `asof` | eCFR "current as of" date: 2026-08-18 | | |
| | Part | Topic | Chunks | | |
| |---|---|---| | |
| | 20 | Standards for protection against radiation | 148 | | |
| | 50 | Domestic licensing of production and utilization facilities | 200 | | |
| | 54 | License renewal | 27 | | |
| | 55 | Operators' licenses | 53 | | |
| | 100 | Reactor site criteria | 40 | | |
| ```python | |
| import pandas as pd | |
| df = pd.read_parquet("hf://datasets/AIEngineeringLLC/aie-nuclear-rag-chunks-sample/train.parquet") | |
| df[df.cfr_part == 50].head() | |
| ``` | |
| ## Why Parquet for RAG | |
| - **Columnar:** read only `text` and `section` when embedding, only the metadata when filtering. | |
| - **Small:** this file is under 200 KB. | |
| - **Typed:** token counts and part numbers stay numbers. | |
| - **Citable:** every row carries its section and a public URL, so an answer can point back to its source. | |
| ## The full pipeline (not published here) | |
| The full private build chunks about 1.9 million passages from NRC and DOE public documents, embeds them with `bge-small-en-v1.5`, and serves them through hybrid vector plus keyword search. It has its own audit and a 258-question draft evaluation set. | |
| ## Honest limits | |
| - It is a **sample**, not the whole of Title 10. | |
| - Chunks that came out all lowercase during chunking were left out. | |
| - Appendix text to 10 CFR Part 50 is left out. The full build had a known section-labelling fault there, and it is being fixed. | |
| - Table values are missing from the eCFR text export (for example 10 CFR Part 20 Appendix B). Do not use this set to look up limits. | |
| - This is **not legal or regulatory advice**. Check the current rule at [ecfr.gov](https://www.ecfr.gov). | |
| ## About AIE | |
| Artificial Intelligence Engineering LLC builds auditable AI systems for regulated work. [aiengineering.io](https://aiengineering.io) | |
| *Source text is U.S. government work, as published on eCFR.* | |