Datasets:
File size: 17,183 Bytes
b542e0e 271f599 b542e0e | 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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 | ---
pretty_name: Manufacturing Industry Documents
language:
- en
license: other
license_name: mixed-source-licenses
task_categories:
- text-classification
- text-retrieval
- question-answering
- summarization
task_ids:
- multi-class-classification
- document-retrieval
tags:
- manufacturing
- industrial
- quality-assurance
- supply-chain
- recalls
- capa
- regulatory
- documents
size_categories:
- 10K<n<100K
configs:
- config_name: all
default: true
data_files:
- split: train
path: "*/all_documents.parquet"
- config_name: food_beverage
data_files:
- split: train
path: 2.1_food_beverage/all_documents.parquet
- config_name: textiles_apparel
data_files:
- split: train
path: 2.2_textiles_apparel/all_documents.parquet
- config_name: paper_printing
data_files:
- split: train
path: 2.3_paper_printing/all_documents.parquet
- config_name: furniture_wood_products
data_files:
- split: train
path: 2.4_furniture_wood_products/all_documents.parquet
- config_name: chemicals_petrochemicals
data_files:
- split: train
path: 3.1_chemicals_petrochemicals/all_documents.parquet
- config_name: pharmaceuticals_biotechnology
data_files:
- split: train
path: 3.2_pharmaceuticals_biotechnology/all_documents.parquet
- config_name: plastics_rubber
data_files:
- split: train
path: 3.3_plastics_rubber/all_documents.parquet
- config_name: non_metallic_minerals
data_files:
- split: train
path: 3.4_non_metallic_minerals/all_documents.parquet
- config_name: primary_fabricated_metals
data_files:
- split: train
path: 3.5_primary_fabricated_metals/all_documents.parquet
- config_name: industrial_machinery_equipment
data_files:
- split: train
path: 4.1_industrial_machinery_equipment/all_documents.parquet
- config_name: computers_electronics_semiconductors
data_files:
- split: train
path: 4.2_computers_electronics_semiconductors/all_documents.parquet
- config_name: electrical_equipment_appliances
data_files:
- split: train
path: 4.3_electrical_equipment_appliances/all_documents.parquet
- config_name: automotive_transportation_equipment
data_files:
- split: train
path: 4.4_automotive_transportation_equipment/all_documents.parquet
- config_name: aerospace_defense
data_files:
- split: train
path: 4.5_aerospace_defense/all_documents.parquet
- config_name: medical_devices_instruments
data_files:
- split: train
path: 5.1_medical_devices_instruments/all_documents.parquet
- config_name: miscellaneous_manufacturing
data_files:
- split: train
path: 5.2_miscellaneous_manufacturing/all_documents.parquet
---
# Manufacturing Industry Documents
## Dataset summary
This dataset holds **15,295 unique public documents** from **264 manufacturing companies** in **16 industries**. Each record is one document or web page. It has the extracted text, the page or file metadata, and a label from a 19-category manufacturing document taxonomy. Examples of categories are user manuals, supplier quality manuals, SOPs, NCR/CAPA records and regulatory filings.
The records come from two kinds of sources:
- **Company websites** (7,865 records). These are manuals, datasheets, catalogs, safety data sheets, supplier quality manuals, terms of purchase, SOPs and similar files.
- **Open US government APIs** (7,430 records). These are recall and enforcement records from **openFDA** (6,751), **NHTSA** (391) and **CPSC / saferproducts.gov** (288). They are stored as `ncr_capa` (non-conformance / corrective action) documents and include the original API fields.
All data was collected on **2026-11-20**.
## Uses
- Classifying manufacturing documents into types (`doc_category` / `doc_group`).
- Retrieval and RAG over industrial documents, such as quality manuals, specifications and recall reasons.
- Question answering and summarization on quality, compliance and supply chain topics.
- Analysis of recall root causes and remedies across industries.
- Pre-training or domain adaptation for manufacturing-domain language models.
## Loading the data
```python
from datasets import load_dataset
# All industries (default config)
ds = load_dataset("<your-username>/<dataset-name>", split="train")
# One industry
med = load_dataset("<your-username>/<dataset-name>", "medical_devices_instruments", split="train")
# One document category from one industry
ncr = load_dataset(
"<your-username>/<dataset-name>",
data_files="5.1_medical_devices_instruments/by_category/ncr_capa.parquet",
split="train",
)
```
## Dataset structure
### Configurations
| Config | Folder | Industry group | Records | Companies |
|---|---|---|---:|---:|
| `food_beverage` | `2.1_food_beverage` | Consumer Goods & Nondurables | 432 | 13 |
| `textiles_apparel` | `2.2_textiles_apparel` | Consumer Goods & Nondurables | 296 | 10 |
| `paper_printing` | `2.3_paper_printing` | Consumer Goods & Nondurables | 411 | 12 |
| `furniture_wood_products` | `2.4_furniture_wood_products` | Consumer Goods & Nondurables | 382 | 12 |
| `chemicals_petrochemicals` | `3.1_chemicals_petrochemicals` | Chemicals, Materials & Processing | 648 | 18 |
| `pharmaceuticals_biotechnology` | `3.2_pharmaceuticals_biotechnology` | Chemicals, Materials & Processing | 1,279 | 21 |
| `plastics_rubber` | `3.3_plastics_rubber` | Chemicals, Materials & Processing | 486 | 14 |
| `non_metallic_minerals` | `3.4_non_metallic_minerals` | Chemicals, Materials & Processing | 285 | 12 |
| `primary_fabricated_metals` | `3.5_primary_fabricated_metals` | Chemicals, Materials & Processing | 544 | 13 |
| `industrial_machinery_equipment` | `4.1_industrial_machinery_equipment` | Machinery, Electronics & Transportation | 610 | 20 |
| `computers_electronics_semiconductors` | `4.2_computers_electronics_semiconductors` | Machinery, Electronics & Transportation | 765 | 22 |
| `electrical_equipment_appliances` | `4.3_electrical_equipment_appliances` | Machinery, Electronics & Transportation | 670 | 22 |
| `automotive_transportation_equipment` | `4.4_automotive_transportation_equipment` | Machinery, Electronics & Transportation | 896 | 24 |
| `aerospace_defense` | `4.5_aerospace_defense` | Machinery, Electronics & Transportation | 596 | 15 |
| `medical_devices_instruments` | `5.1_medical_devices_instruments` | Specialized & Precision Manufacturing | 6,441 | 18 |
| `miscellaneous_manufacturing` | `5.2_miscellaneous_manufacturing` | Specialized & Precision Manufacturing | 554 | 19 |
| **`all`** (default) | | | **15,295** | **264** |
There is a single `train` split. No predefined validation or test split exists.
### File layout
```
<industry_slug>/
all_documents.parquet # all records for the industry
by_category/<doc_category>.parquet # the same records, split by doc_category
summary_by_industry_category.csv # record and company counts per industry x category x source
removed_duplicates.csv # the 502 duplicate records that were removed, and the record kept for each
```
The files in `by_category/` repeat the rows in `all_documents.parquet`. Load one or the other, not both.
### Data fields
| Field | Type | Description |
|---|---|---|
| `record_id` | string | SHA-256 ID of the record. |
| `industry` | string | Industry name, e.g. `Food & Beverage`. |
| `industry_slug` | string | Folder name, e.g. `2.1_food_beverage`. |
| `industry_group` | string | One of four groups (see the table above). |
| `company` | string | Company name. It can include a note in parentheses, e.g. `Cargill (private)`. |
| `company_website` | string | Company homepage. |
| `source_type` | string | `company_site`, `openfda`, `nhtsa` or `cpsc`. |
| `source_url` | string | URL of the document or API record. |
| `parent_url` | string | Page where the document link was found (company website records only). |
| `doc_category` | string | Main document category (19 classes, listed below). |
| `doc_category_label` | string | Readable name of `doc_category`. |
| `doc_group` | string | Higher-level group of the category (6 classes). |
| `secondary_categories` | string | Other categories that also matched. |
| `relevance_score` | float | Weighted keyword score for the main category (range 3.0–59.7). API records have a fixed score of 10.0. |
| `matched_keywords` | string | Taxonomy keywords that matched. |
| `title` | string | Document or page title. |
| `anchor_text` | string | Text of the link that pointed to the document. |
| `description` | string | Meta description or a short product description. |
| `file_type` | string | `json-api`, `html`, `pdf`, `zip`, `docx`, `pptx`, `xlsx`, `doc`, `xls` or `txt`. |
| `language` | string | Language declared by the page, e.g. `en-US`. It is empty for most records. |
| `num_pages` | int64 (nullable) | Page count for PDF and office files. |
| `content_text` | string | Extracted plain text, **cut off at 30,000 characters**. |
| `content_chars` | int64 | Length of `content_text`. |
| `tables_json` | string | HTML tables extracted as JSON. This is useful for specifications. |
| `structured_json` | string | Original API fields, as JSON, for openFDA, NHTSA and CPSC records. |
| `content_sha256` | string | Hash of the content, for deduplication. |
| `local_file` | string | Path of the downloaded original file at collection time. The original files are **not** part of this dataset. |
| `http_status` | int64 | HTTP status of the fetch. |
| `fetched_at` | string | UTC fetch time in ISO 8601 format. |
Missing values are stored as **empty strings**, not nulls. The only exception is `num_pages`.
### File types
| `file_type` | Records |
|---|---:|
| `json-api` (openFDA, NHTSA, CPSC) | 7,430 |
| `html` | 4,691 |
| `pdf` | 3,070 |
| `zip` | 51 |
| `docx` | 22 |
| `pptx` | 15 |
| `xlsx` | 12 |
| `doc`, `xls`, `txt` | 4 |
### Document taxonomy
Records are labeled by weighted keyword matches in the title, link text, URL and body text.
| Group | Category | Records |
|---|---|---:|
| Quality Assurance & Compliance | `ncr_capa` | 7,651 |
| | `safety_regulatory` | 1,643 |
| | `qc_plan_inspection` | 208 |
| | `calibration_test_certificate` | 9 |
| Corporate & Regulatory Filings | `regulatory_filing` | 2,093 |
| Product Documentation | `product_specification` | 718 |
| | `user_manual` | 412 |
| | `product_catalog` | 416 |
| Procurement, Inventory & Logistics | `supplier_quality` | 1,090 |
| | `purchase_order_requisition` | 416 |
| | `inventory_stock` | 95 |
| | `shipping_receiving` | 29 |
| Production & Shop Floor Execution | `sop_work_instruction` | 244 |
| | `production_plan_mps` | 37 |
| | `work_order_routing` | 23 |
| | `batch_manufacturing_record` | 2 |
| Engineering & Product Design | `bill_of_materials` | 101 |
| | `engineering_drawing_cad` | 95 |
| | `engineering_change_order` | 13 |
### Example record (shortened)
```json
{
"industry": "Food & Beverage",
"company": "Cargill (private)",
"source_type": "openfda",
"source_url": "https://api.fda.gov/food/enforcement.json?search=recall_number:F-0782-2023",
"doc_category": "ncr_capa",
"doc_group": "Quality Assurance & Compliance",
"title": "FDA food enforcement F-0782-2023: Products with a gluten free claim may contain gluten levels above 20 ppm.",
"file_type": "json-api",
"content_text": "recalling_firm: Cargill, Inc ...\nproduct_description: PROSANTE TVGPTN 3014B FLK 50LB BG, paper bag\nreason_for_recall: ...",
"structured_json": "{\"status\": \"Terminated\", \"classification\": \"Class II\", ...}",
"fetched_at": "2026-11-20T09:14:25Z"
}
```
## Dataset creation
### Curation rationale
Public manufacturing documents are spread across hundreds of company websites and several government databases. This dataset gathers them into one labeled corpus, so that document AI, retrieval and LLM work on industrial topics can use one source.
### Collection process
1. A list of 287 manufacturing companies was grouped into 16 industries. Some companies were given hand-picked starting URLs for their document hubs.
2. Public documents were collected from each company site. Collection respected `robots.txt`, limited its request rate per host, and capped the number of pages and documents per company. It downloaded HTML pages and linked files (PDF, DOCX, PPTX, XLSX and others) and extracted their text and tables.
3. The openFDA device, drug and food enforcement endpoints, the NHTSA recalls API and the CPSC recalls API were queried for the companies in the list.
4. Each record was classified against the taxonomy.
5. Duplicates were removed across the whole dataset (502 of 15,797 records). Two records count as duplicates if any of these is true:
- They have the same `source_url` (8 removed).
- They have the same `content_sha256` (438 removed). The hash of an empty string is ignored, because unrelated pages with no text share it.
- Their text is the same after lower-casing and collapsing whitespace (12 removed).
- They are near-duplicates (44 removed): the same company, the same URL once language/region parts and `?page=0` are removed (for example `/en-us/` and `/en-gb/`, or `in.micron.com` and `sg.micron.com`), and at least 90% word 5-gram overlap. Translations and regional pages with different content are kept. Text similarity alone is not used, because many different documents share a template, such as safety data sheets for different products or purchase terms for different legal entities.
In each group, one record is kept: the one with the highest `relevance_score`, then the longest text, then the one with tables, then the one with a downloaded file. `removed_duplicates.csv` lists each removed record and the record kept in its place.
6. The records were exported per industry.
### Personal information
The documents are corporate and regulatory publications. They can still contain business contact details, such as names, emails and phone numbers of company or supplier contacts, and the addresses of recalling firms. No extra anonymization was done.
## Bias, risks and limitations
- **Labels come from rules, not people.** `doc_category` comes from keyword matching and will be wrong for some records. Use `relevance_score` and `secondary_categories` to filter, and do not treat the labels as gold labels.
- **The data is unbalanced.** Medical Devices has 42% of all records, because openFDA has many device recall records. `ncr_capa` is 50% of all records. Some categories have fewer than 15 examples.
- **Most records are from the US and in English.** Government records cover the US only. Some company website pages are in other languages, such as Japanese, French and Chinese.
- **Text is cut off and can be noisy.** 1,790 records reach the 30,000-character limit. 747 records have empty `content_text`, usually scanned PDFs or archives. PDF extraction can leave headers, footers and broken words.
- **Some near-duplicates remain.** Exact duplicates and same-page language/region variants are removed. Different documents built on the same template are kept on purpose, for example annual-report pages for different years, consecutive recalls with the same reason, or safety data sheets for similar products. So are translations of the same page. When one recall was matched to two companies, only one of them is kept as `company`.
- **The data is a snapshot.** It shows the websites as of November 2026. Documents may have been updated or removed since.
- **`company` is the company searched for, not always the publisher.** API records are matched to companies by firm name, so subsidiaries or firms with similar names can appear.
## Licensing
This dataset mixes content under different terms:
- **openFDA, NHTSA and CPSC records** are US government works and are in the public domain.
- **Company website content** stays under the copyright of the company that published it. It is included only in extracted text form and only for non-commercial research. Before any other use, check the terms of the original publisher. The `source_url` column links to each original document.
The dataset structure, taxonomy labels and metadata are released for research use. If you own content in this dataset and want it removed, open a discussion on the dataset page.
## Changelog
- **2026-11-21:** Removed 44 near-duplicate language/region and pagination variants (15,339 → 15,295).
- **2026-11-21:** Removed 458 exact duplicate records across all industries (15,797 → 15,339). All removed records are listed in `removed_duplicates.csv`.
- **2026-11-20:** First release, with 15,797 records.
## Citation
```bibtex
@misc{manufacturing_industry_documents_2026,
title = {Manufacturing Industry Documents},
year = {2026},
note = {Public manufacturing documents and US recall records across 16 industries, collected 2026-11-20},
howpublished = {\url{https://huggingface.co/datasets/<your-username>/<dataset-name>}}
}
```
|