josephagossa commited on
Commit
e89ecb1
·
verified ·
1 Parent(s): da429e1

Upload 8 files

Browse files
.gitattributes CHANGED
@@ -58,3 +58,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ KenyaESG_train_environmental.xlsx filter=lfs diff=lfs merge=lfs -text
62
+ KenyaESG_train_governance.xlsx filter=lfs diff=lfs merge=lfs -text
63
+ KenyaESG_train_social.xlsx filter=lfs diff=lfs merge=lfs -text
KenyaESG_correction_log.txt ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ KenyaESG — CORRECTION LOG (post-v3)
2
+ ====================================
3
+ Scope: correction of false-positive [COMPANY] masks only. No rows removed;
4
+ 3,900 sentences per pillar preserved. Labels and [PERSON] masks unchanged.
5
+ Swahili and OCR-degraded sentences were retained as-is by decision.
6
+
7
+ False-positive [COMPANY] restored to the original common word, by context:
8
+ "Modern Slavery Business [COMPANY]" -> "...Business Standard"
9
+ "Diversity,[COMPANY] & inclusion" -> "Diversity, Equity & inclusion"
10
+ "employment [COMPANY]" -> "employment equity"
11
+ "gender [COMPANY]" / "Gender [COMPANY]" -> "gender equity" / "Gender equity"
12
+ "Promoting gender [COMPANY]" -> "Promoting gender equity"
13
+ "any [COMPANY] incentive plan" -> "any equity incentive plan"
14
+ "the Dutch [COMPANY]" -> "the Dutch Standard"
15
+ "[COMPANY] wa dunia" -> "uchumi wa dunia"
16
+ "protect biodiversity [COMPANY]" -> "protect biodiversity Standard"
17
+
18
+ Corrections applied: env 6, soc 16, gov 7 (total 29).
19
+ [COMPANY] token count: env 364->358, soc 443->427, gov 488->481.
20
+ Row counts unchanged: 3,900 per pillar. Label sums unchanged.
21
+
22
+ Evaluation sets: no named entity detected; existing [COMPANY]/[PERSON] masks
23
+ present (env 11, soc 20, gov 6 lines). Released unchanged.
24
+
25
+ Note: the corpus retains a small number of Swahili and OCR-degraded sentences
26
+ (~18-20 Swahili and ~30-48 OCR per pillar), by design, reflecting the original
27
+ NSE reports. It is therefore not strictly English-only.
KenyaESG_evaluation_environmental.xlsx ADDED
Binary file (18.3 kB). View file
 
KenyaESG_evaluation_governance.xlsx ADDED
Binary file (18.7 kB). View file
 
KenyaESG_evaluation_social.xlsx ADDED
Binary file (22.2 kB). View file
 
KenyaESG_train_environmental.xlsx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61e29507da54ce7d7f1a39a6aa4472dacfd451eeef9350b92e0b59dd5d270201
3
+ size 374899
KenyaESG_train_governance.xlsx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e53f906f15a27b5c8b962fa741ab886fe9a5cfc5ef21fddc2746a0b20bbbd05a
3
+ size 415435
KenyaESG_train_social.xlsx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1132edbbc3844981dab7459dc735d1e465cb80d4324a287769cfd20118dc7f1
3
+ size 425238
README.md CHANGED
@@ -1,3 +1,107 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ language:
4
+ - en
5
+ - sw
6
+ task_categories:
7
+ - text-classification
8
+ tags:
9
+ - esg
10
+ - esg-disclosure
11
+ - sustainability
12
+ - finance
13
+ - nairobi-securities-exchange
14
+ - kenya
15
+ - roberta
16
+ pretty_name: KenyaESG
17
+ size_categories:
18
+ - 1K<n<10K
19
+ configs:
20
+ - config_name: environmental
21
+ data_files:
22
+ - split: train
23
+ path: train_environmental.csv
24
+ - split: test
25
+ path: eval_environmental.csv
26
+ - config_name: social
27
+ data_files:
28
+ - split: train
29
+ path: train_social.csv
30
+ - split: test
31
+ path: eval_social.csv
32
+ - config_name: governance
33
+ data_files:
34
+ - split: train
35
+ path: train_governance.csv
36
+ - split: test
37
+ path: eval_governance.csv
38
  ---
