Dataset Viewer
Auto-converted to Parquet Duplicate
_id
stringlengths
3
3
title
stringlengths
9
87
naics_version
stringdate
2022-01-01 00:00:00
2022-01-01 00:00:00
parent
stringclasses
0 values
111
Crop Production
2022
null
112
Animal Production and Aquaculture
2022
null
113
Forestry and Logging
2022
null
114
Fishing, Hunting and Trapping
2022
null
115
Support Activities for Agriculture and Forestry
2022
null
211
Oil and Gas Extraction
2022
null
212
Mining (except Oil and Gas)
2022
null
213
Support Activities for Mining
2022
null
221
Utilities
2022
null
236
Construction of Buildings
2022
null
237
Heavy and Civil Engineering Construction
2022
null
238
Specialty Trade Contractors
2022
null
311
Food Manufacturing
2022
null
312
Beverage and Tobacco Product Manufacturing
2022
null
313
Textile Mills
2022
null
314
Textile Product Mills
2022
null
315
Apparel Manufacturing
2022
null
316
Leather and Allied Product Manufacturing
2022
null
321
Wood Product Manufacturing
2022
null
322
Paper Manufacturing
2022
null
323
Printing and Related Support Activities
2022
null
324
Petroleum and Coal Products Manufacturing
2022
null
325
Chemical Manufacturing
2022
null
326
Plastics and Rubber Products Manufacturing
2022
null
327
Nonmetallic Mineral Product Manufacturing
2022
null
331
Primary Metal Manufacturing
2022
null
332
Fabricated Metal Product Manufacturing
2022
null
333
Machinery Manufacturing
2022
null
334
Computer and Electronic Product Manufacturing
2022
null
335
Electrical Equipment, Appliance, and Component Manufacturing
2022
null
336
Transportation Equipment Manufacturing
2022
null
337
Furniture and Related Product Manufacturing
2022
null
339
Miscellaneous Manufacturing
2022
null
423
Merchant Wholesalers, Durable Goods
2022
null
424
Merchant Wholesalers, Nondurable Goods
2022
null
425
Wholesale Trade Agents and Brokers
2022
null
441
Motor Vehicle and Parts Dealers
2022
null
444
Building Material and Garden Equipment and Supplies Dealers
2022
null
445
Food and Beverage Retailers
2022
null
449
Furniture, Home Furnishings, Electronics, and Appliance Retailers
2022
null
455
General Merchandise Retailers
2022
null
456
Health and Personal Care Retailers
2022
null
457
Gasoline Stations and Fuel Dealers
2022
null
458
Clothing, Clothing Accessories, Shoe, and Jewelry Retailers
2022
null
459
Sporting Goods, Hobby, Musical Instrument, Book, and Miscellaneous Retailers
2022
null
481
Air Transportation
2022
null
482
Rail Transportation
2022
null
483
Water Transportation
2022
null
484
Truck Transportation
2022
null
485
Transit and Ground Passenger Transportation
2022
null
486
Pipeline Transportation
2022
null
487
Scenic and Sightseeing Transportation
2022
null
488
Support Activities for Transportation
2022
null
491
Postal Service
2022
null
492
Couriers and Messengers
2022
null
493
Warehousing and Storage
2022
null
512
Motion Picture and Sound Recording Industries
2022
null
513
Publishing Industries
2022
null
516
Broadcasting and Content Providers
2022
null
517
Telecommunications
2022
null
518
Computing Infrastructure Providers, Data Processing, Web Hosting, and Related Services
2022
null
519
Web Search Portals, Libraries, Archives, and Other Information Services
2022
null
521
Monetary Authorities-Central Bank
2022
null
522
Credit Intermediation and Related Activities
2022
null
523
Securities, Commodity Contracts, and Other Financial Investments and Related Activities
2022
null
524
Insurance Carriers and Related Activities
2022
null
525
Funds, Trusts, and Other Financial Vehicles
2022
null
531
Real Estate
2022
null
532
Rental and Leasing Services
2022
null
533
Lessors of Nonfinancial Intangible Assets (except Copyrighted Works)
2022
null
541
Professional, Scientific, and Technical Services
2022
null
551
Management of Companies and Enterprises
2022
null
561
Administrative and Support Services
2022
null
562
Waste Management and Remediation Services
2022
null
611
Educational Services
2022
null
621
Ambulatory Health Care Services
2022
null
622
Hospitals
2022
null
623
Nursing and Residential Care Facilities
2022
null
624
Social Assistance
2022
null
711
Performing Arts, Spectator Sports, and Related Industries
2022
null
712
Museums, Historical Sites, and Similar Institutions
2022
null
713
Amusement, Gambling, and Recreation Industries
2022
null
721
Accommodation
2022
null
722
Food Services and Drinking Places
2022
null
811
Repair and Maintenance
2022
null
812
Personal and Laundry Services
2022
null
813
Religious, Grantmaking, Civic, Professional, and Similar Organizations
2022
null
814
Private Households
2022
null
921
Executive, Legislative, and Other General Government Support
2022
null
922
Justice, Public Order, and Safety Activities
2022
null
923
Administration of Human Resource Programs
2022
null
924
Administration of Environmental Quality Programs
2022
null
925
Administration of Housing Programs, Urban Planning, and Community Development
2022
null
926
Administration of Economic Programs
2022
null
927
Space Research and Technology
2022
null
928
National Security and International Affairs
2022
null

NAICS Company Classification, level 3 (Subsector), graded

Company descriptions matched against the 96 NAICS 2022 3-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,748 _id, text
queries validation 12,365 _id, text
queries test 12,412 _id, text
corpus corpus 96 _id, title, naics_version, parent
qrels train 324,371 query-id, corpus-id, score
qrels validation 40,387 query-id, corpus-id, score
qrels test 41,223 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 28,025 28,816
2 Primary: the company's main industry (at most one per company) 12,362 12,407

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

Usage

from datasets import load_dataset
repo = "<your-org>/NAICS-Company-Classification-L3-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
89