_id stringlengths 6 6 | title stringlengths 6 118 | naics_version stringdate 2022-01-01 00:00:00 2022-01-01 00:00:00 | parent stringlengths 5 5 |
|---|---|---|---|
111110 | Soybean Farming | 2022 | 11111 |
111120 | Oilseed (except Soybean) Farming | 2022 | 11112 |
111130 | Dry Pea and Bean Farming | 2022 | 11113 |
111140 | Wheat Farming | 2022 | 11114 |
111150 | Corn Farming | 2022 | 11115 |
111160 | Rice Farming | 2022 | 11116 |
111191 | Oilseed and Grain Combination Farming | 2022 | 11119 |
111199 | All Other Grain Farming | 2022 | 11119 |
111211 | Potato Farming | 2022 | 11121 |
111219 | Other Vegetable (except Potato) and Melon Farming | 2022 | 11121 |
111310 | Orange Groves | 2022 | 11131 |
111320 | Citrus (except Orange) Groves | 2022 | 11132 |
111331 | Apple Orchards | 2022 | 11133 |
111332 | Grape Vineyards | 2022 | 11133 |
111333 | Strawberry Farming | 2022 | 11133 |
111334 | Berry (except Strawberry) Farming | 2022 | 11133 |
111335 | Tree Nut Farming | 2022 | 11133 |
111336 | Fruit and Tree Nut Combination Farming | 2022 | 11133 |
111339 | Other Noncitrus Fruit Farming | 2022 | 11133 |
111411 | Mushroom Production | 2022 | 11141 |
111419 | Other Food Crops Grown Under Cover | 2022 | 11141 |
111421 | Nursery and Tree Production | 2022 | 11142 |
111422 | Floriculture Production | 2022 | 11142 |
111910 | Tobacco Farming | 2022 | 11191 |
111920 | Cotton Farming | 2022 | 11192 |
111930 | Sugarcane Farming | 2022 | 11193 |
111940 | Hay Farming | 2022 | 11194 |
111991 | Sugar Beet Farming | 2022 | 11199 |
111992 | Peanut Farming | 2022 | 11199 |
111998 | All Other Miscellaneous Crop Farming | 2022 | 11199 |
112111 | Beef Cattle Ranching and Farming | 2022 | 11211 |
112112 | Cattle Feedlots | 2022 | 11211 |
112120 | Dairy Cattle and Milk Production | 2022 | 11212 |
112130 | Dual-Purpose Cattle Ranching and Farming | 2022 | 11213 |
112210 | Hog and Pig Farming | 2022 | 11221 |
112310 | Chicken Egg Production | 2022 | 11231 |
112320 | Broilers and Other Meat Type Chicken Production | 2022 | 11232 |
112330 | Turkey Production | 2022 | 11233 |
112340 | Poultry Hatcheries | 2022 | 11234 |
112390 | Other Poultry Production | 2022 | 11239 |
112410 | Sheep Farming | 2022 | 11241 |
112420 | Goat Farming | 2022 | 11242 |
112511 | Finfish Farming and Fish Hatcheries | 2022 | 11251 |
112512 | Shellfish Farming | 2022 | 11251 |
112519 | Other Aquaculture | 2022 | 11251 |
112910 | Apiculture | 2022 | 11291 |
112920 | Horses and Other Equine Production | 2022 | 11292 |
112930 | Fur-Bearing Animal and Rabbit Production | 2022 | 11293 |
112990 | All Other Animal Production | 2022 | 11299 |
113110 | Timber Tract Operations | 2022 | 11311 |
113210 | Forest Nurseries and Gathering of Forest Products | 2022 | 11321 |
113310 | Logging | 2022 | 11331 |
114111 | Finfish Fishing | 2022 | 11411 |
114112 | Shellfish Fishing | 2022 | 11411 |
114119 | Other Marine Fishing | 2022 | 11411 |
114210 | Hunting and Trapping | 2022 | 11421 |
115111 | Cotton Ginning | 2022 | 11511 |
115112 | Soil Preparation, Planting, and Cultivating | 2022 | 11511 |
115113 | Crop Harvesting, Primarily by Machine | 2022 | 11511 |
115114 | Postharvest Crop Activities (except Cotton Ginning) | 2022 | 11511 |
115115 | Farm Labor Contractors and Crew Leaders | 2022 | 11511 |
115116 | Farm Management Services | 2022 | 11511 |
115210 | Support Activities for Animal Production | 2022 | 11521 |
115310 | Support Activities for Forestry | 2022 | 11531 |
211120 | Crude Petroleum Extraction | 2022 | 21112 |
211130 | Natural Gas Extraction | 2022 | 21113 |
212114 | Surface Coal Mining | 2022 | 21211 |
212115 | Underground Coal Mining | 2022 | 21211 |
212210 | Iron Ore Mining | 2022 | 21221 |
212220 | Gold Ore and Silver Ore Mining | 2022 | 21222 |
212230 | Copper, Nickel, Lead, and Zinc Mining | 2022 | 21223 |
212290 | Other Metal Ore Mining | 2022 | 21229 |
212311 | Dimension Stone Mining and Quarrying | 2022 | 21231 |
212312 | Crushed and Broken Limestone Mining and Quarrying | 2022 | 21231 |
212313 | Crushed and Broken Granite Mining and Quarrying | 2022 | 21231 |
212319 | Other Crushed and Broken Stone Mining and Quarrying | 2022 | 21231 |
212321 | Construction Sand and Gravel Mining | 2022 | 21232 |
212322 | Industrial Sand Mining | 2022 | 21232 |
212323 | Kaolin, Clay, and Ceramic and Refractory Minerals Mining | 2022 | 21232 |
212390 | Other Nonmetallic Mineral Mining and Quarrying | 2022 | 21239 |
213111 | Drilling Oil and Gas Wells | 2022 | 21311 |
213112 | Support Activities for Oil and Gas Operations | 2022 | 21311 |
213113 | Support Activities for Coal Mining | 2022 | 21311 |
213114 | Support Activities for Metal Mining | 2022 | 21311 |
213115 | Support Activities for Nonmetallic Minerals (except Fuels) Mining | 2022 | 21311 |
221111 | Hydroelectric Power Generation | 2022 | 22111 |
221112 | Fossil Fuel Electric Power Generation | 2022 | 22111 |
221113 | Nuclear Electric Power Generation | 2022 | 22111 |
221114 | Solar Electric Power Generation | 2022 | 22111 |
221115 | Wind Electric Power Generation | 2022 | 22111 |
221116 | Geothermal Electric Power Generation | 2022 | 22111 |
221117 | Biomass Electric Power Generation | 2022 | 22111 |
221118 | Other Electric Power Generation | 2022 | 22111 |
221121 | Electric Bulk Power Transmission and Control | 2022 | 22112 |
221122 | Electric Power Distribution | 2022 | 22112 |
221210 | Natural Gas Distribution | 2022 | 22121 |
221310 | Water Supply and Irrigation Systems | 2022 | 22131 |
221320 | Sewage Treatment Facilities | 2022 | 22132 |
221330 | Steam and Air-Conditioning Supply | 2022 | 22133 |
236115 | New Single-Family Housing Construction (except For-Sale Builders) | 2022 | 23611 |
NAICS Company Classification, level 6 (National Industry), graded
Company descriptions matched against the 1012 NAICS 2022 6-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,740 | _id, text |
queries |
validation |
12,365 | _id, text |
queries |
test |
12,412 | _id, text |
corpus |
corpus |
1,012 | _id, title, naics_version, parent |
qrels |
train |
783,332 | query-id, corpus-id, score |
qrels |
validation |
98,383 | query-id, corpus-id, score |
qrels |
test |
100,329 | 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 | 86,039 | 87,943 |
| 2 | Primary: the company's main industry (at most one per company) | 12,344 | 12,386 |
Labels are hierarchically consistent across the sibling level repos. Average judged codes per company at this level: 8.08 (test).
Usage
from datasets import load_dataset
repo = "<your-org>/NAICS-Company-Classification-L6-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
- 37