Dataset Viewer
Auto-converted to Parquet Duplicate
_id
stringdate
1111-01-01 00:00:00
9281-01-01 00:00:00
title
stringlengths
7
107
naics_version
stringdate
2022-01-01 00:00:00
2022-01-01 00:00:00
parent
stringlengths
3
3
1111
Oilseed and Grain Farming
2022
111
1112
Vegetable and Melon Farming
2022
111
1113
Fruit and Tree Nut Farming
2022
111
1114
Greenhouse, Nursery, and Floriculture Production
2022
111
1119
Other Crop Farming
2022
111
1121
Cattle Ranching and Farming
2022
112
1122
Hog and Pig Farming
2022
112
1123
Poultry and Egg Production
2022
112
1124
Sheep and Goat Farming
2022
112
1125
Aquaculture
2022
112
1129
Other Animal Production
2022
112
1131
Timber Tract Operations
2022
113
1132
Forest Nurseries and Gathering of Forest Products
2022
113
1133
Logging
2022
113
1141
Fishing
2022
114
1142
Hunting and Trapping
2022
114
1151
Support Activities for Crop Production
2022
115
1152
Support Activities for Animal Production
2022
115
1153
Support Activities for Forestry
2022
115
2111
Oil and Gas Extraction
2022
211
2121
Coal Mining
2022
212
2122
Metal Ore Mining
2022
212
2123
Nonmetallic Mineral Mining and Quarrying
2022
212
2131
Support Activities for Mining
2022
213
2211
Electric Power Generation, Transmission and Distribution
2022
221
2212
Natural Gas Distribution
2022
221
2213
Water, Sewage and Other Systems
2022
221
2361
Residential Building Construction
2022
236
2362
Nonresidential Building Construction
2022
236
2371
Utility System Construction
2022
237
2372
Land Subdivision
2022
237
2373
Highway, Street, and Bridge Construction
2022
237
2379
Other Heavy and Civil Engineering Construction
2022
237
2381
Foundation, Structure, and Building Exterior Contractors
2022
238
2382
Building Equipment Contractors
2022
238
2383
Building Finishing Contractors
2022
238
2389
Other Specialty Trade Contractors
2022
238
3111
Animal Food Manufacturing
2022
311
3112
Grain and Oilseed Milling
2022
311
3113
Sugar and Confectionery Product Manufacturing
2022
311
3114
Fruit and Vegetable Preserving and Specialty Food Manufacturing
2022
311
3115
Dairy Product Manufacturing
2022
311
3116
Animal Slaughtering and Processing
2022
311
3117
Seafood Product Preparation and Packaging
2022
311
3118
Bakeries and Tortilla Manufacturing
2022
311
3119
Other Food Manufacturing
2022
311
3121
Beverage Manufacturing
2022
312
3122
Tobacco Manufacturing
2022
312
3131
Fiber, Yarn, and Thread Mills
2022
313
3132
Fabric Mills
2022
313
3133
Textile and Fabric Finishing and Fabric Coating Mills
2022
313
3141
Textile Furnishings Mills
2022
314
3149
Other Textile Product Mills
2022
314
3151
Apparel Knitting Mills
2022
315
3152
Cut and Sew Apparel Manufacturing
2022
315
3159
Apparel Accessories and Other Apparel Manufacturing
2022
315
3161
Leather and Hide Tanning and Finishing
2022
316
3162
Footwear Manufacturing
2022
316
3169
Other Leather and Allied Product Manufacturing
2022
316
3211
Sawmills and Wood Preservation
2022
321
3212
Veneer, Plywood, and Engineered Wood Product Manufacturing
2022
321
3219
Other Wood Product Manufacturing
2022
321
3221
Pulp, Paper, and Paperboard Mills
2022
322
3222
Converted Paper Product Manufacturing
2022
322
3231
Printing and Related Support Activities
2022
323
3241
Petroleum and Coal Products Manufacturing
2022
324
3251
Basic Chemical Manufacturing
2022
325
3252
Resin, Synthetic Rubber, and Artificial and Synthetic Fibers and Filaments Manufacturing
2022
325
3253
Pesticide, Fertilizer, and Other Agricultural Chemical Manufacturing
2022
325
3254
Pharmaceutical and Medicine Manufacturing
2022
325
3255
Paint, Coating, and Adhesive Manufacturing
2022
325
3256
Soap, Cleaning Compound, and Toilet Preparation Manufacturing
2022
325
3259
Other Chemical Product and Preparation Manufacturing
2022
325
3261
Plastics Product Manufacturing
2022
326
3262
Rubber Product Manufacturing
2022
326
3271
Clay Product and Refractory Manufacturing
2022
327
3272
Glass and Glass Product Manufacturing
2022
327
3273
Cement and Concrete Product Manufacturing
2022
327
3274
Lime and Gypsum Product Manufacturing
2022
327
3279
Other Nonmetallic Mineral Product Manufacturing
2022
327
3311
Iron and Steel Mills and Ferroalloy Manufacturing
2022
331
3312
Steel Product Manufacturing from Purchased Steel
2022
331
3313
Alumina and Aluminum Production and Processing
2022
331
3314
Nonferrous Metal (except Aluminum) Production and Processing
2022
331
3315
Foundries
2022
331
3321
Forging and Stamping
2022
332
3322
Cutlery and Handtool Manufacturing
2022
332
3323
Architectural and Structural Metals Manufacturing
2022
332
3324
Boiler, Tank, and Shipping Container Manufacturing
2022
332
3325
Hardware Manufacturing
2022
332
3326
Spring and Wire Product Manufacturing
2022
332
3327
Machine Shops; Turned Product; and Screw, Nut, and Bolt Manufacturing
2022
332
3328
Coating, Engraving, Heat Treating, and Allied Activities
2022
332
3329
Other Fabricated Metal Product Manufacturing
2022
332
3331
Agriculture, Construction, and Mining Machinery Manufacturing
2022
333
3332
Industrial Machinery Manufacturing
2022
333
3333
Commercial and Service Industry Machinery Manufacturing
2022
333
3334
Ventilation, Heating, Air-Conditioning, and Commercial Refrigeration Equipment Manufacturing
2022
333
3335
Metalworking Machinery Manufacturing
2022
333
3336
Engine, Turbine, and Power Transmission Equipment Manufacturing
2022
333
End of preview. Expand in Data Studio

