Dataset Viewer
Auto-converted to Parquet Duplicate
_id
stringdate
0111-01-01 00:00:00
9721-01-01 00:00:00
title
stringlengths
4
103
sic_version
stringdate
1987-01-01 00:00:00
1987-01-01 00:00:00
parent
stringlengths
3
3
0111
Wheat
1987
011
0112
Rice
1987
011
0115
Corn
1987
011
0116
Soybeans
1987
011
0119
Cash Grains, Not Elsewhere Classified
1987
011
0131
Cotton
1987
013
0132
Tobacco
1987
013
0133
Sugarcane and Sugar Beets
1987
013
0134
Irish Potatoes
1987
013
0139
Field Crops, Except Cash Grains, Not Elsewhere Classified
1987
013
0161
Vegetables and Melons
1987
016
0171
Berry Crops
1987
017
0172
Grapes
1987
017
0173
Tree Nuts
1987
017
0174
Citrus Fruits
1987
017
0175
Deciduous Tree Fruits
1987
017
0179
Fruits and Tree Nuts, Not Elsewhere Classified
1987
017
0181
Ornamental Floriculture and Nursery Products
1987
018
0182
Food Crops Grown Under Cover
1987
018
0191
General Farms, Primarily Crop
1987
019
0211
Beef Cattle Feedlots
1987
021
0212
Beef Cattle, Except Feedlots
1987
021
0213
Hogs
1987
021
0214
Sheep and Goats
1987
021
0219
General Livestock, Except Dairy and Poultry
1987
021
0241
Dairy Farms
1987
024
0251
Broiler, Fryer, and Roaster Chickens
1987
025
0252
Chicken Eggs
1987
025
0253
Turkeys and Turkey Eggs
1987
025
0254
Poultry Hatcheries
1987
025
0259
Poultry and Eggs, Not Elsewhere Classified
1987
025
0271
Fur-Bearing Animals and Rabbits
1987
027
0272
Horses and Other Equines
1987
027
0273
Animal Aquaculture
1987
027
0279
Animal Specialties, Not Elsewhere Classified
1987
027
0291
General Farms, Primarily Livestock and Animal Specialties
1987
029
0711
Soil Preparation Services
1987
071
0721
Crop Planting, Cultivating, and Protecting
1987
072
0722
Crop Harvesting, Primarily by Machine
1987
072
0723
Crop Preparation Services for Market, Except Cotton Ginning
1987
072
0724
Cotton Ginning
1987
072
0741
Veterinary Services for Livestock
1987
074
0742
Veterinary Services for Animal Specialties
1987
074
0751
Livestock Services, Except Veterinary
1987
075
0752
Animal Specialty Services, Except Veterinary
1987
075
0761
Farm Labor Contractors and Crew Leaders
1987
076
0762
Farm Management Services
1987
076
0781
Landscape Counseling and Planning
1987
078
0782
Lawn and Garden Services
1987
078
0783
Ornamental Shrub and Tree Services
1987
078
0811
Timber Tracts
1987
081
0831
Forest Nurseries and Gathering of Forest Products
1987
083
0851
Forestry Services
1987
085
0912
Finfish
1987
091
0913
Shellfish
1987
091
0919
Miscellaneous Marine Products
1987
091
0921
Fish Hatcheries and Preserves
1987
092
0971
Hunting and Trapping, and Game Propagation
1987
097
1011
Iron Ores
1987
101
1021
Copper Ores
1987
102
1031
Lead and Zinc Ores
1987
103
1041
Gold Ores
1987
104
1044
Silver Ores
1987
104
1061
Ferroalloy Ores, Except Vanadium
1987
106
1081
Metal Mining Services
1987
108
1094
Uranium-Radium-Vanadium Ores
1987
109
1099
Miscellaneous Metal Ores, Not Elsewhere Classified
1987
109
1221
Bituminous Coal and Lignite Surface Mining
1987
122
1222
Bituminous Coal Underground Mining
1987
122
1231
Anthracite Mining
1987
123
1241
Coal Mining Services
1987
124
1311
Crude Petroleum and Natural Gas
1987
131
1321
Natural Gas Liquids
1987
132
1381
Drilling Oil and Gas Wells
1987
138
1382
Oil and Gas Field Exploration Services
1987
138
1389
Oil and Gas Field Services, Not Elsewhere Classified
1987
138
1411
Dimension Stone
1987
141
1422
Crushed and Broken Limestone
1987
142
1423
Crushed and Broken Granite
1987
142
1429
Crushed and Broken Stone, Not Elsewhere Classified
1987
142
1442
Construction Sand and Gravel
1987
144
1446
Industrial Sand
1987
144
1455
Kaolin and Ball Clay
1987
145
1459
Clay, Ceramic, and Refractory Minerals, Not Elsewhere Classified
1987
145
1474
Potash, Soda, and Borate Minerals
1987
147
1475
Phosphate Rock
1987
147
1479
Chemical and Fertilizer Mineral Mining, Not Elsewhere Classified
1987
147
1481
Nonmetallic Minerals Services, Except Fuels
1987
148
1499
Miscellaneous Nonmetallic Minerals, Except Fuels
1987
149
1521
General Contractors-Single-Family Houses
1987
152
1522
General Contractors-Residential Buildings, Other Than Single-Family
1987
152
1531
Operative Builders
1987
153
1541
General Contractors-Industrial Buildings and Warehouses
1987
154
1542
General Contractors-Nonresidential Buildings, Other than Industrial Buildings and Warehouses
1987
154
1611
Highway and Street Construction, Except Elevated Highways
1987
161
1622
Bridge, Tunnel, and Elevated Highway Construction
1987
162
1623
Water, Sewer, Pipeline, and Communications and Power Line Construction
1987
162
1629
Heavy Construction, Not Elsewhere Classified
1987
162
1711
Plumbing, Heating and Air-Conditioning
1987
171
1721
Painting and Paper Hanging
1987
172
End of preview. Expand in Data Studio

