Dataset Viewer
Auto-converted to Parquet Duplicate
_id
stringlengths
3
3
title
stringlengths
2
103
sic_version
stringdate
1987-01-01 00:00:00
1987-01-01 00:00:00
parent
stringclasses
82 values
011
Cash Grains
1987
01
013
Field Crops, Except Cash Grains
1987
01
016
Vegetables And Melons
1987
01
017
Fruits And Tree Nuts
1987
01
018
Horticultural Specialties
1987
01
019
General Farms, Primarily Crop
1987
01
021
Livestock, Except Dairy And Poultry
1987
02
024
Dairy Farms
1987
02
025
Poultry And Eggs
1987
02
027
Animal Specialties
1987
02
029
General Farms, Primarily Livestock And Animal
1987
02
071
Soil Preparation Services
1987
07
072
Crop Services
1987
07
074
Veterinary Services
1987
07
075
Animal Services, Except Veterinary
1987
07
076
Farm Labor And Management Services
1987
07
078
Landscape And Horticultural Services
1987
07
081
Timber Tracts
1987
08
083
Forest Nurseries And Gathering Of Forest
1987
08
085
Forestry Services
1987
08
091
Commercial Fishing
1987
09
092
Fish Hatcheries And Preserves
1987
09
097
Hunting And Trapping, And Game Propagation
1987
09
101
Iron Ores
1987
10
102
Copper Ores
1987
10
103
Lead And Zinc Ores
1987
10
104
Gold And Silver Ores
1987
10
106
Ferroalloy Ores, Except Vanadium
1987
10
108
Metal Mining Services
1987
10
109
Miscellaneous Metal Ores
1987
10
122
Bituminous Coal And Lignite Mining
1987
12
123
Anthracite Mining
1987
12
124
Coal Mining Services
1987
12
131
Crude Petroleum And Natural Gas
1987
13
132
Natural Gas Liquids
1987
13
138
Oil And Gas Field Services
1987
13
141
Dimension Stone
1987
14
142
Crushed And Broken Stone, Including Riprap
1987
14
144
Sand And Gravel
1987
14
145
Clay, Ceramic, And Refractory Minerals
1987
14
147
Chemical And Fertilizer Mineral Mining
1987
14
148
Nonmetallic Minerals Services, Except Fuels
1987
14
149
Miscellaneous Nonmetallic Minerals, Except
1987
14
152
General Building Contractors-residential
1987
15
153
Operative Builders
1987
15
154
General Building Contractors-nonresidential
1987
15
161
Highway And Street Construction, Except
1987
16
162
Heavy Construction, Except Highway And Street
1987
16
171
Plumbing, Heating And Air-conditioning
1987
17
172
Painting And Paper Hanging
1987
17
173
Electrical Work
1987
17
174
Masonry, Stonework, Tile Setting, And Plastering
1987
17
175
Carpentry And Floor Work
1987
17
176
Roofing, Siding, And Sheet Metal Work
1987
17
177
Concrete Work
1987
17
178
Water Well Drilling
1987
17
179
Miscellaneous Special Trade Contractors
1987
17
201
Meat Products
1987
20
202
Dairy Products
1987
20
203
Canned, Frozen, And Preserved Fruits, Vegetables, and Food Specialties
1987
20
204
Grain Mill Products
1987
20
205
Bakery Products
1987
20
206
Sugar And Confectionery Products
1987
20
207
Fats And Oils
1987
20
208
Beverages
1987
20
209
Miscellaneous Food Preparations And Kindred
1987
20
211
Cigarettes
1987
21
212
Cigars
1987
21
213
Chewing And Smoking Tobacco And Snuff
1987
21
214
Tobacco Stemming And Redrying
1987
21
221
Broadwoven Fabric Mills, Cotton
1987
22
222
Broadwoven Fabric Mills, Manmade Fiber And Silk
1987
22
223
Broadwoven Fabric Mills, Wool (including Dyeing and Finishing)
1987
22
224
Narrow Fabric And Other Smallwares Mills, Cotton, Wool, Silk, and Manmade Fiber
1987
22
225
Knitting Mills
1987
22
226
Dyeing And Finishing Textiles, Except Wool Fabrics
1987
22
227
Carpets And Rugs
1987
22
228
Yarn And Thread Mills
1987
22
229
Miscellaneous Textile Goods
1987
22
231
Men's And Boys' Suits, Coats, And Overcoats
1987
23
232
Men's And Boys' Furnishings, Work Clothing, And Allied Garments
1987
23
233
Women's, Misses', And Juniors' Outerwear
1987
23
234
Women's, Misses', Children's, And Infants'
1987
23
235
Hats, Caps, And Millinery
1987
23
236
Girls', Children's, And Infants' Outerwear
1987
23
237
Fur Goods
1987
23
238
Miscellaneous Apparel And Accessories
1987
23
239
Miscellaneous Fabricated Textile Products
1987
23
241
Logging
1987
24
242
Sawmills And Planing Mills
1987
24
243
Millwork, Veneer, Plywood, And Structural Wood
1987
24
244
Wood Containers
1987
24
245
Wood Buildings And Mobile Homes
1987
24
249
Miscellaneous Wood Products
1987
24
251
Household Furniture
1987
25
252
Office Furniture
1987
25
253
Public Building And Related Furniture
1987
25
254
Partitions, Shelving, Lockers, And Office And
1987
25
259
Miscellaneous Furniture And Fixtures
1987
25
261
Pulp Mills
1987
26
End of preview. Expand in Data Studio

SIC Company Classification, level 3 (Industry Group), graded

Company descriptions matched against the 415 SIC (1987) industry group 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 415 _id, title, sic_version, parent
qrels train / validation / test 952,514 / 119,232 / 121,544 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-L3-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
63