Skip to content

Add granular download data section to download stats docs#2505

Merged
julien-c merged 4 commits into
mainfrom
update-models-download-stats
May 29, 2026
Merged

Add granular download data section to download stats docs#2505
julien-c merged 4 commits into
mainfrom
update-models-download-stats

Conversation

@julien-c
Copy link
Copy Markdown
Member

@julien-c julien-c commented May 27, 2026

What

Adds a new "What if I need more granular download data?" section to both the models and datasets download stats docs, pointing users to Publisher Analytics and its granular logs feature.

Changes

  • models-download-stats.md: new section on getting granular, request-level download data (distinguish config.json from weights, exclude CI/CD, deduplicate users).
  • datasets-download-stats.md: equivalent section adapted for datasets.
  • Links to Publisher Analytics are relative (./publisher-analytics), matching the in-repo doc style.

Note

Low Risk
Documentation-only additions with no runtime or security impact.

Overview
Adds a “What if I need more granular download data?” section to both models-download-stats.md and datasets-download-stats.md, so readers know how to go beyond default Hub download counters.

Each page lists typical needs (e.g. split file types, drop CI/CD traffic, unique downloaders) and points to Publisher Analytics and its granular logs anchor for anonymized, request-level logs across an org’s models and datasets. The models doc calls out config.json vs weights; the datasets doc calls out data vs metadata. Both note that logs are raw so orgs can apply their own rules. Links use relative ./publisher-analytics paths consistent with neighboring hub docs.

Reviewed by Cursor Bugbot for commit 997d1bf. Bugbot is set up for automated code reviews on this repo. Configure here.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@julien-c julien-c requested a review from LysandreJik May 27, 2026 13:27
@julien-c
Copy link
Copy Markdown
Member Author

prompted by #2503

Copy link
Copy Markdown
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea imo

@julien-c julien-c merged commit 9583cc0 into main May 29, 2026
3 checks passed
@julien-c julien-c deleted the update-models-download-stats branch May 29, 2026 10:25
@julien-c
Copy link
Copy Markdown
Member Author

thx for the reviews everyone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants