Dataset Viewer
Auto-converted to Parquet Duplicate
_id
stringlengths
2
2
title
stringlengths
8
110
sic_version
stringdate
1987-01-01 00:00:00
1987-01-01 00:00:00
parent
stringclasses
10 values
01
Agricultural Production Crops
1987
A
02
Agriculture Production Livestock And Animal Specialties
1987
A
07
Agricultural Services
1987
A
08
Forestry
1987
A
09
Fishing, Hunting, And Trapping
1987
A
10
Metal Mining
1987
B
12
Coal Mining
1987
B
13
Oil And Gas Extraction
1987
B
14
Mining And Quarrying Of Nonmetallic Minerals, Except Fuels
1987
B
15
Building Construction General Contractors And Operative Builders
1987
C
16
Heavy Construction Other Than Building Construction Contractors
1987
C
17
Construction Special Trade Contractors
1987
C
20
Food And Kindred Products
1987
D
21
Tobacco Products
1987
D
22
Textile Mill Products
1987
D
23
Apparel And Other Finished Products Made From Fabrics And Similar Materials
1987
D
24
Lumber And Wood Products, Except Furniture
1987
D
25
Furniture And Fixtures
1987
D
26
Paper And Allied Products
1987
D
27
Printing, Publishing, And Allied Industries
1987
D
28
Chemicals And Allied Products
1987
D
29
Petroleum Refining And Related Industries
1987
D
30
Rubber And Miscellaneous Plastics Products
1987
D
31
Leather And Leather Products
1987
D
32
Stone, Clay, Glass, And Concrete Products
1987
D
33
Primary Metal Industries
1987
D
34
Fabricated Metal Products, Except Machinery And Transportation Equipment
1987
D
35
Industrial And Commercial Machinery And Computer Equipment
1987
D
36
Electronic And Other Electrical Equipment And Components, Except Computer Equipment
1987
D
37
Transportation Equipment
1987
D
38
Measuring, Analyzing, And Controlling Instruments; Photographic, Medical And Optical Goods; Watches And Clocks
1987
D
39
Miscellaneous Manufacturing Industries
1987
D
40
Railroad Transportation
1987
E
41
Local And Suburban Transit And Interurban Highway Passenger Transportation
1987
E
42
Motor Freight Transportation And Warehousing
1987
E
43
United States Postal Service
1987
E
44
Water Transportation
1987
E
45
Transportation By Air
1987
E
46
Pipelines, Except Natural Gas
1987
E
47
Transportation Services
1987
E
48
Communications
1987
E
49
Electric, Gas, And Sanitary Services
1987
E
50
Wholesale Trade-durable Goods
1987
F
51
Wholesale Trade-non-durable Goods
1987
F
52
Building Materials, Hardware, Garden Supply, And Mobile Home Dealers
1987
G
53
General Merchandise Stores
1987
G
54
Food Stores
1987
G
55
Automotive Dealers And Gasoline Service Stations
1987
G
56
Apparel And Accessory Stores
1987
G
57
Home Furniture, Furnishings, And Equipment Stores
1987
G
58
Eating And Drinking Places
1987
G
59
Miscellaneous Retail
1987
G
60
Depository Institutions
1987
H
61
Non-depository Credit Institutions
1987
H
62
Security And Commodity Brokers, Dealers, Exchanges, And Services
1987
H
63
Insurance Carriers
1987
H
64
Insurance Agents, Brokers, And Service
1987
H
65
Real Estate
1987
H
67
Holding And Other Investment Offices
1987
H
70
Hotels, Rooming Houses, Camps, And Other Lodging Places
1987
I
72
Personal Services
1987
I
73
Business Services
1987
I
75
Automotive Repair, Services, And Parking
1987
I
76
Miscellaneous Repair Services
1987
I
78
Motion Pictures
1987
I
79
Amusement And Recreation Services
1987
I
80
Health Services
1987
I
81
Legal Services
1987
I
82
Educational Services
1987
I
83
Social Services
1987
I
84
Museums, Art Galleries, And Botanical And Zoological Gardens
1987
I
86
Membership Organizations
1987
I
87
Engineering, Accounting, Research, Management, And Related Services
1987
I
88
Private Households
1987
I
89
Miscellaneous Services
1987
I
91
Executive, Legislative, And General Government, Except Finance
1987
J
92
Justice, Public Order, And Safety
1987
J
93
Public Finance, Taxation, And Monetary Policy
1987
J
94
Administration Of Human Resource Programs
1987
J
95
Administration Of Environmental Quality And Housing Programs
1987
J
96
Administration Of Economic Programs
1987
J
97
National Security And International Affairs
1987
J

SIC Company Classification, level 2 (Major Group), graded

Company descriptions matched against the 82 SIC (1987) major 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 82 _id, title, sic_version, parent
qrels train / validation / test 591,238 / 74,223 / 75,198 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-L2-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
62