File size: 3,999 Bytes
be83b19
63e8fa4
 
 
 
 
be83b19
 
 
 
 
63e8fa4
 
 
25a6ca5
63e8fa4
be83b19
 
63e8fa4
be83b19
63e8fa4
be83b19
63e8fa4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
be83b19
25a6ca5
63e8fa4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c9d63e3
63e8fa4
 
bb15bc1
63e8fa4
 
 
 
 
be83b19
 
25a6ca5
63e8fa4
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
---
license: cc-by-4.0
task_categories:
- other
language:
- en
tags:
- cs2
- counter-strike
- esports
- demos
- game-theory
- sports-analytics
pretty_name: CounterQuant CS2 Demos
size_categories:
- 10K<n<100K
---

# CounterQuant CS2 Demos

Raw CS2 (Counter-Strike 2) demo files (.dem) collected from HLTV — the authoritative competitive CS2 demo repository.

**Curated and maintained by [Eimantas Kulbe](https://github.com/redrum88) as part of the [CounterQuant](https://cs2quant.kedevo.com) esports analytics project.**

## Dataset Goal

Provide the CS2 research community with the largest open-access collection of raw professional demo files, covering all competitive tiers from CS:GO's origin through CS2's present day.

**The philosophy:** squeeze every available demo into one place so anyone can preprocess, parse, or derive features in any way they want — no gatekeeping, no preprocessing lock-in.

## Coverage

| Tier | Description | Years | Status |
|------|-------------|-------|--------|
| T1 | Major/S-tier events (top 20 world teams) | 2024–present | Active — daily updates |
| T2 | A-tier events (top 50 teams) | 2024–present | Active — daily updates |
| T3 | B-tier / regional events | 2024–present | In progress |
| Historical | CS:GO T1/T2 (pre-2024) | 2012–2023 | Planned |

## File Structure

```
data/
  {year}/
    tier{N}/
      {match_id}/
        {map_name}.dem
```

Example:
```
data/2024/tier1/2378549/astralis-vs-natus-vincere-mirage.dem
data/2025/tier2/2401337/team-vitality-vs-g2-inferno.dem
```

## Usage

### Parse with demoparser2 (Python)

```python
from demoparser2 import DemoParser

parser = DemoParser("data/2024/tier1/2378549/astralis-vs-natus-vincere.dem")

# Player kill events
kills = parser.parse_event("player_death", player=["name", "team_name"])

# Round-by-round economy
rounds = parser.parse_ticks(["total_rounds_played", "cash_spent_t", "cash_spent_ct"])
```

### Download via huggingface_hub

```python
from huggingface_hub import snapshot_download

# Download all 2024 T1 demos
path = snapshot_download(
    repo_id="KEDevO/CounterQuant-CS2-Demos",
    repo_type="dataset",
    allow_patterns="data/2024/tier1/**",
    local_dir="./demos",
)
```

### Stream individual files

```python
from huggingface_hub import hf_hub_download

dem = hf_hub_download(
    repo_id="KEDevO/CounterQuant-CS2-Demos",
    repo_type="dataset",
    filename="data/2024/tier1/2378549/match.dem",
)
```

## What You Can Do With These Demos

- **Feature engineering**: extract round economy, positioning, utility, player rating
- **Model training**: win-probability, player rating, team strength models
- **Research**: CS2 game theory, tactical analysis, team dynamics
- **Statistics**: compute your own KDA, HLTV Rating 2.0, ADR, Impact
- **No restrictions**: raw bytes, parse however you like

## Update Schedule

New demos are added within 24–48 hours of match completion. The pipeline runs continuously across dedicated VPS infrastructure.

## Data Source

Demos sourced from [HLTV.org](https://www.hltv.org) — the official repository for professional CS2 match data. HLTV is the authoritative source for all competitive CS2/CS:GO results and replays.

## Citation

If you use this dataset in research, please cite:

```bibtex
@dataset{kulbe2026counterquant,
  author    = {Eimantas Kulbe},
  title     = {CounterQuant CS2 Demos},
  year      = {2026},
  publisher = {HuggingFace},
  url       = {https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Demos},
  note      = {Continuously updated professional CS2 demo dataset, all tiers, T1/T2/T3}
}
```

## License

[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) — use freely with attribution to Eimantas Kulbe / CounterQuant.

## Related Resources

- [CounterQuant Platform](https://cs2quant.kedevo.com) — live CS2 analytics dashboard
- [CounterQuant Bronze Dataset](https://huggingface.co/datasets/KEDevO/CounterQuant-Bronze) — structured match/player/team data (JSON/Parquet)