Model Card YAML Viewer
Paste a Hugging Face README to see its metadata, lineage and missing safety fields — no API calls.
Audit result
6 findingstiny-support-assistant
License: apache-2.0 · Library: transformers
Pipeline: text-generaton — did you mean text-generation?
Lineage
- example/base-7b
Datasets
support_tickets
Tags
Conversational
Languages
none
Corrected YAML skeleton
missing fields onlylicense: apache-2.0
library_name: transformers
pipeline_tag: text-generation
tags:
- llm
- custom-model
datasets: []
base_model: []
model-index:
- results:
- task:
type: text-generation
metrics: []Examples
Complete card
Sample README with a typoCard view plus PIPELINE_TYPO warningThe tool suggests text-generation for text-generaton.
Missing fields
name and tags onlyNO_LICENSE, NO_INTENDED_USE, NO_LIMITATIONSThe skeleton emits only the missing fields.
Revision diff
Two pasted cardsadded / removed / changed frontmatter keysUseful before publishing a model update.
About this tool
The Model Card YAML Viewer reads a Hugging Face README and separates YAML frontmatter from the markdown body, then interprets the fields the Hub actually cares about: license, base_model, datasets, tags, library_name, pipeline_tag, language and model-index. Scalar and list forms are normalized so ordinary hand-written cards parse without complaint.
The audit checks for a missing license, license: other without license_name, unknown or misspelled pipeline tags, non-kebab-case tags, empty model-index blocks and absent Intended Use, Limitations or bias sections. A lineage view chains base_model values with a depth cap and cycle detection, and pasting parent cards extends the chain.
Body previews render a small markdown subset after escaping all HTML, and link schemes are allowlisted. Cards stay in the tab: nothing is fetched from Hugging Face, and the corrected YAML skeleton contains only the fields the audit found missing.
What this tool does not do
- Allowlists of licenses and pipeline tags are bundled snapshots and may lag the Hub; unknown values become informational notes, not errors.
- The markdown preview intentionally covers a small subset: headings, lists, links, code, bold and italic.
- No Hugging Face API is contacted; lineage beyond a single card requires pasting parent cards.
How to use this tool
Paste a README
Use a full model README or only the frontmatter block. YAML syntax errors are reported with line and column numbers.
Review the card
Read identity, lineage, datasets, tags and metrics in the card tab; switch to issues for the audit list.
Extend the lineage
Paste parent cards into the optional field to follow base_model links beyond the first model.
Fix and export
Copy the YAML skeleton for missing fields, export the audit summary, or compare two revisions key by key.
Use cases
Pre-release review
Catch a missing license or limitations section before publishing a model.
Org compliance audit
Check a batch of cards against the same safety baseline without leaving the browser.
Lineage research
Inspect a fine-tune's base chain, including cycles introduced by hand-written metadata.
Checks at a glance
| Area | What is checked |
|---|---|
| Metadata | license, license_name, pipeline_tag, library_name, tags, datasets, language |
| Safety | Intended Use, Limitations, bias/risk discussion, model-index metrics |
| Lineage | base_model chain, depth cap 10, cycle detection, optional parent cards |
Frontmatter-only pastes skip body section checks and say so explicitly.
Common mistakes
Mistake:Assuming any YAML is a valid model card.
Fix:This tool checks HF conventions, not generic YAML syntax alone; use a YAML validator for syntax-only problems.
Mistake:Writing license: other without license_name.
Fix:Add license_name — the paired-field rule is reported as a warning.
Mistake:Pasting unrendered HTML into the body.
Fix:The preview escapes it and blocks javascript: links; read the raw body tab for exact text.
Frequently asked questions
Which frontmatter fields does Hugging Face use?
Common fields include name, license and license_name, base_model, datasets, tags, library_name, pipeline_tag, language, inference and model-index. The viewer renders all of them, accepts scalar or list forms where the Hub does, and reports unknown fields without discarding them.
What safety fields are checked?
The audit looks for a license, a license_name when license is other, an Intended Use section, a Limitations section, some discussion of bias or risks, and a model-index with actual metrics. Missing items are tagged error, warning or info depending on how serious they are.
How is base_model lineage built?
Each base_model value becomes a node. If you paste parent cards, their name and base_model fields are linked in, up to ten levels; a repeated model marks a cycle and stops the walk. Without parent cards the chain is one level and the tool says so.
Does it fetch anything from Hugging Face?
No. The tool is paste-only by design because pre-release model cards can be confidential. Parsing, auditing and rendering happen entirely in your browser tab; no API key or network access is involved.
What is model-index and why is an empty one a warning?
model-index is the structured eval-results block on a Hub card. Its results arrays contain task definitions and metric rows. An empty block looks complete to a reader but provides no reproducible numbers, so the audit warns and the skeleton offers a valid example row.
How do I fix a pipeline_tag typo?
The audit compares your value against a bundled list of Hub pipeline tags using edit distance and offers a did-you-mean suggestion. Copy the corrected YAML skeleton or edit the card directly, then paste it again to confirm the warning is gone.
Related tools
Agent Tool Flowchart Builder
Design agentic tool-call DAGs with decision branches and bounded loops. Validates reachability, cycle handling, and emits clean Mermaid flowcharts — fully in your browser.
AI Agent Memory & Buffer Simulator
Compare sliding window, summary buffer, and vector memory strategies
AI API Client SDK Generator
Generate typed API client SDK files from OpenAPI specifications or cURL requests
AI Code Explainer
Explain code snippets with grounded cloud AI
AI Code Security Auditor
Scan source code for high-confidence OWASP Top 10 vulnerabilities
AI Code Translator
Translate code into idiomatic implementations in another language