File size: 690 Bytes
36f6abc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
---
language: en
license: apache-2.0
---
# HF Jobs Scripts
- [Hub Stats - hub_stats.py](https://huggingface.co/datasets/cfahlgren1/job-scripts/blob/main/hub-stats.py)
## Usage
### Running with hfjobs
You can run this script using [hfjobs](https://github.com/cfahlgren1/fjobs) with the following command:
```bash
hfjobs run \
--flavor cpu-upgrade \
--secret HF_TOKEN=hf_xxxxx \
ghcr.io/astral-sh/uv:debian \
/bin/bash -c "uv run https://huggingface.co/datasets/cfahlgren1/job-scripts/raw/main/hub-stats.py"
```
## Daily Cron
This script runs automatically every day via a cron trigger using Cloudflare Workers. You can find that at: https://github.com/cfahlgren1/hf-jobs-cron
|