diff --git a/run-on-jobs/index.html b/run-on-jobs/index.html index 9783235..c0067f1 100644 --- a/run-on-jobs/index.html +++ b/run-on-jobs/index.html @@ -2,6 +2,7 @@ + Run on Jobs @@ -79,14 +80,15 @@ @media (prefers-reduced-motion:reduce){summary::before{transition:none}} .entry{font-size:15px;margin-top:12px} +.model-link{margin:2px 12px 8px 28px}

Use Hub models on your own data

Run a model over your whole dataset, or fine-tune it on your own examples. Each command starts a job on Hugging Face Jobs and saves the results to the Hub. There is nothing to clone.

-

Each recipe is a uv script: one Python file that lists its own dependencies, so it runs straight from its URL.

-

Find your model · New to Jobs? Try an example below, or read the quickstart.

+

Each recipe is a uv script: one Python file that lists its own dependencies, so it runs straight from its URL.

+

Find your model · New to Jobs? Try an example below, or read the quickstart · Follow uv-scripts for new recipes

Read seven scanned NASA pages with GLM-OCR and save the text to a new public dataset on your account. Add --private to keep it private.

hf jobs uv run \
@@ -232,23 +234,23 @@ 

Use Hub models on your own data

--num-samples 4 --max-train-pool 2000 --max-eval-samples 100 \ --max-seq-length 128 --sampling-strategy undersampling --max-minutes 5

Our run: 0.77 accuracy on 100 test articles, against 0.32 for always guessing the most common topic. Training took 20 seconds on cpu-basic.

More recipes and options in uv-scripts/classification.

-

You need the hf CLI (1.32 or newer), a login and pay-as-you-go credit. Add --dry-run to see the GPU and settings without starting a job.

+

You need the hf CLI (1.32 or newer), a login and pay-as-you-go credit. Add --dry-run to see the GPU and settings without starting a job, and run hf jobs uv run --help for all options.

Find your model

Replace the capitalised placeholders and your-username. Check the script if you're unsure what a value should be.

-

OCR

Transcription

Transcription

Segmentation

Segmentation

Object detection

Object detection

Video

Video

Classification

Classification

Embeddings

Embeddings

Text generation

Text generation

Fine-tuning

Fine-tuning

diff --git a/tools/build-catalog.py b/tools/build-catalog.py index 1f01231..7bdf899 100755 --- a/tools/build-catalog.py +++ b/tools/build-catalog.py @@ -303,6 +303,7 @@ def model_row_html(task, model, recipes): return ( f'
  • ' f'{html.escape(model)}{html.escape(row_status)}' + + f'' + recipe_html(best) + more + "
  • " ) diff --git a/tools/run-on-jobs-template.html b/tools/run-on-jobs-template.html index 98812b6..eb818cf 100644 --- a/tools/run-on-jobs-template.html +++ b/tools/run-on-jobs-template.html @@ -2,6 +2,7 @@ + Run on Jobs @@ -79,14 +80,15 @@ @media (prefers-reduced-motion:reduce){summary::before{transition:none}} .entry{font-size:15px;margin-top:12px} +.model-link{margin:2px 12px 8px 28px}

    Use Hub models on your own data

    Run a model over your whole dataset, or fine-tune it on your own examples. Each command starts a job on Hugging Face Jobs and saves the results to the Hub. There is nothing to clone.

    -

    Each recipe is a uv script: one Python file that lists its own dependencies, so it runs straight from its URL.

    -

    Find your model · New to Jobs? Try an example below, or read the quickstart.

    +

    Each recipe is a uv script: one Python file that lists its own dependencies, so it runs straight from its URL.

    +

    Find your model · New to Jobs? Try an example below, or read the quickstart · Follow uv-scripts for new recipes

    Read seven scanned NASA pages with GLM-OCR and save the text to a new public dataset on your account. Add --private to keep it private.

    hf jobs uv run \
    @@ -232,7 +234,7 @@ 

    Use Hub models on your own data

    --num-samples 4 --max-train-pool 2000 --max-eval-samples 100 \ --max-seq-length 128 --sampling-strategy undersampling --max-minutes 5

    Our run: 0.77 accuracy on 100 test articles, against 0.32 for always guessing the most common topic. Training took 20 seconds on cpu-basic.

    More recipes and options in uv-scripts/classification.

    -

    You need the hf CLI (1.32 or newer), a login and pay-as-you-go credit. Add --dry-run to see the GPU and settings without starting a job.

    +

    You need the hf CLI (1.32 or newer), a login and pay-as-you-go credit. Add --dry-run to see the GPU and settings without starting a job, and run hf jobs uv run --help for all options.

    Find your model

    Replace the capitalised placeholders and your-username. Check the script if you're unsure what a value should be.