model-card-lint-gpai
v1.0.3Lints a Hugging Face model card against the Hub metadata spec and the EU AI Act general-purpose AI d
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_text
Model Card Lint - EU GPAI (AI Act Art. 53) - run all 28 checks on a text (free)
| Parameter | Type | Description |
|---|---|---|
text * | string | file contents |
path | string | optional file name for context |
check_file
Model Card Lint - EU GPAI (AI Act Art. 53) - run all checks on one file by path (free)
| Parameter | Type | Description |
|---|---|---|
path * | string |
check_dir
Model Card Lint - EU GPAI (AI Act Art. 53) - sweep a folder and return every finding (licence; the full run is free for 7 days)
| Parameter | Type | Description |
|---|---|---|
dir * | string | |
ext | string | optional extension filter, e.g. .html |