MapleBi commited on
Commit
8783169
·
verified ·
1 Parent(s): 4bf07d2

Upload folder using huggingface_hub

Browse files
Files changed (8) hide show
  1. .gitattributes +2 -0
  2. README.md +34 -3
  3. all.jsonl +3 -0
  4. candidate_labels.txt +60 -0
  5. dataset.csv +0 -0
  6. stats.json +97 -0
  7. taxonomy.json +95 -0
  8. test.jsonl +3 -0
.gitattributes CHANGED
@@ -58,3 +58,5 @@ 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
+ all.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ test.jsonl filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,34 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Zero-Shot Hierarchical Text Classification Dataset
2
+
3
+ This dataset is prepared from the consolidated climate change solution extraction results.
4
+
5
+ ## Task
6
+
7
+ Zero-shot hierarchical multi-label text classification. Each example contains:
8
+
9
+ - `text`: classification input text built from solution details and document context.
10
+ - `label_paths`: one or more hierarchical labels, e.g. `Long-term -> Mitigation and clean energy -> Pollution control and clean energy promotion`.
11
+ - `solution_detail_items`: normalized `solution_details` items with their mapped label paths.
12
+ - `labels`: flattened labels for models that do not consume paths directly.
13
+ - `metadata`: city, country, text type, actor, climate event, source URL, and raw labels.
14
+
15
+ ## Files
16
+
17
+ - `test.jsonl`: all evaluation examples for zero-shot classification.
18
+ - `all.jsonl`: same examples as `test.jsonl`, provided as a neutral full dataset file.
19
+ - `dataset.csv`: tabular version for quick inspection.
20
+ - `taxonomy.json`: normalized phase/domain/category hierarchy for both `solution` and `solution_details`.
21
+ - `candidate_labels.txt`: flat candidate label list.
22
+ - `stats.json`: dataset statistics and unmapped source labels.
23
+
24
+ ## Statistics
25
+
26
+ - Source file: `consolidated_results_1022_events.csv`
27
+ - Total examples: `2083`
28
+ - Parent labels: `2`
29
+ - Domain labels: `8`
30
+ - Leaf labels: `50`
31
+
32
+ ## Suggested Zero-Shot Usage
33
+
34
+ Use `taxonomy.json` as the candidate label space. For hierarchical prediction, first predict the phase (`Long-term` or `Short-term`), then the solution domain, then restrict final category candidates to that branch. For models that support multi-label classification directly, evaluate against `label_paths` or the flattened `labels` field.
all.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:349295f20a35849bf601f372696152da1a73fd244470391e44e65ef2c03d3fca
3
+ size 11112783
candidate_labels.txt ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Long-term
2
+ Short-term
3
+ Land use and urban planning
4
+ Infrastructure and utilities
5
+ Ecosystems, agriculture, and industry resilience
6
+ Mitigation and clean energy
7
+ Governance, planning, and finance
8
+ Knowledge, monitoring, and capacity building
9
+ Emergency response and recovery
10
+ Public health and social protection
11
+ Low-risk land use plan and core function
12
+ High-risk area construction control
13
+ Green infrastructure distribution
14
+ Hazard defense and protection infrastructure (e.g., barrier, flood wall, sea wall)
15
+ Emergency shelter construction
16
+ Resilient communication and transportation system (road, airport, etc.)
17
+ Resilient utility supply system (water, gas, electronic)
18
+ Infrastructure routine maintenance
19
+ Forestry & reforestation
20
+ Biodiversity conservation
21
+ Industrial carbon reduction
22
+ Low-carbon transportation system
23
+ Pollution control and clean energy promotion
24
+ Climate-smart agriculture / climate-resilient agriculture
25
+ Resilient industry
26
+ Specific organizations establishment
27
+ Public funds
28
+ Private investment
29
+ Long-term adaptation plan establishment and improvement
30
+ Immediate disaster operation plan establishment and improvement
31
+ Data collection and database establishment
32
+ Early warning system testing and territory-wide coverage
33
+ Scientific research support and technology innovation
34
+ Satellites technology support for large-scale data monitoring
35
+ Research on urban resilience and disaster risk
36
+ Dissemination and international collaboration
37
+ Safety and disaster preparedness education
38
+ Regular disaster evacuation drills
39
+ Local official crisis management training
40
+ Weather and hazard data monitoring, analysis, and forecasting
41
+ Emergency warning and public alerts
42
+ Real-time updates and information transparency
43
+ Emergency rescue and volunteer deployment
44
+ Emergency relief supplies and aid distribution
45
+ Personnel evacuation and shelter
46
+ Care for vulnerable groups
47
+ Gender equality in emergency management
48
+ Mental health and psychological support
49
+ Short-term emergency infrastructure construction and retrofitting
50
+ Lifeline management and supply guarantee (water, electricity, gas)
51
+ Sanitation management
52
+ Waste management
53
+ Eliminate pests
54
+ Prevent chemical contamination
55
+ Infrastructure damage reporting and emergency repair
56
+ Government emergency and quick response funding
57
+ Financial assistance for reconstruction support
58
+ Society donation management
59
+ Traveler advisories and transport management
60
+ Suspension of activities and public advisories
dataset.csv ADDED
The diff for this file is too large to render. See raw diff
 
