ZhiJian:一个统一且可快速部署的预训练模型复用工具箱
ZhiJian: A Unifying and Rapidly Deployable Toolbox for Pre-trained Model Reuse
AI总结:
本文提出 ZhiJian 工具箱,基于 PyTorch 统一预训练模型的架构构建、模型调优与推理复用流程,支持快速部署并帮助研究者比较不同方法的互补优势。
摘要:
基础预训练模型及其微调版本的快速扩展,显著推动了机器学习的发展。利用预训练模型提取知识并加快真实任务中的学习,这一过程被称为“模型复用”,已在各类应用中变得至关重要。以往研究侧重于从某个特定方面复用模型,包括复用模型权重、结构和假设空间。本文介绍了 ZhiJian,这是一个基于 PyTorch 后端、面向模型复用的全面且易用的工具箱。ZhiJian 提出了一种新范式,统一了关于模型复用的不同视角,涵盖使用 PTM 构建目标架构、使用 PTM 调优目标模型,以及基于 PTM 的推理。这使深度学习从业者能够探索下游任务,并发现不同方法之间的互补优势。ZhiJian 已在 https://github.com/zhangyikaii/lamda-zhijian 开放,便于研究人员和开发者无缝利用预训练模型,并简化模型复用流程。
英文摘要:
The rapid expansion of foundation pre-trained models and their fine-tuned counterparts has significantly contributed to the advancement of machine learning. Leveraging pre-trained models to extract knowledge and expedite learning in real-world tasks, known as "Model Reuse", has become crucial in various applications. Previous research focuses on reusing models within a certain aspect, including reusing model weights, structures, and hypothesis spaces. This paper introduces ZhiJian, a comprehensive and user-friendly toolbox for model reuse, utilizing the PyTorch backend. ZhiJian presents a novel paradigm that unifies diverse perspectives on model reuse, encompassing target architecture construction with PTM, tuning target model with PTM, and PTM-based inference. This empowers deep learning practitioners to explore downstream tasks and identify the complementary advantages among different methods. ZhiJian is readily accessible at https://github.com/zhangyikaii/lamda-zhijian facilitating seamless utilization of pre-trained models and streamlining the model reuse process for researchers and developers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。