SIC Company Classification, level 4 (Industry), graded

Company descriptions matched against the 1004 SIC (1987) industry codes with graded relevance, in the BEIR layout (queries, corpus, qrels) used by TechWolf/Skill-extraction-*-graded and loadable with the WorkRB GradedBEIRRankingTask. Sibling repos: SIC-Company-Classification-L1, -L2-, -L3-, -L4-.

Config Split Rows Columns
queries train / validation / test 98,748 / 12,366 / 12,413 _id, text
corpus corpus 1,004 _id, title, sic_version, parent
qrels train / validation / test 1,396,099 / 174,772 / 177,820 query-id, corpus-id, score

corpus._id is the plain SIC code (division letter, or 2 to 4 digits); parent the code one level up (null for divisions). Documents are titles only. qrels is sparse. Scores: 2 reached from the company's primary NAICS code, 1 reached only from secondary NAICS codes; a company usually has several grade-2 codes (see below). Identical descriptions in validation/test were merged into one query (union, max grade; 25 in validation, 25 in test); train descriptions that also occur in validation or test were removed. Companies with no judgment at this level are omitted.

from datasets import load_dataset
repo = "<your-org>/SIC-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")

How the labels were derived (important)

These labels are derived, not human-annotated. Each company in the companion NAICS dataset has a primary and secondary NAICS code. They were translated to SIC (1987) with the Census NAICS 2022 to SIC crosswalk:

  1. A NAICS code valid in NAICS 2022 is looked up in the crosswalk. A retired NAICS 2017 code is mapped through its NAICS 2022 successor(s) (the crosswalk lists the 2017 code on every row).
  2. Grade 2 = SIC codes reached from the company's primary NAICS code; grade 1 = codes reached only from secondary NAICS codes. SIC industries are rolled up to industry group, major group and division.
  3. The crosswalk has no weights. A primary NAICS code with n SIC codes yields n grade-2 labels, each with weight 1/n in the classification config.

Consequences you should be aware of:

  • Most companies have several primary codes. At industry level only 48% of test companies have a unique grade-2 code (52% ambiguous); 26% have three or more. At division level 20% are ambiguous (the primary NAICS code maps to SIC codes in different divisions). This is the loosest mapping among the sibling datasets: use graded, multi-target metrics (nDCG, MAP); single-label accuracy is misleading.
  • Coverage is high: 99.8% of test companies have a primary SIC label. Three NAICS 2022 codes are marked "Aux" (auxiliary establishments) in the crosswalk and have no SIC code.
  • SIC dates from 1987 and predates modern activities (software, e-commerce, etc.), so many NAICS 2022 codes map to broad "not elsewhere classified" SIC industries.
  • Errors in the NAICS labels and in the crosswalk carry through; the SIC labels cannot be more accurate than the NAICS labels.
  • Titles are the official SIC manual titles (transcribed from OSHA's SIC manual); they differ in wording from the shorter titles in the Census crosswalk. Two industry codes (1442, 3544) had their first title word attached to the code in the transcription and were repaired (see build_report.json).
  • The same queries, splits and de-duplication as the NAICS datasets are used, so results are comparable on the same companies.

Provenance and license

TODO before publishing: state the source of the company descriptions and original NAICS labels, confirm the terms of the NAICS-to-SIC crosswalk file you used (published by the U.S. Census Bureau) and of the transcribed SIC manual, and add citations. license: other is a placeholder.

Downloads last month
54