File size: 3,848 Bytes
50b290d
 
c260589
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50b290d
c260589
 
 
 
 
 
 
 
 
 
 
 
5304834
 
 
 
c260589
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
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.*