arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.17644cs.CLcs.CVcs.LG
收藏

torchdistill 与 Hugging Face 库结合实现可复现、免编码的深度学习研究:以自然语言处理为例

torchdistill Meets Hugging Face Libraries for Reproducible, Coding-Free Deep Learning Studies: A Case Study on NLP

University of California, Irvine(加利福尼亚大学欧文分校)

Yoshitomo Matsubara

AI总结:

本文提出torchdistill框架的重大升级版,通过与Hugging Face库集成实现免编码的深度学习研究复现,成功复现BERT在GLUE基准上的结果并发布27个微调模型,同时扩展支持计算机视觉任务。

摘要:

随着深度学习推动研究领域的快速发展,可复现性在机器学习、自然语言处理和计算机视觉等研究社区中变得越来越重要。本文提出了 torchdistill 的重大升级版本,这是一个模块化驱动、免编码的深度学习框架,相比最初仅支持图像分类和目标检测任务的可复现知识蒸馏实验的版本有了显著改进。为证明升级后的框架能够借助第三方库支持更多任务,我们使用基于升级版 torchdistill 的脚本,与多个 Hugging Face 库协调配合,复现了 BERT 模型在 GLUE 基准上的结果。用于复现结果的全部 27 个微调 BERT 模型及配置已在 Hugging Face 上发布,模型权重已被研究社区广泛使用。我们还重新实现了流行的小型模型和新的知识蒸馏方法,并针对计算机视觉任务进行了额外实验。

英文摘要:

Reproducibility in scientific work has been becoming increasingly important in research communities such as machine learning, natural language processing, and computer vision communities due to the rapid development of the research domains supported by recent advances in deep learning. In this work, we present a significantly upgraded version of torchdistill, a modular-driven coding-free deep learning framework significantly upgraded from the initial release, which supports only image classification and object detection tasks for reproducible knowledge distillation experiments. To demonstrate that the upgraded framework can support more tasks with third-party libraries, we reproduce the GLUE benchmark results of BERT models using a script based on the upgraded torchdistill, harmonizing with various Hugging Face libraries. All the 27 fine-tuned BERT models and configurations to reproduce the results are published at Hugging Face, and the model weights have already been widely used in research communities. We also reimplement popular small-sized models and new knowledge distillation methods and perform additional experiments for computer vision tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