Automatic Model Card Generation Using an LLM
cs.SE, cs.AI
Submitted: 2026-08-25
Updated: 2026-08-25
Code: https://github.com/google/ml-metadata
License: http://creativecommons.org/publicdomain/zero/1.0/
The gist: Model cards are structured documents that summarize key information about machine learning models to improve transparency, usability, and accountability.
Terminology
Abstract
Model cards are structured documents that summarize key information about machine learning models to improve transparency, usability, and accountability. However, they often lack a consistent structure, and many models provide no model cards, making comparison and interpretation difficult. This paper presents two contributions. First, we propose MCTidy, an LLM-based approach that reorganizes existing model cards into a standardized template to improve clarity and comparability. Second, we introduce MCGenie, an LLM-based system that generates model cards directly from model repository data. We apply MCTidy to 48 Hugging Face model cards and evaluate information retention, section alignment, hallucination, and stability. Our findings show high information retention with minimal textual loss, accurate section assignment, rare hallucinations primarily in descriptive sections, and strong stability across runs. We assess MCGenie by generating model cards for the same 48 models and assessing semantic similarity, factual correctness, and sensitivity to input resources. The generated model cards achieved high semantic similarity (mean around 0.9); over half were fully correct, and most remaining errors were minor. Generation quality depended strongly on the availability of supporting resources, particularly associated papers. Overall, our findings demonstrate the potential of LLM-based methods to enable scalable, standardized model card documentation.
Sources
- Efficient Prompting Methods for Large Language Models: A Survey
- SPECTER: Document-level Representation Learning using Citation-informed Transformers
- Understanding the Effects of Iterative Prompting on Truthfulness
- Software Engineering and Foundation Models: Insights from Industry Blogs Using a Jury of Foundation Models
- What's documented in AI? Systematic Analysis of 32K AI Model Cards
- Towards evaluating and eliciting high-quality documentation for intelligent systems
- A Methodology for Creating AI FactSheets
- Replacing Judges with Juries: Evaluating LLM Generations with a Panel of Diverse Models
- Progressive-Hint Prompting Improves Reasoning in Large Language Models
Related papers
- Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limits
- GitSkills: A Dataset of Agent Skills on GitHub
- For Coding Agents, the Repository Matters
- SABER: Benchmarking Operational Safety of LLM Coding Agents in Stateful Project Workspaces
- PackMonitor: Enabling Zero Package Hallucinations Through Decoding-Time Monitoring
- IntentCoding: Amplifying User Intent in Code Generation