39
+
40
+ # KenyaESG: Sentence-level ESG Disclosure Classification Dataset (NSE)
41
+
42
+ Sentence-level dataset for three independent binary ESG classification tasks (Environmental, Social, Governance) built from corporate reports of firms listed on the Nairobi Securities Exchange (NSE), 2010–2024, combined with reference sentences from Schimanski et al. (2024). Companion data to the fine-tuned classifiers `josephagossa/KenyaESG-RoBERTa-{env,soc,gov}`.
43
+
44
+ ## Structure
45
+
46
+ Three configurations, one per pillar, each with a `train` and a `test` split:
47
+
48
+ ```python
49
+ from datasets import load_dataset
50
+ ds = load_dataset("josephagossa/KenyaESG", "environmental") # or "social", "governance"
51
+ ds["train"] # 3,900 sentences
52
+ ds["test"] # 100 human-annotated sentences
53
+ ```
54
+
55
+ | Config | train | test |
56
+ |---|---|---|
57
+ | environmental | 3,900 | 100 |
58
+ | social | 3,900 | 100 |
59
+ | governance | 3,900 | 100 |
60
+
61
+ The train and test sentences are disjoint (the 100 evaluation sentences per pillar were removed from training to prevent leakage). Together they reconstruct the full 4,000-sentence pool per pillar. Because the three pillars are modelled as independent binary tasks, a sentence may be positive on more than one pillar.
62
+
63
+ ## Fields
64
+
65
+ **train** splits: `id`, `text`, `label` (0/1 for the pillar), `source`.
66
+ **test** splits: `id`, `text`, `annotator_A`, `annotator_B` (two independent binary human judgments). Inter-annotator agreement (Cohen's κ): 0.94 (environmental), 0.86 (social), 0.88 (governance). Both annotations are released rather than a single adjudicated label, so users can recompute agreement and adjudicate themselves; the three evaluation samples are drawn independently per pillar (the sentences differ across pillars).
67
+
68
+ ## Companion models (performance vs. human benchmark)
69
+
70
+ | Model | Pillar | F1 | DOI |
71
+ |---|---|---|---|
72
+ | KenyaESG-RoBERTa-env | Environmental | 0.917 | 10.57967/hf/9126 |
73
+ | KenyaESG-RoBERTa-soc | Social | 0.882 | 10.57967/hf/9127 |
74
+ | KenyaESG-RoBERTa-gov | Governance | 0.916 | 10.57967/hf/9128 |
75
+
76
+ ## Sources
77
+
78
+ The `source` field distinguishes two origins. **Kenya**: sentences from annual, integrated, and sustainability reports of NSE-listed firms (2010–2024); training labels were assigned by a keyword-based filter and refined by a single-reviewer pass (not full manual annotation). **Schimanski et al. (2024)**: reference sentences from "Bridging the gap in ESG measurement" (*Finance Research Letters* 61, 104979), available under Apache-2.0.
79
+
80
+ ## Privacy and anonymization
81
+
82
+ Company and personal names are masked in the `text` field (`[COMPANY]`, `[PERSON]`) in line with the anonymisation principles of the Kenya Data Protection Act, 2019 (No. 24 of 2019) and Regulation (EU) 2016/679 (GDPR). Masking of personal names follows these principles; company names (from public filings) are masked as a precaution. Masking is semi-automatic and not guaranteed exhaustive; a small number of false-positive masks on common words (e.g. "equity", "equality", "Standard") were subsequently restored — see `correction_log.txt`. The dataset must not be used to attempt re-identification of individuals or firms.
83
+
84
+ ## Intended use and limitations
85
+
86
+ Intended for training and evaluating sentence-level ESG text classifiers. The training labels for the Kenya portion are keyword-derived and single-reviewer-checked; the test splits are the appropriate benchmark for honest performance estimates. The dataset captures disclosure *intensity*, not disclosure *quality*; sample sizes are modest. The corpus is predominantly English but retains a small number of Swahili and OCR-degraded sentences, reflecting the original NSE reports.
87
+
88
+ ## License and citation
89
+
90
+ © 2026 Joseph Agossa. The dataset compilation, structure, and annotations are licensed under Apache-2.0; the underlying verbatim report text remains under the copyright of the respective issuing companies and is included for research purposes under a fair-dealing rationale, with sources documented.
91
+
92
+ Archived on Zenodo (concept DOI, resolving to the latest version): https://doi.org/10.5281/zenodo.20608236
93
+
94
+ ```bibtex
95
+ @misc{agossa2026kenyaesg,
96
+ author = {Agossa, Joseph},
97
+ title = {KenyaESG: A Sentence-level ESG Disclosure Classification Dataset
98
+ for Nairobi Securities Exchange Corporate Reports},
99
+ year = {2026},
100
+ publisher = {Zenodo},
101
+ doi = {10.5281/zenodo.20608236}
102
+ }
103
+ ```
104
+
105
+ Working paper: Agossa, J. (2026). *Pricing the Cost of Compliance: Equity Reactions to Mandatory ESG Disclosure in Kenya.* [SSRN ID to be added].
106
+
107
+ Schema adapted from Schimanski, T., Reding, A., Reding, N., Bingler, J., Kraus, M., & Leippold, M. (2024). Bridging the gap in ESG measurement. *Finance Research Letters*, 61, 104979.