tardellirs commited on
Commit
6d0bc7f
·
verified ·
1 Parent(s): dce0806

README: clearer structure, quick start, table schemas and methodology

Browse files
Files changed (1) hide show
  1. README.md +242 -37
README.md CHANGED
@@ -1,12 +1,17 @@
1
  ---
2
  license: apache-2.0
3
  pretty_name: Model Pulse — daily history of Hugging Face models, datasets and Spaces
 
 
4
  tags:
5
  - hub-stats
 
6
  - downloads
7
  - time-series
 
 
8
  size_categories:
9
- - 100M<n<1B
10
  configs:
11
  - config_name: series
12
  data_files: "series/*.parquet"
@@ -30,45 +35,245 @@ configs:
30
  data_files: "uses.parquet"
31
  ---
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  # Model Pulse data
34
 
35
- Daily download and like history for every actively used model and dataset on the Hugging Face Hub, and daily likes for every liked Space, from 2024-07-29 onward, updated every day. It powers [Model Pulse](https://huggingface.co/spaces/tardellirs/model-pulse), also at [modelpulse.ifsp.dev](https://modelpulse.ifsp.dev) with a page for every model, dataset and Space.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
- Built from the daily snapshots of [cfahlgren1/hub-stats](https://huggingface.co/datasets/cfahlgren1/hub-stats) (Apache 2.0), reading each historical revision of `models.parquet`, `datasets.parquet` and `spaces.parquet`.
38
 
39
- ## Files
 
 
 
 
 
 
 
 
 
 
 
40
 
41
- | Path | Rows | What it holds |
 
 
 
42
  |---|---|---|
43
- | `series/YYYY-MM.parquet` | one per model per snapshot day | `id, day, dl30, dl_all, likes` |
44
- | `models.parquet` | one per tracked model | latest metadata plus derived metrics (`dl_7d`, `growth_7d`, ranks, family totals) |
45
- | `children.parquet` | one per base→derivative edge | direct derivatives with relation and downloads |
46
- | `family_series/YYYY-MM.parquet` | one per base model per day | downloads summed over the model and all its derivatives |
47
- | `author_series/YYYY-MM.parquet` | one per author per day | downloads summed over the author's models |
48
- | `hub_series.parquet` | one per day per task | Hub-wide daily downloads by `pipeline_tag` |
49
- | `renames.parquet`, `datasets/renames.parquet` | one per rename | `old, new, gone, came`: repos renamed on the Hub (same all-time count, within 1%, under the same name or the same owner, within 3 days). Old pages redirect to the new id, whose series and author and family totals include the old id's history |
50
- | `leaderboards.json` | | weekly rankings shown on the site |
51
- | `datasets/series/YYYY-MM.parquet` | one per dataset per snapshot day | `id, day, dl30, dl_all, likes` |
52
- | `datasets/datasets.parquet` | one per tracked dataset | latest metadata (task, size, license) plus derived metrics and usage counts |
53
- | `datasets/author_series/`, `datasets/hub_series.parquet`, `datasets/leaderboards.json` | | the same views as for models |
54
- | `spaces/series/YYYY-MM.parquet` | one per Space per snapshot day | `id, day, likes, trending` |
55
- | `spaces/spaces.parquet` | one per Space with at least one like | title, emoji, SDK, likes gained in 7 and 30 days, ranks |
56
- | `spaces/new_by_sdk.parquet` | one per day per SDK | Spaces created each day, from the latest snapshot |
57
- | `uses.parquet` | one per reference | `src_kind, src, dst_kind, dst, created, weight`: a Space using a model or dataset, or a model trained on a dataset, from today's cards |
58
- | `repos_meta.json` | | days covered and skipped snapshots for datasets and Spaces |
59
-
60
- ## Notes
61
-
62
- - `dl30` is the Hub's rolling 30-day download count. `dl_all` (all-time downloads) only exists from 2025-02-27, so exact daily downloads, computed as the difference of `dl_all` between snapshots, start on that date.
63
- - Some days are missing in the source (Aug 2024, Jun 2025, Apr 2026, May–Jun 2026). Totals are unaffected; daily values across a gap are averages.
64
- - A model or dataset is tracked once it has 10+ downloads in 30 days, 50+ all-time downloads, or at least one like. A Space is tracked once it has a like; the Hub doesn't publish visits for Spaces.
65
- - On some days the Hub's download counters stand still and catch up a day or two later, mostly on Wednesdays. Dataset counters freeze all at once; model counters often freeze only in part (newer repos stop, older ones keep counting), so the model total may only dip to half. A day is treated as a stall when the total is under 0.3 of its 15-day median, when at least 25% of the models with 60K+ monthly downloads didn't move at all, or when a dip under 0.7 is made up by the next or previous day (a value spread over days without a snapshot counts as one measurement there, its days weighed in the sum). `hub_series` spreads each episode evenly over its days (sums unchanged), and the snapshots inside it are listed in `skip_days` (`meta.json` for models, `repos_meta.json` for datasets) so per-repo series can do the same. `frozen` in the same files holds the recent daily share of frozen counters.
66
- - Weekly figures (`dl_7d`, `likes_7d`, growth) are rates over the days the reference snapshots really span, so a skipped or missing snapshot never makes a week longer than 7 days. A repo with no reference snapshot shows no weekly figure, unless it is new that week. The growth rankings leave out repos whose week came mostly from a single day (over 60%, or 80% for repos created that month once they have three snapshots); `peak_share` holds that share.
67
- - When a repo's all-time counter hasn't moved in 31 days, `dl30` is set to 0 (the Hub sometimes keeps showing a stale 30-day count).
68
- - Twice (May 2025, June 2026) the all-time counters went down for a large share of models and came back days later. Those snapshots are in `skip_days` too, and downloads across them are measured from the last good snapshot to the first one after the counters recovered, so the recovery isn't counted as new downloads. A drop that doesn't recover within 8 snapshots is treated as a lasting correction by the Hub, not set aside.
69
- - A few snapshots hold only part of the repos (for models, 2025-11-24 with 289k of 1.13M). A snapshot with fewer than half the rows of the one before is left out: nothing is measured from or to it, the gap around it is spread like any missing day, and it is listed in `partial` and in `skip_days`.
70
- - Days without a snapshot share the per-day average of the next one. A stall window that reaches into such a stretch takes all of it, up to the snapshot that closes it, so a catch-up booked across missing days is spread together with the stall it belongs to.
71
- - After all this, a few days are still well under their local median and the days around them don't make up for it. `low_days` lists them: under 0.7 of the 15-day median (adjusted for the day of the week, estimated from days with their own snapshot, since weekends run a little lower), in runs that the 3 days on each side don't make up by at least half. Days without a snapshot share one measurement with the snapshot that closes them, so they are judged together (2026-01-31, with no snapshot, and 2026-02-01 come out at 0.74 as one measurement: not low). They keep their measured values; the Hub chart greys them out instead of smoothing over them. The last two days are judged once their neighbours are known.
72
- - A few snapshots came well under a day after the one before, when hub-stats moved its collection time (2025-03-04 came 10.3 hours after 2025-03-03). The counters' daily update then lands in the next snapshot, so such a day is short, not low: `short_days` lists the snapshots taken under 18 hours after the previous one, they never count as low days, and `snapshot_at` keeps the time of the latest snapshot.
73
- - `uses.parquet` comes from the cards as they are today, dated by when each Space or model was created, not by when it started using what it lists.
74
- - Download counts follow the Hub's [counting rules](https://huggingface.co/docs/hub/models-download-stats); the Hub occasionally books delayed downloads on a single day.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  pretty_name: Model Pulse — daily history of Hugging Face models, datasets and Spaces
4
+ task_categories:
5
+ - time-series-forecasting
6
  tags:
7
  - hub-stats
8
+ - huggingface-hub
9
  - downloads
10
  - time-series
11
+ - analytics
12
+ - open-source-ai
13
  size_categories:
14
+ - 1B<n<10B
15
  configs:
16
  - config_name: series
17
  data_files: "series/*.parquet"
 
35
  data_files: "uses.parquet"
36
  ---
37
 
38
+ <p align="center">
39
+ <a href="https://modelpulse.ifsp.dev">
40
+ <img src="https://huggingface.co/spaces/tardellirs/model-pulse/resolve/main/thumbnail-v3.png" alt="Model Pulse: download history for every model on the Hugging Face Hub" width="720">
41
+ </a>
42
+ </p>
43
+
44
+ <p align="center">
45
+ <a href="https://modelpulse.ifsp.dev"><b>Website</b></a> ·
46
+ <a href="https://huggingface.co/spaces/tardellirs/model-pulse"><b>Space</b></a> ·
47
+ <a href="#quick-start"><b>Quick start</b></a> ·
48
+ <a href="#tables"><b>Tables</b></a> ·
49
+ <a href="#methodology"><b>Methodology</b></a> ·
50
+ <a href="#citation"><b>Citation</b></a>
51
+ </p>
52
+
53
  # Model Pulse data
54
 
55
+ **A daily time series of the whole Hugging Face Hub.** Downloads and likes for every actively used model and dataset, and likes for every liked Space, one row per repo per day since **2024-07-29**, refreshed every day.
56
+
57
+ It is the data behind [Model Pulse](https://modelpulse.ifsp.dev), which has a page with the full history of every model, dataset and Space, along with model families (quantizations, fine-tunes, adapters and merges), author totals and weekly rankings.
58
+
59
+ | | |
60
+ |---|---|
61
+ | **Coverage** | 2024-07-29 → today, one snapshot per day |
62
+ | **Models** | 1.61M tracked · 25K families · 700M daily rows |
63
+ | **Datasets** | 1.06M tracked · 365M daily rows |
64
+ | **Spaces** | 104K tracked (at least one like) · 45M daily rows |
65
+ | **Total** | ~1.15B rows · ~2 GB of Parquet |
66
+ | **Update** | Daily, shortly after each new source snapshot |
67
+ | **License** | Apache 2.0 |
68
+
69
+ ## Quick start
70
+
71
+ Every table is plain Parquet, so it can be queried in place without downloading the whole repo.
72
+
73
+ **DuckDB**: daily downloads of one model
74
+
75
+ ```sql
76
+ SELECT day, dl30, dl_all - lag(dl_all) OVER (ORDER BY day) AS downloads
77
+ FROM 'hf://datasets/modelpulse/model-pulse-data/series/*.parquet'
78
+ WHERE id = 'Qwen/Qwen3-8B'
79
+ ORDER BY day;
80
+ ```
81
+
82
+ **Polars**: this week's most downloaded models
83
+
84
+ ```python
85
+ import polars as pl
86
+
87
+ top = (
88
+ pl.read_parquet(
89
+ "hf://datasets/modelpulse/model-pulse-data/models.parquet",
90
+ columns=["id", "pipeline_tag", "dl_7d", "growth_7d", "rank_7d"],
91
+ )
92
+ .filter(pl.col("rank_7d").is_not_null())
93
+ .sort("rank_7d")
94
+ .head(20)
95
+ )
96
+ ```
97
+
98
+ **🤗 Datasets**: load any table by its config name
99
+
100
+ ```python
101
+ from datasets import load_dataset
102
+
103
+ hub = load_dataset("modelpulse/model-pulse-data", "hub_series", split="train")
104
+ models = load_dataset("modelpulse/model-pulse-data", "models", split="train")
105
+ ```
106
+
107
+ > [!TIP]
108
+ > The daily series are split into monthly files (`series/2026-09.parquet`, …). To work with a recent window, read only the months you need.
109
+
110
+ ## Tables
111
 
112
+ Each table below can be loaded as a config.
113
 
114
+ | Config | Path | One row per | Rows |
115
+ |---|---|---|---:|
116
+ | `series` | `series/YYYY-MM.parquet` | model × day | 700M |
117
+ | `models` | `models.parquet` | model | 1.61M |
118
+ | `family_series` | `family_series/YYYY-MM.parquet` | base model × day | 12M |
119
+ | `author_series` | `author_series/YYYY-MM.parquet` | author × day | 25M |
120
+ | `hub_series` | `hub_series.parquet` | day × task (`pipeline_tag`) | 32K |
121
+ | `dataset_series` | `datasets/series/YYYY-MM.parquet` | dataset × day | 365M |
122
+ | `datasets` | `datasets/datasets.parquet` | dataset | 1.06M |
123
+ | `space_series` | `spaces/series/YYYY-MM.parquet` | Space × day | 45M |
124
+ | `spaces` | `spaces/spaces.parquet` | Space with at least one like | 104K |
125
+ | `uses` | `uses.parquet` | reference (Space → model/dataset, model → dataset) | 464K |
126
 
127
+ <details>
128
+ <summary><b>Daily series</b>: <code>series</code>, <code>dataset_series</code>, <code>space_series</code>, <code>family_series</code>, <code>author_series</code>, <code>hub_series</code></summary>
129
+
130
+ | Column | Type | Description |
131
  |---|---|---|
132
+ | `id` | string | Repo id (`org/name`), or the base model for `family_series` |
133
+ | `author` | string | Author or organization (`author_series` only) |
134
+ | `day` | date | Snapshot day |
135
+ | `dl30` | int | The Hub's rolling 30-day download count |
136
+ | `dl_all` | int | All-time downloads (available from 2025-02-27) |
137
+ | `likes` | int | Likes on that day |
138
+ | `trending` | float | Trending score (`space_series`) |
139
+ | `members` / `models` | int | Repos in the family / models by the author on that day |
140
+ | `pipeline_tag`, `dl` | string, int | Task and Hub-wide downloads that day (`hub_series`, from 2025-02-28) |
141
+
142
+ In `family_series` and `author_series`, downloads are summed over the base model and all its derivatives, or over all of the author's models.
143
+
144
+ </details>
145
+
146
+ <details>
147
+ <summary><b>Models</b>: <code>models.parquet</code></summary>
148
+
149
+ | Column | Description |
150
+ |---|---|
151
+ | `id`, `author`, `pipeline_tag`, `library_name`, `license`, `params`, `is_gguf` | Latest metadata from the Hub |
152
+ | `created_at`, `last_modified`, `first_seen` | Creation and update times, and the first day the model appears in the data |
153
+ | `dl30`, `dl_all`, `likes`, `trending` | Latest counters |
154
+ | `dl_7d`, `dl_prev7d`, `dl_base7d`, `growth_7d`, `likes_7d`, `peak_share`, `steps` | Weekly figures (see [Weekly figures](#weekly-figures)) |
155
+ | `rank_dl30`, `rank_task`, `rank_7d` | Overall rank by 30-day downloads, rank within the task, rank by 7-day downloads |
156
+ | `base_relation`, `base_ids` | How the model derives from its base model(s): `finetune`, `adapter`, `quantized` or `merge` |
157
+ | `fam_members`, `n_quantized`, `n_finetune`, `n_adapter`, `n_merge` | Size of the family built on this model |
158
+ | `fam_dl30`, `fam_all`, `fam_7d` (and `*_desc`) | Downloads summed over the model and its family (`*_desc`: derivatives only) |
159
+
160
+ </details>
161
+
162
+ <details>
163
+ <summary><b>Datasets</b>: <code>datasets/datasets.parquet</code></summary>
164
+
165
+ The same counters, weekly figures and ranks as for models, plus `gated`, `description`, `pipeline_tag`, `size`, `license` and `modality`, and the usage counts `used_by_models` and `used_by_spaces`.
166
+
167
+ </details>
168
+
169
+ <details>
170
+ <summary><b>Spaces</b>: <code>spaces/spaces.parquet</code></summary>
171
+
172
+ | Column | Description |
173
+ |---|---|
174
+ | `id`, `author`, `title`, `emoji`, `short_description`, `sdk` | Latest metadata |
175
+ | `created_at`, `last_modified`, `first_seen` | Creation and update times, first day in the data |
176
+ | `likes`, `likes_7d`, `likes_30d`, `trending` | Likes in total and gained over 7 and 30 days, trending score |
177
+ | `rank_likes`, `rank_7d` | Rank by total likes and by likes gained this week |
178
+ | `uses` | Number of models and datasets the Space references |
179
+
180
+ The Hub doesn't publish visit counts for Spaces, so Spaces are tracked by likes.
181
+
182
+ </details>
183
+
184
+ <details>
185
+ <summary><b>Usage graph</b>: <code>uses.parquet</code></summary>
186
+
187
+ | Column | Description |
188
+ |---|---|
189
+ | `src_kind`, `src` | The Space or model that references something |
190
+ | `dst_kind`, `dst` | The model or dataset it references |
191
+ | `created` | Creation date of the source repo |
192
+ | `weight` | Popularity of the source: its downloads for a model, its likes for a Space |
193
+
194
+ These rows come from the cards as they are today, dated by when each Space or model was created, not by when it started using what it lists.
195
+
196
+ </details>
197
+
198
+ ### Other files
199
+
200
+ | Path | Contents |
201
+ |---|---|
202
+ | `children.parquet` | One row per base → derivative edge: `parent, id, base_relation, author, dl30, dl_all, dl_7d, likes` |
203
+ | `renames.parquet`, `datasets/renames.parquet` | Repos renamed on the Hub: `old, new, gone, came` (see [Renames](#renames)) |
204
+ | `spaces/new_by_sdk.parquet` | Spaces created each day by SDK, from the latest snapshot |
205
+ | `leaderboards.json`, `datasets/leaderboards.json`, `spaces/leaderboards.json` | The weekly rankings shown on the site |
206
+ | `meta.json` (models), `repos_meta.json` (datasets and Spaces) | Days covered, build and snapshot times, and the day lists used for quality control: `skip_days`, `low_days`, `short_days`, `partial`, `frozen` |
207
+
208
+ ## Methodology
209
+
210
+ The data is rebuilt from the daily snapshots of [cfahlgren1/hub-stats](https://huggingface.co/datasets/cfahlgren1/hub-stats) by reading every historical revision of its `models.parquet`, `datasets.parquet` and `spaces.parquet`. The Hub's counters are noisy in a few known ways, and the rules below make the daily series reliable without changing any totals.
211
+
212
+ ### Tracking
213
+
214
+ - A **model or dataset** is tracked once it has 10+ downloads in 30 days, 50+ all-time downloads, or at least one like.
215
+ - A **Space** is tracked once it has at least one like.
216
+ - Download counts follow the Hub's [download counting rules](https://huggingface.co/docs/hub/models-download-stats). The Hub occasionally books delayed downloads on a single day.
217
+
218
+ ### Daily downloads
219
+
220
+ - `dl30` is the Hub's rolling 30-day count. `dl_all` (all-time downloads) only exists from **2025-02-27**, so exact daily downloads, computed as the difference of `dl_all` between snapshots, start on that date.
221
+ - When a repo's all-time counter hasn't moved in 31 days, `dl30` is set to 0, because the Hub sometimes keeps showing a stale 30-day count.
222
+
223
+ ### Missing and partial snapshots
224
+
225
+ - Some days are missing from the source (Aug 2024, Jun 2025, Apr 2026, May–Jun 2026). Totals are unaffected: the days without a snapshot share the per-day average of the next snapshot.
226
+ - A few snapshots hold only part of the repos (for models, 2025-11-24 has 289K of 1.13M). A snapshot with fewer than half the rows of the one before is left out: nothing is measured from or to it, the gap around it is spread like any missing day, and it is listed in `partial` and in `skip_days`.
227
+
228
+ ### Counter stalls
229
+
230
+ On some days the Hub's download counters stand still and catch up a day or two later, mostly on Wednesdays. Dataset counters freeze all at once. Model counters often freeze only in part (newer repos stop while older ones keep counting), so the model total may only drop by half.
231
+
232
+ A day is treated as a **stall** when any of these is true:
233
+
234
+ - the total is under 0.3 of its 15-day median;
235
+ - at least 25% of the models with 60K+ monthly downloads didn't move at all;
236
+ - a dip under 0.7 is made up by the next or the previous day. Here, a value spread over days without a snapshot counts as one measurement, with its days weighed in the sum.
237
+
238
+ `hub_series` spreads each stall evenly over its days, so sums don't change. The snapshots inside a stall are listed in `skip_days` so that per-repo series can be smoothed the same way, and `frozen` holds the recent daily share of frozen counters. A stall that reaches into a stretch without snapshots takes the whole stretch, up to the snapshot that closes it, so a catch-up booked across missing days is spread together with the stall it belongs to.
239
+
240
+ ### Counter regressions
241
+
242
+ Twice (May 2025 and June 2026), the all-time counters went down for a large share of models and came back days later. Those snapshots are also in `skip_days`. Downloads across them are measured from the last good snapshot to the first one after the counters recovered, so the recovery isn't counted as new downloads. A drop that doesn't recover within 8 snapshots is treated as a lasting correction by the Hub and is not set aside.
243
+
244
+ ### Low and short days
245
+
246
+ - **`low_days`** lists the few days that are still well below their local median after all the rules above, and that the days around them don't make up for. A day is low when it is under 0.7 of the 15-day median (adjusted for the day of the week and estimated from days with their own snapshot, since weekends run a little lower), in a run that the 3 days on each side don't make up by at least half. Days without a snapshot share one measurement with the snapshot that closes them, so they are judged together. For example, 2026-01-31 (no snapshot) and 2026-02-01 come out at 0.74 as one measurement, so they are not low. Low days keep their measured values, and the Hub chart greys them out instead of smoothing over them. The last two days are only judged once their neighbours are known.
247
+ - **`short_days`** lists the snapshots taken less than 18 hours after the previous one. This happened when hub-stats moved its collection time (2025-03-04 came 10.3 hours after 2025-03-03). The counters' daily update then lands in the next snapshot, so such a day is short, not low, and never counts as a low day. `snapshot_at` keeps the time of the latest snapshot.
248
+
249
+ ### Weekly figures
250
+
251
+ - `dl_7d`, `likes_7d` and `growth_7d` are rates over the days that the reference snapshots actually span, so a skipped or missing snapshot never makes a week longer than 7 days.
252
+ - A repo with no reference snapshot has no weekly figure, unless it is new that week.
253
+ - The growth rankings leave out repos whose week came mostly from a single day: over 60%, or over 80% for repos created that month once they have three snapshots. `peak_share` holds that share.
254
+
255
+ ### Renames
256
+
257
+ A repo counts as renamed when its old id disappears and a new id appears within 3 days, under the same name or the same owner, with the same all-time count (within 1%). On the site, old pages redirect to the new id, whose series and author and family totals include the old id's history.
258
+
259
+ ## Source and license
260
+
261
+ - **Source:** [cfahlgren1/hub-stats](https://huggingface.co/datasets/cfahlgren1/hub-stats) (Apache 2.0), daily snapshots of the Hub API.
262
+ - **License:** Apache 2.0.
263
+ - Model Pulse is an independent project and is not affiliated with Hugging Face.
264
+
265
+ ## Citation
266
+
267
+ ```bibtex
268
+ @misc{stekel2026modelpulse,
269
+ author = {Stekel, Tardelli},
270
+ title = {Model Pulse: Daily History of Hugging Face Models, Datasets and Spaces},
271
+ year = {2026},
272
+ publisher = {Hugging Face},
273
+ howpublished = {\url{https://huggingface.co/datasets/modelpulse/model-pulse-data}}
274
+ }
275
+ ```
276
+
277
+ ## Contact
278
+
279
+ Made by **Tardelli Stekel** ([@tardellirs](https://huggingface.co/tardellirs) · [stekel.ifsp.dev](https://stekel.ifsp.dev/)). Questions, corrections and ideas are welcome in the [Community tab](https://huggingface.co/datasets/modelpulse/model-pulse-data/discussions).