_id stringlengths 5 5 | title stringlengths 6 107 | naics_version stringdate 2022-01-01 00:00:00 2022-01-01 00:00:00 | parent stringdate 1111-01-01 00:00:00 9281-01-01 00:00:00 |
|---|---|---|---|
11111 | Soybean Farming | 2022 | 1111 |
11112 | Oilseed (except Soybean) Farming | 2022 | 1111 |
11113 | Dry Pea and Bean Farming | 2022 | 1111 |
11114 | Wheat Farming | 2022 | 1111 |
11115 | Corn Farming | 2022 | 1111 |
11116 | Rice Farming | 2022 | 1111 |
11119 | Other Grain Farming | 2022 | 1111 |
11121 | Vegetable and Melon Farming | 2022 | 1112 |
11131 | Orange Groves | 2022 | 1113 |
11132 | Citrus (except Orange) Groves | 2022 | 1113 |
11133 | Noncitrus Fruit and Tree Nut Farming | 2022 | 1113 |
11141 | Food Crops Grown Under Cover | 2022 | 1114 |
11142 | Nursery and Floriculture Production | 2022 | 1114 |
11191 | Tobacco Farming | 2022 | 1119 |
11192 | Cotton Farming | 2022 | 1119 |
11193 | Sugarcane Farming | 2022 | 1119 |
11194 | Hay Farming | 2022 | 1119 |
11199 | All Other Crop Farming | 2022 | 1119 |
11211 | Beef Cattle Ranching and Farming, including Feedlots | 2022 | 1121 |
11212 | Dairy Cattle and Milk Production | 2022 | 1121 |
11213 | Dual-Purpose Cattle Ranching and Farming | 2022 | 1121 |
11221 | Hog and Pig Farming | 2022 | 1122 |
11231 | Chicken Egg Production | 2022 | 1123 |
11232 | Broilers and Other Meat Type Chicken Production | 2022 | 1123 |
11233 | Turkey Production | 2022 | 1123 |
11234 | Poultry Hatcheries | 2022 | 1123 |
11239 | Other Poultry Production | 2022 | 1123 |
11241 | Sheep Farming | 2022 | 1124 |
11242 | Goat Farming | 2022 | 1124 |
11251 | Aquaculture | 2022 | 1125 |
11291 | Apiculture | 2022 | 1129 |
11292 | Horses and Other Equine Production | 2022 | 1129 |
11293 | Fur-Bearing Animal and Rabbit Production | 2022 | 1129 |
11299 | All Other Animal Production | 2022 | 1129 |
11311 | Timber Tract Operations | 2022 | 1131 |
11321 | Forest Nurseries and Gathering of Forest Products | 2022 | 1132 |
11331 | Logging | 2022 | 1133 |
11411 | Fishing | 2022 | 1141 |
11421 | Hunting and Trapping | 2022 | 1142 |
11511 | Support Activities for Crop Production | 2022 | 1151 |
11521 | Support Activities for Animal Production | 2022 | 1152 |
11531 | Support Activities for Forestry | 2022 | 1153 |
21112 | Crude Petroleum Extraction | 2022 | 2111 |
21113 | Natural Gas Extraction | 2022 | 2111 |
21211 | Coal Mining | 2022 | 2121 |
21221 | Iron Ore Mining | 2022 | 2122 |
21222 | Gold Ore and Silver Ore Mining | 2022 | 2122 |
21223 | Copper, Nickel, Lead, and Zinc Mining | 2022 | 2122 |
21229 | Other Metal Ore Mining | 2022 | 2122 |
21231 | Stone Mining and Quarrying | 2022 | 2123 |
21232 | Sand, Gravel, Clay, and Ceramic and Refractory Minerals Mining and Quarrying | 2022 | 2123 |
21239 | Other Nonmetallic Mineral Mining and Quarrying | 2022 | 2123 |
21311 | Support Activities for Mining | 2022 | 2131 |
22111 | Electric Power Generation | 2022 | 2211 |
22112 | Electric Power Transmission, Control, and Distribution | 2022 | 2211 |
22121 | Natural Gas Distribution | 2022 | 2212 |
22131 | Water Supply and Irrigation Systems | 2022 | 2213 |
22132 | Sewage Treatment Facilities | 2022 | 2213 |
22133 | Steam and Air-Conditioning Supply | 2022 | 2213 |
23611 | Residential Building Construction | 2022 | 2361 |
23621 | Industrial Building Construction | 2022 | 2362 |
23622 | Commercial and Institutional Building Construction | 2022 | 2362 |
23711 | Water and Sewer Line and Related Structures Construction | 2022 | 2371 |
23712 | Oil and Gas Pipeline and Related Structures Construction | 2022 | 2371 |
23713 | Power and Communication Line and Related Structures Construction | 2022 | 2371 |
23721 | Land Subdivision | 2022 | 2372 |
23731 | Highway, Street, and Bridge Construction | 2022 | 2373 |
23799 | Other Heavy and Civil Engineering Construction | 2022 | 2379 |
23811 | Poured Concrete Foundation and Structure Contractors | 2022 | 2381 |
23812 | Structural Steel and Precast Concrete Contractors | 2022 | 2381 |
23813 | Framing Contractors | 2022 | 2381 |
23814 | Masonry Contractors | 2022 | 2381 |
23815 | Glass and Glazing Contractors | 2022 | 2381 |
23816 | Roofing Contractors | 2022 | 2381 |
23817 | Siding Contractors | 2022 | 2381 |
23819 | Other Foundation, Structure, and Building Exterior Contractors | 2022 | 2381 |
23821 | Electrical Contractors and Other Wiring Installation Contractors | 2022 | 2382 |
23822 | Plumbing, Heating, and Air-Conditioning Contractors | 2022 | 2382 |
23829 | Other Building Equipment Contractors | 2022 | 2382 |
23831 | Drywall and Insulation Contractors | 2022 | 2383 |
23832 | Painting and Wall Covering Contractors | 2022 | 2383 |
23833 | Flooring Contractors | 2022 | 2383 |
23834 | Tile and Terrazzo Contractors | 2022 | 2383 |
23835 | Finish Carpentry Contractors | 2022 | 2383 |
23839 | Other Building Finishing Contractors | 2022 | 2383 |
23891 | Site Preparation Contractors | 2022 | 2389 |
23899 | All Other Specialty Trade Contractors | 2022 | 2389 |
31111 | Animal Food Manufacturing | 2022 | 3111 |
31121 | Flour Milling and Malt Manufacturing | 2022 | 3112 |
31122 | Starch and Vegetable Fats and Oils Manufacturing | 2022 | 3112 |
31123 | Breakfast Cereal Manufacturing | 2022 | 3112 |
31131 | Sugar Manufacturing | 2022 | 3113 |
31134 | Nonchocolate Confectionery Manufacturing | 2022 | 3113 |
31135 | Chocolate and Confectionery Manufacturing | 2022 | 3113 |
31141 | Frozen Food Manufacturing | 2022 | 3114 |
31142 | Fruit and Vegetable Canning, Pickling, and Drying | 2022 | 3114 |
31151 | Dairy Product (except Frozen) Manufacturing | 2022 | 3115 |
31152 | Ice Cream and Frozen Dessert Manufacturing | 2022 | 3115 |
31161 | Animal Slaughtering and Processing | 2022 | 3116 |
31171 | Seafood Product Preparation and Packaging | 2022 | 3117 |
NAICS Company Classification, level 5 (NAICS Industry), graded
Company descriptions matched against the 689 NAICS 2022 5-digit codes with graded
relevance, in the BEIR layout (queries, corpus, qrels) used by
TechWolf/Skill-extraction-*-graded and loadable by the WorkRB GradedBEIRRankingTask.
Sibling repos cover the other levels: NAICS-Company-Classification-L3-graded, -L4-, -L5-, -L6-.
Configs and splits
| Config | Split | Rows | Columns |
|---|---|---|---|
queries |
train |
98,742 | _id, text |
queries |
validation |
12,365 | _id, text |
queries |
test |
12,412 | _id, text |
corpus |
corpus |
689 | _id, title, naics_version, parent |
qrels |
train |
665,451 | query-id, corpus-id, score |
qrels |
validation |
83,458 | query-id, corpus-id, score |
qrels |
test |
85,338 | query-id, corpus-id, score |
queries._idis the company id;textis the company description (about 50 words on average).corpus._idis the plain NAICS code (e.g.611519);titleis the NAICS 2022 title;parentis the code one level up (null at level 3). Documents are titles only.qrelsis sparse: only non-zero judgments are listed; every other code is implicitly grade 0.corpus-idjoins tocorpus._id,query-idtoqueries._id.
Relevance grades
| Score | Meaning | validation | test |
|---|---|---|---|
| 0 | Not relevant (implicit, not stored) | ||
| 1 | Secondary: an additional industry the company is active in | 71,107 | 72,948 |
| 2 | Primary: the company's main industry (at most one per company) | 12,351 | 12,390 |
Labels are hierarchically consistent across the sibling level repos. Average judged codes per company at this level: 6.88 (test).
Usage
from datasets import load_dataset
repo = "<your-org>/NAICS-Company-Classification-L5-graded"
queries = load_dataset(repo, "queries", split="test")
corpus = load_dataset(repo, "corpus", split="corpus")
qrels = load_dataset(repo, "qrels", split="test")
Suggested metrics: nDCG@k with the graded scores, MAP, MRR, and R-Precision (as in WorkRB's defaults).
Train a classifier or embedding model with the train split; validation and test are for evaluation.
Processing notes
- Identical company descriptions within
validation/testwere merged into a single query whose judgments are the union of its duplicates (max grade), as WorkRB groups judgments by query text. 25 such duplicates were merged in validation and 25 in test. - Train descriptions that also appear in validation or test, and validation descriptions that also appear in test, were removed to prevent leakage. Queries with no judgment at this level are omitted.
- A small number of source labels used retired NAICS 2017 codes absent from the 2022 corpus; those judgments were dropped.
Provenance and license
TODO before publishing: state the source of the company descriptions and how primary/secondary grades were produced, and confirm the license (
license: otheris a placeholder). NAICS is published by the U.S. Census Bureau.
Citation
TODO
- Downloads last month
- 89