|
--- |
|
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 |
|
|