Skip to content

Commit e55e9bf

Browse files
lhoestqjulien-c
andauthored
Apply suggestions from code review
Co-authored-by: Julien Chaumond <[email protected]>
1 parent 1335391 commit e55e9bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/hub/datasets-download-stats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Datasets Download Stats
22

3-
## How are downloads counted for datasets ?
3+
## How are downloads counted for datasets?
44

55
Counting the number of downloads for datasets is not a trivial task, as a single dataset repository might contain multiple files, from multiple subsets and splits (e.g. train/validation/test) and sometimes with many files in a single split. To solve this issue and avoid counting one person's download multiple times, we treat all files downloaded by a user (based on their IP address) within a 5-minute window as a single dataset download. This counting happens automatically on our servers when files are downloaded (through GET or HEAD requests), with no need to collect any user information or make additional calls.
66

docs/hub/models-download-stats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Models Download Stats
22

3-
## How are downloads counted for models ?
3+
## How are downloads counted for models?
44

55
Counting the number of downloads for models is not a trivial task, as a single model repository might contain multiple files, including multiple model weight files (e.g., with sharded models) and different formats depending on the library (GGUF, PyTorch, TensorFlow, etc.). To avoid double counting downloads (e.g., counting a single download of a model as multiple downloads), the Hub uses a set of query files that are employed for download counting. No information is sent from the user, and no additional calls are made for this. The count is done server-side as the Hub serves files for downloads.
66

0 commit comments

Comments
 (0)