Repository navigation
Add Run on Jobs Space, generated from the recipes - #159
Merged
Merged
Conversation
A static catalogue of recipes with first-run examples, a searchable list of models and copy-paste commands. tools/build-catalog.py generates the Space files, recipes.json and AGENTS.md by parsing the scripts without running them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4
…ew fixes Header recipes now keep their documented arguments and mounts, and path arguments get generated mounts, so no command is hard-coded. Clearer labels, intro and placeholders; clipboard fallback; reduced motion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
run-on-jobs/, a static Space that lists uv-scripts recipes with copy-paste commands. It declares the models with working recipes in its README metadata, so the Hub lists it under "Spaces using this model" on those model pages.What's here
tools/build-catalog.py: generatesindex.html,recipes.json,AGENTS.mdandREADME.mdby parsing the scripts. It doesn't import or run them.tools/run-on-jobs-template.html: the page, including first-run examples for OCR, transcription, embeddings and fine-tuning.sync-run-on-jobs.yml: publishes the folder with the existing_sync-folder.yml.check-run-on-jobs.yml: fails a PR when the Space files are stale. It also runs weekly and checks that declared models still exist.What gets declared
48 recipes are listed, and 26 models are declared. A recipe only counts towards
models:if it has a header or its documented command passed a smoke Job. Training recipes, experimental OCR recipes andvllm/generate-responsesare listed but don't count, because the default command for the last one needs--max-model-len.Commands
Nothing is hard-coded. A recipe's command comes from its first documented example, keeping only mounts for header recipes. Otherwise it's built from the script's positional and required arguments, with mounts for path arguments. Every declared command passes
--dry-runand resolves to a GPU flavor or its documented flavor.Testing
python3 tools/build-catalog.py --check --verify-modelspasses, and ruff is clean.sam3/detect-objects,sam3/segment-objectsandembeddings/generate-embeddings.classification/train-setfit: re-ran the first-run example oncpu-basic(0.77 accuracy vs 0.32 majority baseline, 100 test rows, one seed).gliner/extract-entitiesfailed its smoke Job (the tokenizer needstiktoken), so it's left out throughBROKENuntil it's fixed.recipes.json.Not covered
embeddings/launch-embedding-fleet,transcription/cohere-transcribe-vllmandtranscription/moss-transcribe-diarize-server.Rollout
uv-scripts/run-on-jobsexists as a private preview with these files. The sync keeps it private, so model pages only list it once it's made public.🤖 Generated with Claude Code
https://claude.ai/code/session_016isSPpM5PRqNUzwsDntoG4