Dataset Viewer
Auto-converted to Parquet Duplicate
_id
stringlengths
2
2
title
stringlengths
8
127
nace_version
stringclasses
1 value
parent
stringlengths
1
1
01
Crop and animal production, hunting and related service activities
Rev.2
A
02
Forestry and logging
Rev.2
A
03
Fishing and aquaculture
Rev.2
A
05
Mining of coal and lignite
Rev.2
B
06
Extraction of crude petroleum and natural gas
Rev.2
B
07
Mining of metal ores
Rev.2
B
08
Other mining and quarrying
Rev.2
B
09
Mining support service activities
Rev.2
B
10
Manufacture of food products
Rev.2
C
11
Manufacture of beverages
Rev.2
C
12
Manufacture of tobacco products
Rev.2
C
13
Manufacture of textiles
Rev.2
C
14
Manufacture of wearing apparel
Rev.2
C
15
Manufacture of leather and related products
Rev.2
C
16
Manufacture of wood and of products of wood and cork, except furniture; manufacture of articles of straw and plaiting materials
Rev.2
C
17
Manufacture of paper and paper products
Rev.2
C
18
Printing and reproduction of recorded media
Rev.2
C
19
Manufacture of coke and refined petroleum products
Rev.2
C
20
Manufacture of chemicals and chemical products
Rev.2
C
21
Manufacture of basic pharmaceutical products and pharmaceutical preparations
Rev.2
C
22
Manufacture of rubber and plastic products
Rev.2
C
23
Manufacture of other non-metallic mineral products
Rev.2
C
24
Manufacture of basic metals
Rev.2
C
25
Manufacture of fabricated metal products, except machinery and equipment
Rev.2
C
26
Manufacture of computer, electronic and optical products
Rev.2
C
27
Manufacture of electrical equipment
Rev.2
C
28
Manufacture of machinery and equipment n.e.c.
Rev.2
C
29
Manufacture of motor vehicles, trailers and semi-trailers
Rev.2
C
30
Manufacture of other transport equipment
Rev.2
C
31
Manufacture of furniture
Rev.2
C
32
Other manufacturing
Rev.2
C
33
Repair and installation of machinery and equipment
Rev.2
C
35
Electricity, gas, steam and air conditioning supply
Rev.2
D
36
Water collection, treatment and supply
Rev.2
E
37
Sewerage
Rev.2
E
38
Waste collection, treatment and disposal activities; materials recovery
Rev.2
E
39
Remediation activities and other waste management services
Rev.2
E
41
Construction of buildings
Rev.2
F
42
Civil engineering
Rev.2
F
43
Specialised construction activities
Rev.2
F
45
Wholesale and retail trade and repair of motor vehicles and motorcycles
Rev.2
G
46
Wholesale trade, except of motor vehicles and motorcycles
Rev.2
G
47
Retail trade, except of motor vehicles and motorcycles
Rev.2
G
49
Land transport and transport via pipelines
Rev.2
H
50
Water transport
Rev.2
H
51
Air transport
Rev.2
H
52
Warehousing and support activities for transportation
Rev.2
H
53
Postal and courier activities
Rev.2
H
55
Accommodation
Rev.2
I
56
Food and beverage service activities
Rev.2
I
58
Publishing activities
Rev.2
J
59
Motion picture, video and television programme production, sound recording and music publishing activities
Rev.2
J
60
Programming and broadcasting activities
Rev.2
J
61
Telecommunications
Rev.2
J
62
Computer programming, consultancy and related activities
Rev.2
J
63
Information service activities
Rev.2
J
64
Financial service activities, except insurance and pension funding
Rev.2
K
65
Insurance, reinsurance and pension funding, except compulsory social security
Rev.2
K
66
Activities auxiliary to financial services and insurance activities
Rev.2
K
68
Real estate activities
Rev.2
L
69
Legal and accounting activities
Rev.2
M
70
Activities of head offices; management consultancy activities
Rev.2
M
71
Architectural and engineering activities; technical testing and analysis
Rev.2
M
72
Scientific research and development
Rev.2
M
73
Advertising and market research
Rev.2
M
74
Other professional, scientific and technical activities
Rev.2
M
75
Veterinary activities
Rev.2
M
77
Rental and leasing activities
Rev.2
N
78
Employment activities
Rev.2
N
79
Travel agency, tour operator and other reservation service and related activities
Rev.2
N
80
Security and investigation activities
Rev.2
N
81
Services to buildings and landscape activities
Rev.2
N
82
Office administrative, office support and other business support activities
Rev.2
N
84
Public administration and defence; compulsory social security
Rev.2
O
85
Education
Rev.2
P
86
Human health activities
Rev.2
Q
87
Residential care activities
Rev.2
Q
88
Social work activities without accommodation
Rev.2
Q
90
Creative, arts and entertainment activities
Rev.2
R
91
Libraries, archives, museums and other cultural activities
Rev.2
R
92
Gambling and betting activities
Rev.2
R
93
Sports activities and amusement and recreation activities
Rev.2
R
94
Activities of membership organisations
Rev.2
S
95
Repair of computers and personal and household goods
Rev.2
S
96
Other personal service activities
Rev.2
S
97
Activities of households as employers of domestic personnel
Rev.2
T
98
Undifferentiated goods- and services-producing activities of private households for own use
Rev.2
T
99
Activities of extraterritorial organisations and bodies
Rev.2
U

