job-scripts / README.md
cfahlgren1's picture
cfahlgren1 HF Staff
Create README.md
36f6abc verified
---
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