| tags: | |
| - hfjobs-uv-script | |
| - uv | |
| - python | |
| # test-local-workflow | |
| A UV script for hfjobs. | |
| ## Usage | |
| ```bash | |
| hfjobs run ghcr.io/astral-sh/uv:python3.12 \ | |
| uv run https://huggingface.co/datasets/davanstrien/test-local-workflow/resolve/main/script.py \ | |
| <your-args> | |
| ``` | |
| ## Script Details | |
| **Script:** `script.py` | |
| **Description:** Template UV script for hfjobs. | |
| **Dependencies:** | |
| - datasets | |
| - tqdm | |
| ## Scripts | |
| ### filter.py | |
| Filter examples by length. | |
| ```bash | |
| hfjobs run ghcr.io/astral-sh/uv:python3.12 \ | |
| uv run https://huggingface.co/datasets/davanstrien/test-local-workflow/resolve/main/filter.py | |
| ``` | |
| **Dependencies:** datasets | |
| --- | |
| *Created with [hfjobs](https://github.com/huggingface/hfjobs)* | |