NACE Rev.2 Company Classification, level 2 (Division), graded

Company descriptions matched against the 88 NACE Rev.2 division 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: NACE-Company-Classification-L1, -L2-, -L3-, -L4-; companion NAICS repos use the same companies.

Config Split Rows Columns
queries train / validation / test 98,604 / 12,344 / 12,391 _id, text
corpus corpus 88 _id, title, nace_version, parent
qrels train / validation / test 570,502 / 71,083 / 72,612 query-id, corpus-id, score

corpus._id is the plain dotted NACE code (section letter, 2-digit division, 01.1 group, 01.11 class); parent is the code one level up (null for sections). Documents are titles only. qrels is sparse (only non-zero judgments). Scores: 2 = reached from the company's primary NAICS code, 1 = reached only from secondary NAICS codes. A company may have several grade-2 codes (see below). Identical descriptions in validation/test were merged into one query (union of judgments, max grade; 25 in validation, 25 in test). Train descriptions that also occur in validation or test were removed.

from datasets import load_dataset
repo = "<your-org>/NACE-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. Every company in the companion NAICS dataset has a primary and secondary NAICS code. They were translated in two hops, NAICS β†’ ISIC Rev.4 β†’ NACE Rev.2:

  1. NAICS codes were mapped to ISIC Rev.4 classes (Census crosswalk; see the companion ISIC4-Company-Classification datasets for details).
  2. Each ISIC class was mapped to its NACE Rev.2 class(es) with the official ISIC Rev.4 β†’ NACE Rev.2 correspondence table. NACE Rev.2 refines ISIC Rev.4: every NACE class belongs to exactly one ISIC class, but 107 of 419 ISIC classes split into two or more NACE classes (up to 9).
  3. NACE classes were rolled up to group, division and section, so all levels are consistent.
  4. Grade 2 = NACE codes reached from the company's primary NAICS code; grade 1 = codes reached only from its secondary NAICS codes.

Consequences you should be aware of:

  • Ambiguity grows at fine levels. The primary is ambiguous (more than one grade-2 code) for 8% of test companies at section level, 21% at division, 34% at group and 72% at class level. The class level in particular has no single true label for most companies: a NAICS industry rarely pins down one NACE class. Prefer the section, division and group levels for single-label classification, and use graded, multi-target metrics (nDCG, MAP) at class level.
  • The NACE class split inside an ISIC class is an equal split (the correspondence table carries no weights), so the relative grade-2 weights in the combined dataset's classification config are uniform by construction, not evidence.
  • Errors in the NAICS labels and in the crosswalks carry through. The NACE labels cannot be more accurate than the NAICS labels.
  • Labels are rolled up from NACE classes only. The ISIC dataset additionally keeps a few ancestor-only labels from three crosswalk codes that do not exist in ISIC Rev.4 (0120, 0140, 0331), so NACE sections/divisions differ from ISIC's for about 3% of companies. Companies whose primary NAICS code reached only such codes have no NACE grade-2 label (primary_status = missing).
  • NAICS 2022 code 325315 (Compost Manufacturing) is new in 2022 and has no mapping, so it contributes no label.
  • The same queries, splits and de-duplication as the NAICS and ISIC datasets are used, so results are directly comparable on the same companies.
  • Documents are titles only. Eurostat's explanatory notes (inclusions/exclusions) are not included.

Provenance and license

TODO before publishing: state the source of the company descriptions and the original NAICS labels, and confirm the license (license: other is a placeholder). NACE Rev. 2 is published by Eurostat (check its reuse terms); the ISIC Rev.4 to NACE Rev.2 correspondence is from Eurostat / UNSD, the NAICS-to-ISIC crosswalk and NAICS 2022-to-2017 concordance are from the U.S. Census Bureau (confirm the exact sources and terms of the files you used).

Downloads last month
63