๐งช Draft โ
hf-model-spec-0.1ยท A working-draft pattern for declarative model specs as Hub artefacts. Not an official HF convention. Feedback welcome.
A small experiment in model specs โ short, declarative descriptions of a desired model (purpose, inputs, outputs, target quality, size budget, data) that an agent (Claude Code, ml-intern, Codex, etc.) can read and execute end-to-end. The spec describes what model should exist; the agent works out the how.
Each spec is a Hugging Face dataset repo with a hf-model-spec-0.1 README. The format is intentionally minimal โ YAML frontmatter for machine-readable fields, markdown body for the narrative that doesn't fit in YAML.
model-specs/blbooksgenre-spec โ text classification (Victorian book titles โ Fiction/Non-fiction)model-specs/index-card-blank-detector-spec โ image classification (archival index cards โ blank/content; retro-fit of a shipped model)model-specs/smol-hub-tldr-v2-spec โ generative summarisation (HF model/dataset cards โ 60-token TL;DR; in-progress)Open a discussion on any spec repo's Community tab. The format is fully expected to change.