← Latest papers
🤖 AI

Automatic Model Card Generation Using an LLM

This paper introduces MCTidy and MCGenie, two LLM-based systems that respectively standardize existing model cards and generate new ones from repository data, demonstrating their effectiveness in improving the scalability, consistency, and transparency of machine learning model documentation.

Original authors: Tajkia Rahman Toma, Balreet Grewal, Cor-Paul Bezemer

Published 2026-08-26
📖 4 min read☕ Coffee break read

Original authors: Tajkia Rahman Toma, Balreet Grewal, Cor-Paul Bezemer

Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the rapidly expanding world of artificial intelligence, machines are increasingly making decisions that affect human lives, from diagnosing illnesses to approving loans. As these systems become more powerful, a critical need has emerged for clear, honest documentation that explains how they work, what data trained them, and where they might fail. This documentation, known as a "model card," serves as a label or a biography for a machine learning model. It is meant to tell users exactly what they are dealing with, ensuring transparency and preventing misuse. However, in the current landscape, these cards are often missing entirely, written in inconsistent styles, or buried in technical jargon that few can understand. Without a standard way to present this information, comparing different models or understanding their limitations becomes a difficult, manual task for developers and researchers alike.

Two researchers from the University of Alberta, Tajkia Rahman Toma and Balreet Grewal, along with their colleague Cor-Paul Bezemer, set out to solve this problem by teaching computers to write these biographies for themselves. They utilized a type of advanced computer program known as a large language model, which is capable of reading vast amounts of text and generating human-like writing. The team developed two distinct tools to handle the documentation challenge. The first tool, which they named MCTidy, was designed to take existing, messy model cards and reorganize them into a clean, standard format. The second tool, called MCGenie, was built to do something even more ambitious: create a model card from scratch using only the raw files found in a model's digital repository, such as code, configuration settings, and academic papers.

To test these tools, the researchers gathered a collection of forty-eight popular machine learning models from a major online platform called Hugging Face. They first fed the existing model cards into MCTidy, instructing it to sort the information into a specific template that covers everything from the model's creators to its ethical limitations. The results were surprisingly effective. The system managed to keep nearly all the original information, retaining about ninety-four percent of the key details without losing the meaning. It successfully placed the content into the correct sections almost every time, with only a tiny fraction of information ending up in the wrong place. While the computer did occasionally invent a small amount of extra text or misinterpret a phrase, these errors were rare and mostly occurred in sections that require subjective judgment, such as describing who might use the model or what ethical concerns exist. Crucially, the tool produced consistent results; if the researchers ran the same task multiple times, the output remained nearly identical, proving that the reorganization was stable and reliable.

The second part of the study focused on MCGenie, which attempted to write model cards for models that had no documentation at all. The system was given access to the model's digital files, including the academic papers that described how the model was built, and asked to generate a full biography. The performance here was also strong. The generated cards were semantically very similar to the human-written versions, capturing the core facts and structure with high accuracy. More than half of the generated cards were entirely free of factual errors. When mistakes did occur, they were usually minor, such as a slight mismatch between a number in the text and a number in the source file, or a speculative guess about the model's purpose that wasn't explicitly stated in the source material. The researchers found that the quality of the output depended heavily on the availability of a specific type of source: the academic paper. When the paper was included, the generated card was rich and detailed; without it, the system struggled to fill in the necessary context, leaving many sections empty or vague.

The study concludes that these automated approaches offer a practical path forward for managing the explosion of artificial intelligence models. By using large language models to either tidy up existing documentation or generate new cards from raw data, it is possible to create standardized, transparent records at a scale that humans could not manage alone. While the tools are not perfect and still benefit from a final human review, particularly for checking the accuracy of specific numbers or ethical claims, they demonstrate that the tedious work of documentation can be largely automated. This shift could lead to a future where every machine learning model comes with a clear, consistent, and accessible guide, making the technology safer and more understandable for everyone who uses it.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →