Update README.md
Browse files
README.md
CHANGED
|
@@ -13,124 +13,142 @@ tags:
|
|
| 13 |
- sports-analytics
|
| 14 |
pretty_name: CounterQuant CS2 Demos
|
| 15 |
size_categories:
|
| 16 |
-
-
|
| 17 |
---
|
| 18 |
|
|
|
|
| 19 |
# CounterQuant CS2 Demos
|
| 20 |
|
| 21 |
-
Raw CS2 (Counter-Strike 2) demo files (.dem) collected from HLTV — the
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
## Dataset Goal
|
| 26 |
|
| 27 |
-
Provide the
|
| 28 |
|
| 29 |
-
**
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|------|-------------|-------|--------|
|
| 35 |
-
| T1 | Major/S-tier events (top 20 world teams) | 2024–present | Active — daily updates |
|
| 36 |
-
| T2 | A-tier events (top 50 teams) | 2024–present | Active — daily updates |
|
| 37 |
-
| T3 | B-tier / regional events | 2024–present | In progress |
|
| 38 |
-
| Historical | CS:GO T1/T2 (pre-2024) | 2012–2023 | Planned |
|
| 39 |
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
-
|
| 43 |
-
data/
|
| 44 |
-
{year}/
|
| 45 |
-
tier{N}/
|
| 46 |
-
{match_id}/
|
| 47 |
-
{map_name}.dem
|
| 48 |
-
```
|
| 49 |
-
|
| 50 |
-
Example:
|
| 51 |
-
```
|
| 52 |
-
data/2024/tier1/2378549/astralis-vs-natus-vincere-mirage.dem
|
| 53 |
-
data/2025/tier2/2401337/team-vitality-vs-g2-inferno.dem
|
| 54 |
-
```
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
##
|
| 59 |
|
| 60 |
-
```
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
-
|
|
|
|
| 64 |
|
| 65 |
-
|
| 66 |
-
kills = parser.parse_event("player_death", player=["name", "team_name"])
|
| 67 |
|
| 68 |
-
#
|
| 69 |
-
rounds = parser.parse_ticks(["total_rounds_played", "cash_spent_t", "cash_spent_ct"])
|
| 70 |
-
```
|
| 71 |
|
| 72 |
-
### Download
|
| 73 |
|
| 74 |
```python
|
| 75 |
from huggingface_hub import snapshot_download
|
| 76 |
|
| 77 |
-
# Download
|
| 78 |
path = snapshot_download(
|
| 79 |
repo_id="KEDevO/CounterQuant-CS2-Demos",
|
| 80 |
repo_type="dataset",
|
| 81 |
-
allow_patterns="data/
|
| 82 |
-
local_dir="./
|
|
|
|
| 83 |
)
|
| 84 |
```
|
| 85 |
|
| 86 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
```python
|
| 89 |
from huggingface_hub import hf_hub_download
|
| 90 |
|
| 91 |
-
|
| 92 |
repo_id="KEDevO/CounterQuant-CS2-Demos",
|
| 93 |
-
|
| 94 |
-
|
| 95 |
)
|
| 96 |
```
|
| 97 |
|
| 98 |
-
|
|
|
|
|
|
|
| 99 |
|
| 100 |
-
-
|
| 101 |
-
-
|
| 102 |
-
-
|
| 103 |
-
-
|
| 104 |
-
-
|
|
|
|
| 105 |
|
| 106 |
-
|
| 107 |
|
| 108 |
-
|
| 109 |
|
| 110 |
-
|
| 111 |
|
| 112 |
-
|
| 113 |
|
| 114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
|
| 116 |
-
|
|
|
|
|
|
|
| 117 |
|
| 118 |
```bibtex
|
| 119 |
@dataset{kulbe2026counterquant,
|
| 120 |
author = {Eimantas Kulbe},
|
| 121 |
title = {CounterQuant CS2 Demos},
|
| 122 |
year = {2026},
|
| 123 |
-
publisher = {
|
| 124 |
url = {https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Demos},
|
| 125 |
-
note = {Continuously updated professional CS2 demo
|
| 126 |
}
|
| 127 |
```
|
| 128 |
|
| 129 |
## License
|
| 130 |
|
| 131 |
-
|
| 132 |
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
- [CounterQuant Platform](https://cs2quant.kedevo.com) — live CS2 analytics dashboard
|
| 136 |
-
- [CounterQuant Bronze Dataset](https://huggingface.co/datasets/KEDevO/CounterQuant-Bronze) — structured match/player/team data (JSON/Parquet)
|
|
|
|
| 13 |
- sports-analytics
|
| 14 |
pretty_name: CounterQuant CS2 Demos
|
| 15 |
size_categories:
|
| 16 |
+
- n>1T
|
| 17 |
---
|
| 18 |
|
| 19 |
+
---
|
| 20 |
# CounterQuant CS2 Demos
|
| 21 |
|
| 22 |
+
**Raw professional CS2 (Counter-Strike 2) demo files (.dem)** collected from HLTV.org — the largest open collection of competitive CS2 demos.
|
| 23 |
+
|
| 24 |
+
**Curated and maintained by Eimantas Kulbe (KEDevO)** as part of the [CounterQuant](https://cs2quant.kedevo.com) esports analytics project.
|
| 25 |
|
| 26 |
+
---
|
| 27 |
|
| 28 |
## Dataset Goal
|
| 29 |
|
| 30 |
+
Provide the research and analytics community with **the most complete open-access archive** of professional CS2 demo files.
|
| 31 |
|
| 32 |
+
**Philosophy**: No gatekeeping. Raw demos only — parse and derive features however you want.
|
| 33 |
|
| 34 |
+
---
|
| 35 |
|
| 36 |
+
## 📊 Current Coverage (as of May 2026)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
+
| Tier | Description | Years | Status | Approx. Size |
|
| 39 |
+
|------|--------------------------------------|-------------|-------------------------|--------------|
|
| 40 |
+
| T1 | Majors & S-tier (Top 20) | 2024–present | Active — daily updates | ~XX TB |
|
| 41 |
+
| T2 | A-tier (Top 50) | 2024–present | Active — daily updates | ~XX TB |
|
| 42 |
+
| T3 | B-tier & Regional | 2024–present | In progress | Growing |
|
| 43 |
+
| Historical | CS:GO T1/T2 | 2012–2023 | Planned | — |
|
| 44 |
|
| 45 |
+
**Total Dataset Size**: **3.74 TB+** and continuously growing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
---
|
| 48 |
|
| 49 |
+
## File Structure
|
| 50 |
|
| 51 |
+
```bash
|
| 52 |
+
data/
|
| 53 |
+
├── 2024/
|
| 54 |
+
│ ├── tier1/
|
| 55 |
+
│ │ └── {match_id}/
|
| 56 |
+
│ │ └── {map_name}.dem
|
| 57 |
+
│ └── tier2/
|
| 58 |
+
├── 2025/
|
| 59 |
+
│ ├── tier1/
|
| 60 |
+
│ └── tier2/
|
| 61 |
+
└── ...
|
| 62 |
+
```
|
| 63 |
|
| 64 |
+
**Example**:
|
| 65 |
+
- `data/2025/tier1/2401337/vitality-vs-g2-inferno.dem`
|
| 66 |
|
| 67 |
+
---
|
|
|
|
| 68 |
|
| 69 |
+
## Quick Usage
|
|
|
|
|
|
|
| 70 |
|
| 71 |
+
### 1. Download specific tiers/years (Recommended)
|
| 72 |
|
| 73 |
```python
|
| 74 |
from huggingface_hub import snapshot_download
|
| 75 |
|
| 76 |
+
# Download only 2025 Tier 1 demos
|
| 77 |
path = snapshot_download(
|
| 78 |
repo_id="KEDevO/CounterQuant-CS2-Demos",
|
| 79 |
repo_type="dataset",
|
| 80 |
+
allow_patterns="data/2025/tier1/**",
|
| 81 |
+
local_dir="./cs2_demos",
|
| 82 |
+
# resume_download=True
|
| 83 |
)
|
| 84 |
```
|
| 85 |
|
| 86 |
+
### 2. Parse demos with demoparser2
|
| 87 |
+
|
| 88 |
+
```python
|
| 89 |
+
from demoparser2 import DemoParser
|
| 90 |
+
|
| 91 |
+
parser = DemoParser("data/2025/tier1/2401337/vitality-vs-g2-inferno.dem")
|
| 92 |
+
|
| 93 |
+
kills = parser.parse_event("player_death")
|
| 94 |
+
rounds = parser.parse_ticks(["total_rounds_played", "cash_spent_t", "cash_spent_ct"])
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
### 3. Download single file
|
| 98 |
|
| 99 |
```python
|
| 100 |
from huggingface_hub import hf_hub_download
|
| 101 |
|
| 102 |
+
hf_hub_download(
|
| 103 |
repo_id="KEDevO/CounterQuant-CS2-Demos",
|
| 104 |
+
filename="data/2025/tier1/2401337/vitality-vs-g2-inferno.dem",
|
| 105 |
+
repo_type="dataset"
|
| 106 |
)
|
| 107 |
```
|
| 108 |
|
| 109 |
+
---
|
| 110 |
+
|
| 111 |
+
## What You Can Build With This Dataset
|
| 112 |
|
| 113 |
+
- Advanced player/team feature engineering
|
| 114 |
+
- Win-probability & clutch models
|
| 115 |
+
- Chemistry / synergy metrics
|
| 116 |
+
- Utility usage & positioning analysis
|
| 117 |
+
- Custom rating systems (better than HLTV Rating 2.0)
|
| 118 |
+
- Tactical & game-theory research
|
| 119 |
|
| 120 |
+
---
|
| 121 |
|
| 122 |
+
## Update Policy
|
| 123 |
|
| 124 |
+
New demos are added **within 24–48 hours** after match completion. The ingestion pipeline runs 24/7.
|
| 125 |
|
| 126 |
+
**Last updated**: May 20, 2026
|
| 127 |
|
| 128 |
+
---
|
| 129 |
+
|
| 130 |
+
## Related Datasets
|
| 131 |
+
|
| 132 |
+
- **[CounterQuant Bronze](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Bronze)** — Structured Parquet/JSON version (recommended for most users)
|
| 133 |
+
- [CounterQuant Platform](https://counterquant.com) — Live analytics dashboard
|
| 134 |
|
| 135 |
+
---
|
| 136 |
+
|
| 137 |
+
## Citation
|
| 138 |
|
| 139 |
```bibtex
|
| 140 |
@dataset{kulbe2026counterquant,
|
| 141 |
author = {Eimantas Kulbe},
|
| 142 |
title = {CounterQuant CS2 Demos},
|
| 143 |
year = {2026},
|
| 144 |
+
publisher = {Hugging Face},
|
| 145 |
url = {https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Demos},
|
| 146 |
+
note = {Continuously updated raw professional CS2 demo collection}
|
| 147 |
}
|
| 148 |
```
|
| 149 |
|
| 150 |
## License
|
| 151 |
|
| 152 |
+
**CC BY 4.0** — Free to use with attribution to Eimantas Kulbe / CounterQuant.
|
| 153 |
|
| 154 |
+
---
|
|
|
|
|
|
|
|
|