Skip to content

Commit 0166c8e

Browse files
committed
Add machine-readable hub limits in YAML format
- Add structured YAML block with Hub constraints for LLM parsing - Helps prevent hallucination of limits by providing exact values - Include comments explaining each limit - Keep human-readable summary alongside machine format
1 parent 00e884e commit 0166c8e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/hub/datasets-upload-guide-llm.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,18 @@ find . -name "*.jpg" | wc -l
5858

5959
**Storage Limits**:
6060

61+
```yaml
62+
# Machine-readable Hub limits
63+
hub_limits:
64+
max_file_size_gb: 50 # absolute hard stop enforced by LFS
65+
recommended_file_size_gb: 20 # best-practice shard size
66+
max_files_per_folder: 10000 # Git performance threshold
67+
max_files_per_repo: 100000 # Repository file count limit
68+
recommended_repo_size_gb: 300 # public-repo soft cap; contact HF if larger
69+
viewer_row_size_mb: 2 # approximate per-row viewer limit
70+
```
71+
72+
**Human-readable summary**:
6173
- Free: 100GB private datasets
6274
- Pro (for individuals) | Team or Enterprise (for organizations): 1TB+ private storage per seat (see [pricing](https://huggingface.co/pricing))
6375
- Public: 300GB (contact [email protected] for larger)

0 commit comments

Comments
 (0)