ethanolivertroy commited on
Commit
200c984
·
verified ·
1 Parent(s): 55dbcda

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +180 -0
README.md ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ task_categories:
4
+ - text-generation
5
+ - question-answering
6
+ language:
7
+ - en
8
+ tags:
9
+ - cybersecurity
10
+ - nist
11
+ - compliance
12
+ - security-controls
13
+ - regulations
14
+ size_categories:
15
+ - 1K<n<10K
16
+ ---
17
+
18
+ # NIST Publications - Raw PDFs
19
+
20
+ **596 NIST cybersecurity publications in original PDF format** - Complete source data for the [nist-cybersecurity-training](https://huggingface.co/datasets/ethanolivertroy/nist-cybersecurity-training) dataset.
21
+
22
+ ## Dataset Description
23
+
24
+ This dataset contains the **raw, unprocessed PDF files** downloaded from the NIST Computer Security Resource Center (CSRC). These are the exact source documents used to create the NIST cybersecurity training dataset and fine-tune the HackIDLE-NIST-Coder model.
25
+
26
+ ### Contents
27
+
28
+ - **596 PDF documents** (2.0 GB total)
29
+ - **metadata.json** with titles, URLs, and download information
30
+ - Covers documents published through October 2025
31
+
32
+ ### Document Series
33
+
34
+ | Series | Count | Description |
35
+ |--------|-------|-------------|
36
+ | **FIPS** | ~25 | Federal Information Processing Standards (cryptography) |
37
+ | **SP 800** | ~350 | Special Publications - Security guidelines |
38
+ | **SP 1800** | ~30 | Special Publications - Practice guides |
39
+ | **IR** | ~160 | Interagency/Internal Reports |
40
+ | **CSWP** | ~31 | Cybersecurity White Papers |
41
+
42
+ ### Key Documents Included
43
+
44
+ - **SP 800-53 Rev. 5** - Security and Privacy Controls
45
+ - **SP 800-63-4** - Digital Identity Guidelines (July 2025 release)
46
+ - **NIST CSF 2.0** - Cybersecurity Framework (CSWP series)
47
+ - **SP 800-207** - Zero Trust Architecture
48
+ - **SP 800-37 Rev. 2** - Risk Management Framework
49
+ - **FIPS 140-3** - Cryptographic Module Validation
50
+ - **SP 800-161 Rev. 1** - Supply Chain Risk Management
51
+ - **SP 800-171 Rev. 3** - Protecting Controlled Unclassified Information
52
+
53
+ ## Data Pipeline
54
+
55
+ This raw dataset is part of a complete data processing pipeline:
56
+
57
+ ```
58
+ 1. Raw PDFs (this dataset)
59
+
60
+ 2. Extraction (Docling + MarkItDown)
61
+
62
+ 3. Training Data Preparation
63
+
64
+ 4. Training Dataset: ethanolivertroy/nist-cybersecurity-training
65
+
66
+ 5. Fine-tuned Models: HackIDLE-NIST-Coder v1.1
67
+ ```
68
+
69
+ ## Usage
70
+
71
+ ### Download All PDFs
72
+
73
+ ```python
74
+ from datasets import load_dataset
75
+
76
+ # Download the dataset
77
+ dataset = load_dataset("ethanolivertroy/nist-publications-raw")
78
+
79
+ # Access metadata
80
+ with open("metadata.json", "r") as f:
81
+ metadata = json.load(f)
82
+
83
+ # List all PDFs
84
+ pdf_files = [f for f in os.listdir(".") if f.endswith(".pdf")]
85
+ print(f"Downloaded {len(pdf_files)} PDFs")
86
+ ```
87
+
88
+ ### Download Specific Document
89
+
90
+ ```python
91
+ from huggingface_hub import hf_hub_download
92
+
93
+ # Download a specific PDF
94
+ pdf_path = hf_hub_download(
95
+ repo_id="ethanolivertroy/nist-publications-raw",
96
+ filename="Digital Identity Guidelines_ Authentication and Authenticator Management.pdf",
97
+ repo_type="dataset"
98
+ )
99
+ ```
100
+
101
+ ## Reproduction
102
+
103
+ To reproduce this dataset (download fresh copies from NIST):
104
+
105
+ ```bash
106
+ # Clone the source repository
107
+ git clone https://github.com/ethanolivertroy/nist-tuned-model
108
+
109
+ # Run the scraper
110
+ cd nist-tuned-model
111
+ python src/download_all_nist.py --output data/raw
112
+ ```
113
+
114
+ The scraper downloads documents with these filters:
115
+ - Series: FIPS, SP, IR, CSWP
116
+ - Status: Final (published)
117
+ - From: NIST Computer Security Resource Center
118
+
119
+ ## Metadata
120
+
121
+ The `metadata.json` file contains structured information for each PDF:
122
+
123
+ ```json
124
+ {
125
+ "title": "Document title",
126
+ "detail_url": "https://csrc.nist.gov/pubs/...",
127
+ "local_path": "data/raw/filename.pdf",
128
+ "downloaded": true
129
+ }
130
+ ```
131
+
132
+ ## Related Resources
133
+
134
+ - **Training Dataset**: [ethanolivertroy/nist-cybersecurity-training](https://huggingface.co/datasets/ethanolivertroy/nist-cybersecurity-training) - 530,912 processed examples
135
+ - **MLX Model**: [ethanolivertroy/HackIDLE-NIST-Coder-v1.1-MLX-4bit](https://huggingface.co/ethanolivertroy/HackIDLE-NIST-Coder-v1.1-MLX-4bit)
136
+ - **GGUF Model**: [ethanolivertroy/HackIDLE-NIST-Coder-v1.1-GGUF](https://huggingface.co/ethanolivertroy/HackIDLE-NIST-Coder-v1.1-GGUF)
137
+ - **Ollama**: [etgohome/hackidle-nist-coder](https://ollama.com/etgohome/hackidle-nist-coder)
138
+
139
+ ## License
140
+
141
+ **CC0 1.0 Universal (Public Domain)**
142
+
143
+ All NIST publications are in the public domain and not subject to copyright in the United States. This dataset is released under CC0 for maximum reusability.
144
+
145
+ ## Citation
146
+
147
+ ```bibtex
148
+ @misc{nist-publications-raw,
149
+ title={NIST Cybersecurity Publications - Raw PDFs},
150
+ author={Troy, Ethan Oliver},
151
+ year={2025},
152
+ publisher={Hugging Face},
153
+ howpublished={\url{https://huggingface.co/datasets/ethanolivertroy/nist-publications-raw}}
154
+ }
155
+ ```
156
+
157
+ ## Acknowledgments
158
+
159
+ - **NIST Computer Security Resource Center** - Original source of all documents
160
+ - **NIST Cybersecurity Framework Team** - Framework development
161
+ - **NIST Privacy Framework Team** - Privacy guidance
162
+
163
+ ## Dataset Statistics
164
+
165
+ - **Total Size**: 2.0 GB
166
+ - **Document Count**: 596
167
+ - **Date Range**: 1977-2025 (primarily 2010-2025)
168
+ - **Format**: PDF (various versions)
169
+ - **Languages**: English
170
+
171
+ ## Version History
172
+
173
+ - **v1.1** (October 2025): Added CSWP series (28 documents), SP 800-63-4
174
+ - **v1.0** (Initial release): 568 documents (FIPS, SP 800/1800, IR)
175
+
176
+ ---
177
+
178
+ **Maintainer**: Ethan Oliver Troy
179
+ **Contact**: Via GitHub or HuggingFace profile
180
+ **Last Updated**: October 2025