arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.09506cs.SDcs.AIeess.AS
收藏

ESPnet-EZ: 用于轻松微调与集成的纯Python版ESPnet

ESPnet-EZ: Python-only ESPnet for Easy Fine-tuning and Integration

Carnegie Mellon University(卡内基梅隆大学);Hugging Face

Masao Someki, Kwanghee Choi, Siddhant Arora, William Chen, Samuele Cornell, Jionghao Han, Yifan Peng, Jiatong Shi, Vaibhav Srivastav, Shinji Watanabe

AI总结:

本研究推出纯Python版语音工具包ESPnet-EZ,作为ESPnet的扩展,它通过无Bash设计简化模型微调、推理与主流深度学习框架集成,大幅降低开发成本,代码已开源。

摘要:

我们推出ESPnet-EZ,它是开源语音处理工具包ESPnet的扩展,旨在快速便捷地开发语音模型。ESPnet-EZ聚焦两大核心方向:(1)可针对各类任务轻松对现有ESPnet模型进行微调和推理;(2)可轻松与PyTorch-Lightning、Hugging Face transformers及datasets、Lhotse等主流深度神经网络框架集成。我们用纯Python、无Bash的交互界面,替换了ESPnet承袭自Kaldi的设计方案,大幅降低了构建、调试和使用新模型所需的工作量。例如,在微调语音基础模型时,与ESPnet相比,ESPnet-EZ的新增代码量减少2.7倍,依赖代码量减少6.7倍,同时大幅降低了对Bash脚本的依赖。ESPnet-EZ的代码库已公开。

英文摘要:

We introduce ESPnet-EZ, an extension of the open-source speech processing toolkit ESPnet, aimed at quick and easy development of speech models. ESPnet-EZ focuses on two major aspects: (i) easy fine-tuning and inference of existing ESPnet models on various tasks and (ii) easy integration with popular deep neural network frameworks such as PyTorch-Lightning, Hugging Face transformers and datasets, and Lhotse. By replacing ESPnet design choices inherited from Kaldi with a Python-only, Bash-free interface, we dramatically reduce the effort required to build, debug, and use a new model. For example, to fine-tune a speech foundation model, ESPnet-EZ, compared to ESPnet, reduces the number of newly written code by 2.7x and the amount of dependent code by 6.7x while dramatically reducing the Bash script dependencies. The codebase of ESPnet-EZ is publicly available.

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

↑