stats.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source_file": "consolidated_results_1022_events.csv",
3
+ "total_examples": 2083,
4
+ "taxonomy": {
5
+ "parent_label_count": 2,
6
+ "domain_label_count": 8,
7
+ "leaf_label_count": 50
8
+ },
9
+ "parent_label_distribution": {
10
+ "Long-term": 5281,
11
+ "Short-term": 1196
12
+ },
13
+ "domain_label_distribution": {
14
+ "Knowledge, monitoring, and capacity building": 2819,
15
+ "Mitigation and clean energy": 1117,
16
+ "Ecosystems, agriculture, and industry resilience": 617,
17
+ "Governance, planning, and finance": 605,
18
+ "Infrastructure and utilities": 582,
19
+ "Land use and urban planning": 328,
20
+ "Emergency response and recovery": 313,
21
+ "Public health and social protection": 95
22
+ },
23
+ "top_20_leaf_labels": {
24
+ "Pollution control and clean energy promotion": 682,
25
+ "Dissemination and international collaboration": 677,
26
+ "Scientific research support and technology innovation": 596,
27
+ "Research on urban resilience and disaster risk": 345,
28
+ "Safety and disaster preparedness education": 331,
29
+ "Green infrastructure distribution": 246,
30
+ "Low-carbon transportation system": 221,
31
+ "Climate-smart agriculture / climate-resilient agriculture": 219,
32
+ "Weather and hazard data monitoring, analysis, and forecasting": 217,
33
+ "Industrial carbon reduction": 214,
34
+ "Long-term adaptation plan establishment and improvement": 194,
35
+ "Biodiversity conservation": 178,
36
+ "Forestry & reforestation": 173,
37
+ "Emergency warning and public alerts": 126,
38
+ "Infrastructure routine maintenance": 124,
39
+ "Resilient utility supply system (water, gas, electronic)": 108,
40
+ "Local official crisis management training": 104,
41
+ "Hazard defense and protection infrastructure (e.g., barrier, flood wall, sea wall)": 103,
42
+ "Public funds": 99,
43
+ "Real-time updates and information transparency": 99
44
+ },
45
+ "solution_details_label_source_distribution": {
46
+ "keyword_or_alias": 3830,
47
+ "inherited_record_solutions": 2379
48
+ },
49
+ "top_20_text_types": {
50
+ "news article": 738,
51
+ "News Article": 244,
52
+ "Report": 143,
53
+ "report": 99,
54
+ "Policy Document": 85,
55
+ "News article": 72,
56
+ "policy document": 72,
57
+ "Webpage": 49,
58
+ "Analysis": 30,
59
+ "Press Release": 27,
60
+ "webpage": 27,
61
+ "Policy document": 21,
62
+ "Research Article": 16,
63
+ "Project description": 15,
64
+ "Case Study": 14,
65
+ "Climate Action Plan": 12,
66
+ "Analysis piece": 11,
67
+ "Article": 11,
68
+ "PDF Document": 9,
69
+ "Website": 8
70
+ },
71
+ "top_20_countries": {
72
+ "Japan": 385,
73
+ "United States": 211,
74
+ "China": 165,
75
+ "Indonesia": 85,
76
+ "India": 85,
77
+ "North Korea": 80,
78
+ "United Kingdom": 76,
79
+ "South Korea": 57,
80
+ "Australia": 55,
81
+ "Philippines": 54,
82
+ "Spain": 48,
83
+ "Argentina": 37,
84
+ "Thailand": 36,
85
+ "Canada": 30,
86
+ "Malaysia": 29,
87
+ "Portugal": 29,
88
+ "Italy": 28,
89
+ "Nigeria": 28,
90
+ "Kuwait": 25,
91
+ "Brazil": 24
92
+ },
93
+ "duplicates": {
94
+ "duplicates_skipped": 7
95
+ },
96
+ "top_50_unmapped_source_labels": {}
97
+ }
taxonomy.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "zero-shot hierarchical multi-label text classification",
3
+ "root": "Climate change solution",
4
+ "levels": [
5
+ "phase",
6
+ "solution_domain",
7
+ "solution_category"
8
+ ],
9
+ "hierarchy": {
10
+ "Long-term": {
11
+ "Land use and urban planning": [
12
+ "Low-risk land use plan and core function",
13
+ "High-risk area construction control",
14
+ "Green infrastructure distribution"
15
+ ],
16
+ "Infrastructure and utilities": [
17
+ "Hazard defense and protection infrastructure (e.g., barrier, flood wall, sea wall)",
18
+ "Emergency shelter construction",
19
+ "Resilient communication and transportation system (road, airport, etc.)",
20
+ "Resilient utility supply system (water, gas, electronic)",
21
+ "Infrastructure routine maintenance"
22
+ ],
23
+ "Ecosystems, agriculture, and industry resilience": [
24
+ "Forestry & reforestation",
25
+ "Biodiversity conservation",
26
+ "Climate-smart agriculture / climate-resilient agriculture",
27
+ "Resilient industry"
28
+ ],
29
+ "Mitigation and clean energy": [
30
+ "Industrial carbon reduction",
31
+ "Low-carbon transportation system",
32
+ "Pollution control and clean energy promotion"
33
+ ],
34
+ "Governance, planning, and finance": [
35
+ "Specific organizations establishment",
36
+ "Public funds",
37
+ "Private investment",
38
+ "Long-term adaptation plan establishment and improvement",
39
+ "Immediate disaster operation plan establishment and improvement"
40
+ ],
41
+ "Knowledge, monitoring, and capacity building": [
42
+ "Data collection and database establishment",
43
+ "Early warning system testing and territory-wide coverage",
44
+ "Scientific research support and technology innovation",
45
+ "Satellites technology support for large-scale data monitoring",
46
+ "Research on urban resilience and disaster risk",
47
+ "Dissemination and international collaboration",
48
+ "Safety and disaster preparedness education",
49
+ "Regular disaster evacuation drills",
50
+ "Local official crisis management training"
51
+ ]
52
+ },
53
+ "Short-term": {
54
+ "Infrastructure and utilities": [
55
+ "Short-term emergency infrastructure construction and retrofitting",
56
+ "Lifeline management and supply guarantee (water, electricity, gas)",
57
+ "Infrastructure damage reporting and emergency repair"
58
+ ],
59
+ "Governance, planning, and finance": [
60
+ "Government emergency and quick response funding",
61
+ "Financial assistance for reconstruction support",
62
+ "Society donation management",
63
+ "Suspension of activities and public advisories"
64
+ ],
65
+ "Knowledge, monitoring, and capacity building": [
66
+ "Weather and hazard data monitoring, analysis, and forecasting",
67
+ "Emergency warning and public alerts",
68
+ "Real-time updates and information transparency"
69
+ ],
70
+ "Emergency response and recovery": [
71
+ "Emergency rescue and volunteer deployment",
72
+ "Emergency relief supplies and aid distribution",
73
+ "Personnel evacuation and shelter",
74
+ "Sanitation management",
75
+ "Waste management",
76
+ "Eliminate pests",
77
+ "Prevent chemical contamination",
78
+ "Traveler advisories and transport management"
79
+ ],
80
+ "Public health and social protection": [
81
+ "Care for vulnerable groups",
82
+ "Gender equality in emergency management",
83
+ "Mental health and psychological support"
84
+ ]
85
+ }
86
+ },
87
+ "solution_details_classification": {
88
+ "unit": "semicolon-separated item in solution_details",
89
+ "method": "Each detail item is mapped to the same phase/domain/category taxonomy with alias and keyword rules; if only one solution category exists for a record, unmatched detail items inherit that single category."
90
+ },
91
+ "label_descriptions": {
92
+ "Long-term": "Sustained resilience, adaptive capacity building, mitigation, and systemic risk reduction.",
93
+ "Short-term": "Immediate response, emergency relief, and rapid recovery after a disaster event."
94
+ }
95
+ }
test.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:349295f20a35849bf601f372696152da1a73fd244470391e44e65ef2c03d3fca
3
+ size 11112783