基于LLM的自动模型卡片生成

Automatic Model Card Generation Using an LLM

精选理由

这篇论文提出了两个基于LLM的模型卡片生成方法,MCTidy和MCGenie,对于模型卡片的一致性和可比较性有显著提升,值得一读。

AI 摘要

本文提出MCTidy和MCGenie,分别用于整理和生成模型卡片,提高模型卡片的一致性和可比较性。MCTidy将48个Hugging Face模型卡片整理成标准化模板,MCGenie直接从模型仓库数据生成模型卡片。结果显示,MCTidy在信息保留、章节对齐、幻觉和稳定性方面表现良好;MCGenie生成的模型卡片在语义相似度、事实正确性和对输入资源的敏感性方面表现优异。

原文 · arXiv cs.AI

Automatic Model Card Generation Using an LLM

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.