NAICS Company Classification, level 4 (Industry Group), graded

Company descriptions matched against the 308 NAICS 2022 4-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,746 _id, text
queries validation 12,365 _id, text
queries test 12,412 _id, text
corpus corpus 308 _id, title, naics_version, parent
qrels train 516,802 query-id, corpus-id, score
qrels validation 64,529 query-id, corpus-id, score
qrels test 66,004 query-id, corpus-id, score
  • queries._id is the company id; text is the company description (about 50 words on average).
  • corpus._id is the plain NAICS code (e.g. 611519); title is the NAICS 2022 title; parent is the code one level up (null at level 3). Documents are titles only.
  • qrels is sparse: only non-zero judgments are listed; every other code is implicitly grade 0. corpus-id joins to corpus._id, query-id to queries._id.

Relevance grades

Score Meaning validation test
0 Not relevant (implicit, not stored)
1 Secondary: an additional industry the company is active in 52,176 53,608
2 Primary: the company's main industry (at most one per company) 12,353 12,396

Labels are hierarchically consistent across the sibling level repos. Average judged codes per company at this level: 5.32 (test).

Usage

from datasets import load_dataset
repo = "<your-org>/NAICS-Company-Classification-L4-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 / test were 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: other is a placeholder). NAICS is published by the U.S. Census Bureau.

Citation

TODO

Downloads last month
47