迈向 Hugging Face 上开放预训练语言模型发布的语义化版本控制
Towards Semantic Versioning of Open Pre-trained Language Model Releases on Hugging Face
AI总结:
本文通过混合方法实证分析 Hugging Face 上 52,227 个 PTLM 发布,揭示命名、文档、版本区分与透明度问题,为语义化版本规范提供依据。
摘要:
在 Hugging Face(HF)等模型注册平台上,开放预训练语言模型(PTLM)的激增,为围绕这些模型构建产品的公司带来了机遇,也带来了挑战。与传统软件依赖类似,PTLM 在发布后仍会持续演进。然而,模型注册平台上 PTLM 当前的发布实践受到多种不一致问题的困扰,例如命名约定含糊以及模型训练文档无法获取。鉴于当前对 PTLM 发布实践的认识不足,我们的实证研究采用混合方法,分析了最知名模型注册平台 HF 上 52,227 个 PTLM 的发布情况。结果显示,PTLM 发布存在 148 种不同的命名实践,其中 40.87% 的模型权重文件变更未在所采用的基于名称的版本控制实践或其文档中体现。此外,我们发现这 52,227 个 PTLM 仅源自 299 个不同的基础模型(即用于创建这 52,227 个 PTLM 的、经过修改的原始模型),而微调和量化是应用于这些基础模型的最常见修改方法。在训练数据集规格和模型卡可用性方面,发布透明度仍存在显著缺口,凸显了标准化文档的必要性。虽然我们识别出一种明确区分 PTLM 主版本和次版本发布的模型命名实践,但并未发现进入这两类发布的变更类型存在显著差异,这表明 PTLM 的主/次版本号通常是任意选择的。我们的发现为改进 PTLM 发布实践提供了有价值的见解,推动该领域走向更正式的语义化版本控制实践。
英文摘要:
The proliferation of open Pre-trained Language Models (PTLMs) on model registry platforms like Hugging Face (HF) presents both opportunities and challenges for companies building products around them. Similar to traditional software dependencies, PTLMs continue to evolve after a release. However, the current state of release practices of PTLMs on model registry platforms are plagued by a variety of inconsistencies, such as ambiguous naming conventions and inaccessible model training documentation. Given the knowledge gap on current PTLM release practices, our empirical study uses a mixed-methods approach to analyze the releases of 52,227 PTLMs on the most well-known model registry, HF. Our results reveal 148 different naming practices for PTLM releases, with 40.87% of changes to model weight files not represented in the adopted name-based versioning practice or their documentation. In addition, we identified that the 52,227 PTLMs are derived from only 299 different base models (the modified original models used to create 52,227 PTLMs), with Fine-tuning and Quantization being the most prevalent modification methods applied to these base models. Significant gaps in release transparency, in terms of training dataset specifications and model card availability, still exist, highlighting the need for standardized documentation. While we identified a model naming practice explicitly differentiating between major and minor PTLM releases, we did not find any significant difference in the types of changes that went into either type of releases, suggesting that major/minor version numbers for PTLMs often are chosen arbitrarily. Our findings provide valuable insights to improve PTLM release practices, nudging the field towards more formal semantic versioning practices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。