windchimeran commited on
Commit
3a2e03b
·
verified ·
1 Parent(s): a0f1514

Add GMRID v3 dataset (train + test splits) with categories and dataset card

Browse files
Files changed (4) hide show
  1. GMRID_v3-test.csv +0 -0
  2. GMRID_v3-train.csv +0 -0
  3. README.md +150 -0
  4. categories.json +128 -0
GMRID_v3-test.csv ADDED
The diff for this file is too large to render. See raw diff
 
GMRID_v3-train.csv ADDED
The diff for this file is too large to render. See raw diff
 
README.md ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: other
5
+ license_name: unknown
6
+ license_link: https://github.com/inflaton/llms-at-edge
7
+ task_categories:
8
+ - text-classification
9
+ task_ids:
10
+ - multi-class-classification
11
+ pretty_name: "GMRID v3: Global Maritime and Supply-Chain Risk Intelligence Dataset"
12
+ size_categories:
13
+ - 1K<n<10K
14
+ tags:
15
+ - supply-chain
16
+ - logistics
17
+ - news-classification
18
+ - disruption-detection
19
+ source_datasets: []
20
+ dataset_info:
21
+ features:
22
+ - name: id
23
+ dtype: int64
24
+ - name: Headline
25
+ dtype: string
26
+ - name: Details
27
+ dtype: string
28
+ - name: Severity
29
+ dtype: string
30
+ - name: Region
31
+ dtype: string
32
+ - name: Datetime
33
+ dtype: string
34
+ - name: lat
35
+ dtype: string
36
+ - name: lon
37
+ dtype: string
38
+ - name: maritime_label
39
+ dtype: string
40
+ - name: found_ports
41
+ dtype: string
42
+ - name: contains_port_info
43
+ dtype: string
44
+ - name: if_labeled
45
+ dtype: string
46
+ - name: Headline_Details
47
+ dtype: string
48
+ - name: Year
49
+ dtype: int64
50
+ - name: Month
51
+ dtype: int64
52
+ - name: Week
53
+ dtype: int64
54
+ - name: Details_cleaned
55
+ dtype: string
56
+ - name: Category
57
+ dtype: string
58
+ - name: Summarized_label
59
+ dtype: string
60
+ - name: gpt-4o_label
61
+ dtype: string
62
+ splits:
63
+ - name: train
64
+ num_examples: 4594
65
+ - name: test
66
+ num_examples: 1147
67
+ configs:
68
+ - config_name: default
69
+ data_files:
70
+ - split: train
71
+ path: GMRID_v3-train.csv
72
+ - split: test
73
+ path: GMRID_v3-test.csv
74
+ ---
75
+
76
+ # GMRID v3: Global Maritime and Supply-Chain Risk Intelligence Dataset
77
+
78
+ **All authorship and attribution belong to the original creators.** This is a mirror of the dataset from [inflaton/llms-at-edge](https://github.com/inflaton/llms-at-edge) hosted on Hugging Face for accessibility. The original repository does not specify a license; please contact the authors for licensing terms before commercial use.
79
+
80
+ ## Overview
81
+
82
+ GMRID v3 is a supply-chain disruption news classification dataset. Each row is a real-world incident report (headline + details) labeled with one of 8 disruption categories. The dataset was introduced in:
83
+
84
+ > **LLMs at the Edge: Performance and Efficiency Evaluation with Ollama on Diverse Hardware**
85
+ > IJCNN 2025 (Paper ID: 1443)
86
+ > GitHub: [inflaton/llms-at-edge](https://github.com/inflaton/llms-at-edge)
87
+
88
+ ## Task
89
+
90
+ Single-label classification into 8 categories:
91
+
92
+ | Category | Train | Test |
93
+ |---|---|---|
94
+ | Weather | — | 366 |
95
+ | Administrative Issue | — | 333 |
96
+ | Accident | — | 191 |
97
+ | Worker Strike | — | 178 |
98
+ | Terrorism | — | 60 |
99
+ | Human Error | — | 9 |
100
+ | Others | — | 5 |
101
+ | Cyber Attack | — | 4 |
102
+
103
+ The label column is `Summarized_label`. A finer-grained `Category` column provides subcategories (e.g., "Flooding" under Weather, "Port Congestion" under Administrative Issue). The mapping is defined in `categories.json`.
104
+
105
+ ## Splits
106
+
107
+ | Split | Rows |
108
+ |---|---|
109
+ | Train | 4,594 |
110
+ | Test | 1,147 |
111
+
112
+ ## Columns
113
+
114
+ | Column | Description |
115
+ |---|---|
116
+ | `id` | Unique row identifier |
117
+ | `Headline` | Short incident headline |
118
+ | `Details` | Full incident description |
119
+ | `Severity` | Severity level (Critical, Moderate, etc.) |
120
+ | `Region` | Geographic region |
121
+ | `Datetime` | Incident timestamp |
122
+ | `lat`, `lon` | Coordinates (when available) |
123
+ | `maritime_label` | Whether the incident is maritime-related |
124
+ | `found_ports` | Ports mentioned in the text |
125
+ | `contains_port_info` | Boolean: port info present |
126
+ | `if_labeled` | Whether the row was manually labeled |
127
+ | `Headline_Details` | Concatenated headline + details |
128
+ | `Year`, `Month`, `Week` | Temporal features |
129
+ | `Details_cleaned` | Preprocessed/cleaned details text |
130
+ | `Category` | Fine-grained incident category |
131
+ | `Summarized_label` | Coarse 8-class label (primary target) |
132
+ | `gpt-4o_label` | GPT-4o predicted label (for reference) |
133
+
134
+ ## Evaluation Metric
135
+
136
+ Per the original paper: **weighted F1** over the 8-class `Summarized_label`. Macro-F1, exact-match, and per-class P/R/F1 are also commonly reported.
137
+
138
+ ## Citation
139
+
140
+ If you use this dataset, please cite the original work:
141
+
142
+ ```bibtex
143
+ @inproceedings{llms_at_edge_2025,
144
+ title={LLMs at the Edge: Performance and Efficiency Evaluation with Ollama on Diverse Hardware},
145
+ booktitle={International Joint Conference on Neural Networks (IJCNN)},
146
+ year={2025},
147
+ note={Paper ID: 1443},
148
+ url={https://github.com/inflaton/llms-at-edge}
149
+ }
150
+ ```
categories.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Weather": [
3
+ "Flooding",
4
+ "Severe Winds",
5
+ "Weather Advisory",
6
+ "Tropical Cyclone",
7
+ "Storm",
8
+ "Ice Storm",
9
+ "Earthquake",
10
+ "Tornado",
11
+ "Typhoon",
12
+ "Landslide",
13
+ "Water",
14
+ "Hurricane",
15
+ "Wildfire",
16
+ "Blizzard",
17
+ "Hail"
18
+ ],
19
+ "Worker Strike": [
20
+ "Mine Workers Strike",
21
+ "Production Halt",
22
+ "Protest",
23
+ "Riot",
24
+ "Port Strike",
25
+ "General Strike",
26
+ "Civil Service Strike",
27
+ "Civil Unrest Advisory",
28
+ "Cargo Transportation Strike",
29
+ "Energy Sector Strike"
30
+ ],
31
+ "Administrative Issue": [
32
+ "Port Congestion",
33
+ "Police Operations",
34
+ "Roadway Closure",
35
+ "Disruption",
36
+ "Cargo",
37
+ "Industrial Action",
38
+ "Port Disruption",
39
+ "Cargo Disruption",
40
+ "Power Outage",
41
+ "Port Closure",
42
+ "Maritime Advisory",
43
+ "Train Delays",
44
+ "Ground Transportation Advisory",
45
+ "Public Transportation Disruption",
46
+ "Trade Regulation",
47
+ "Customs Regulation",
48
+ "Regulatory Advisory",
49
+ "Industry Directives",
50
+ "Security Advisory",
51
+ "Public Holidays",
52
+ "Customs Delay",
53
+ "Public Health Advisory",
54
+ "Detention",
55
+ "Aviation Advisory",
56
+ "Waterway Closure",
57
+ "Plant Closure",
58
+ "Border Closure",
59
+ "Delay",
60
+ "Industrial zone shutdown",
61
+ "Trade Restrictions",
62
+ "Closure",
63
+ "Truck Driving Ban",
64
+ "Insolvency",
65
+ "Environmental Regulations",
66
+ "Postal Disruption",
67
+ "Travel Warning"
68
+ ],
69
+ "Human Error": [
70
+ "Workplace Accident",
71
+ "Individuals in Focus",
72
+ "Military Operations",
73
+ "Flight Delays",
74
+ "Cancellations",
75
+ "Political Info",
76
+ "Political Event"
77
+ ],
78
+ "Cyber Attack": [
79
+ "Network Disruption",
80
+ "Ransomware",
81
+ "Data breach",
82
+ "Phishing"
83
+ ],
84
+ "Terrorism": [
85
+ "Bombing",
86
+ "Warehouse Theft",
87
+ "Public Safety",
88
+ "Security",
89
+ "Organized Crime",
90
+ "Piracy",
91
+ "Kidnap",
92
+ "Shooting",
93
+ "Robbery",
94
+ "Cargo theft",
95
+ "Bomb Detonation",
96
+ "Terror Attack",
97
+ "Outbreak Of War",
98
+ "Militant Action"
99
+ ],
100
+ "Accident": [
101
+ "Hazmat Response",
102
+ "Maritime Accident",
103
+ "Vehicle Accident",
104
+ "Death",
105
+ "Injury",
106
+ "Non-industrial Fire",
107
+ "Chemical Spill",
108
+ "Industrial Fire",
109
+ "Fuel Disruption",
110
+ "Airline Incident",
111
+ "Crash",
112
+ "Explosion",
113
+ "Train Accident",
114
+ "Derailment",
115
+ "Sewage Disruption",
116
+ "Barge Accident",
117
+ "Bridge Collapse",
118
+ "Structure Collapse",
119
+ "Airport Accident",
120
+ "Force Majeure",
121
+ "Telecom Outage"
122
+ ],
123
+ "Others": [
124
+ "Miscellaneous Events",
125
+ "Miscellaneous Strikes",
126
+ "Outbreak of disease"
127
+ ]
128
+ }