Unit293 commited on
Commit
a0c3f5d
·
verified ·
1 Parent(s): 87e6ec2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +81 -63
README.md CHANGED
@@ -13,124 +13,142 @@ tags:
13
  - sports-analytics
14
  pretty_name: CounterQuant CS2 Demos
15
  size_categories:
16
- - 10K<n<100K
17
  ---
18
 
 
19
  # CounterQuant CS2 Demos
20
 
21
- Raw CS2 (Counter-Strike 2) demo files (.dem) collected from HLTV — the authoritative competitive CS2 demo repository.
 
 
22
 
23
- **Curated and maintained by [Eimantas Kulbe](https://github.com/redrum88) as part of the [CounterQuant](https://cs2quant.kedevo.com) esports analytics project.**
24
 
25
  ## Dataset Goal
26
 
27
- 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.
28
 
29
- **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.
30
 
31
- ## Coverage
32
 
33
- | Tier | Description | Years | Status |
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
- ## File Structure
 
 
 
 
 
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
- ## Usage
57
 
58
- ### Parse with demoparser2 (Python)
59
 
60
- ```python
61
- from demoparser2 import DemoParser
 
 
 
 
 
 
 
 
 
 
62
 
63
- parser = DemoParser("data/2024/tier1/2378549/astralis-vs-natus-vincere.dem")
 
64
 
65
- # Player kill events
66
- kills = parser.parse_event("player_death", player=["name", "team_name"])
67
 
68
- # Round-by-round economy
69
- rounds = parser.parse_ticks(["total_rounds_played", "cash_spent_t", "cash_spent_ct"])
70
- ```
71
 
72
- ### Download via huggingface_hub
73
 
74
  ```python
75
  from huggingface_hub import snapshot_download
76
 
77
- # Download all 2024 T1 demos
78
  path = snapshot_download(
79
  repo_id="KEDevO/CounterQuant-CS2-Demos",
80
  repo_type="dataset",
81
- allow_patterns="data/2024/tier1/**",
82
- local_dir="./demos",
 
83
  )
84
  ```
85
 
86
- ### Stream individual files
 
 
 
 
 
 
 
 
 
 
 
87
 
88
  ```python
89
  from huggingface_hub import hf_hub_download
90
 
91
- dem = hf_hub_download(
92
  repo_id="KEDevO/CounterQuant-CS2-Demos",
93
- repo_type="dataset",
94
- filename="data/2024/tier1/2378549/match.dem",
95
  )
96
  ```
97
 
98
- ## What You Can Do With These Demos
 
 
99
 
100
- - **Feature engineering**: extract round economy, positioning, utility, player rating
101
- - **Model training**: win-probability, player rating, team strength models
102
- - **Research**: CS2 game theory, tactical analysis, team dynamics
103
- - **Statistics**: compute your own KDA, HLTV Rating 2.0, ADR, Impact
104
- - **No restrictions**: raw bytes, parse however you like
 
105
 
106
- ## Update Schedule
107
 
108
- New demos are added within 24–48 hours of match completion. The pipeline runs continuously across dedicated VPS infrastructure.
109
 
110
- ## Data Source
111
 
112
- 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.
113
 
114
- ## Citation
 
 
 
 
 
115
 
116
- If you use this dataset in research, please cite:
 
 
117
 
118
  ```bibtex
119
  @dataset{kulbe2026counterquant,
120
  author = {Eimantas Kulbe},
121
  title = {CounterQuant CS2 Demos},
122
  year = {2026},
123
- publisher = {HuggingFace},
124
  url = {https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Demos},
125
- note = {Continuously updated professional CS2 demo dataset, all tiers, T1/T2/T3}
126
  }
127
  ```
128
 
129
  ## License
130
 
131
- [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)use freely with attribution to Eimantas Kulbe / CounterQuant.
132
 
133
- ## Related Resources
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
+ ---