Spaces:
Running
Running
Sync from GitHub via hub-sync
Browse files
README.md
CHANGED
|
@@ -31,10 +31,19 @@ hf jobs uv run --flavor l4x1 --secrets HF_TOKEN \
|
|
| 31 |
|
| 32 |
One command β a new dataset with a `markdown` column. Pay-per-second, no hardware of your own.
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
|
|
|
| 36 |
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
**Try it now** β runs a real OCR job and hands back a dataset:
|
| 40 |
|
|
@@ -55,6 +64,7 @@ transcribe, classify, deduplicate, and embed datasets on Hugging Face. List them
|
|
| 55 |
Pick the one that fits, read its script header for the arguments, and run it with:
|
| 56 |
hf jobs uv run --flavor l4x1 --secrets HF_TOKEN <script-url> INPUT_DATASET OUTPUT_DATASET
|
| 57 |
Each recipe reads a Hub dataset and writes a new one, so chain them as needed.
|
|
|
|
| 58 |
```
|
| 59 |
|
| 60 |
The cookbook also ships a ready-made **agent skill** for discovering and running recipes β see the [GitHub repo](https://github.com/davanstrien/uv-scripts-for-ai), and Hugging Face's own [`hf` CLI skill for agents](https://huggingface.co/docs/hub/agents-cli). _(We'll refine these prompts over time.)_
|
|
|
|
| 31 |
|
| 32 |
One command β a new dataset with a `markdown` column. Pay-per-second, no hardware of your own.
|
| 33 |
|
| 34 |
+
## Drive it with your coding agent
|
| 35 |
+
|
| 36 |
+
Recipes take their arguments in the same `input output` order and run from a URL, so an agent (Claude Code, Cursor, β¦) can pick one and run it with no setup. The simplest start β paste this so it discovers what's available:
|
| 37 |
|
| 38 |
+
```
|
| 39 |
+
List the uv-scripts recipes and tell me which fit my task:
|
| 40 |
+
uv run https://huggingface.co/datasets/uv-scripts/jobs-utils/raw/main/list-recipes.py
|
| 41 |
+
For context on how these work, read the org page https://huggingface.co/uv-scripts
|
| 42 |
+
and the GitHub repo https://github.com/davanstrien/uv-scripts-for-ai.
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
<details>
|
| 46 |
+
<summary><b>More prompts β run a job, build a dataset β</b></summary>
|
| 47 |
|
| 48 |
**Try it now** β runs a real OCR job and hands back a dataset:
|
| 49 |
|
|
|
|
| 64 |
Pick the one that fits, read its script header for the arguments, and run it with:
|
| 65 |
hf jobs uv run --flavor l4x1 --secrets HF_TOKEN <script-url> INPUT_DATASET OUTPUT_DATASET
|
| 66 |
Each recipe reads a Hub dataset and writes a new one, so chain them as needed.
|
| 67 |
+
Background: https://huggingface.co/uv-scripts and https://github.com/davanstrien/uv-scripts-for-ai
|
| 68 |
```
|
| 69 |
|
| 70 |
The cookbook also ships a ready-made **agent skill** for discovering and running recipes β see the [GitHub repo](https://github.com/davanstrien/uv-scripts-for-ai), and Hugging Face's own [`hf` CLI skill for agents](https://huggingface.co/docs/hub/agents-cli). _(We'll refine these prompts over time.)_
|