Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- event-prediction
|
| 5 |
+
- temporal-point-process
|
| 6 |
+
- supply-chain
|
| 7 |
+
- universal-event-grammar
|
| 8 |
+
datasets:
|
| 9 |
+
- custom
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
pipeline_tag: other
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# DVCE Event Grammar Model
|
| 16 |
+
|
| 17 |
+
**Universal Event Grammar Model** — predicts the next event in any sequential system.
|
| 18 |
+
|
| 19 |
+
Trained on 1.3M+ real-world events across 30+ domains.
|
| 20 |
+
|
| 21 |
+
## What it does
|
| 22 |
+
|
| 23 |
+
Given a sequence of past events, predicts:
|
| 24 |
+
1. **What** happens next (291 event types)
|
| 25 |
+
2. **When** it happens (inter-event time)
|
| 26 |
+
3. **How severe** (0-1 severity score)
|
| 27 |
+
|
| 28 |
+
## Domains trained on
|
| 29 |
+
|
| 30 |
+
Geopolitics (GDELT), earthquakes (USGS), sports (StatsBomb), commodities,
|
| 31 |
+
cybersecurity, weather, clinical trials, logistics, financial markets,
|
| 32 |
+
manufacturing, healthcare, e-commerce, energy grid, IT incidents,
|
| 33 |
+
DeFi/blockchain, agriculture, construction, and more.
|
| 34 |
+
|
| 35 |
+
## Architecture
|
| 36 |
+
|
| 37 |
+
- Transformer Decoder (GPT-style)
|
| 38 |
+
- d_model=256, n_layers=4, n_heads=8
|
| 39 |
+
- 4.5M parameters
|
| 40 |
+
- Continuous time encoding
|
| 41 |
+
- Multi-task output (type + time + severity)
|
| 42 |
+
|
| 43 |
+
## Usage
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
## Training
|
| 48 |
+
|
| 49 |
+
- 1.3M events from 30+ domains
|
| 50 |
+
- 100 epochs on balanced dataset with domain tokens
|
| 51 |
+
- Trained on AWS SageMaker (g5.xlarge)
|
| 52 |
+
- Total training cost: ~
|
| 53 |
+
|
| 54 |
+
## License
|
| 55 |
+
|
| 56 |
+
MIT
|