We present ESPnet-SpeechLM, an open toolkit designed to democratize the development of speech language models (SpeechLMs) and voice-driven agentic applications. The toolkit standardizes speech processing tasks by framing them as universal sequential modeling problems, encompassing a cohesive workflow of data preprocessing, pre-training, inference, and task evaluation. With ESPnet-SpeechLM, users can easily define task templates and configure key settings, enabling seamless and streamlined SpeechLM development. The toolkit ensures flexibility, efficiency, and scalability by offering highly configurable modules for every stage of the workflow. To illustrate its capabilities, we provide multiple use cases demonstrating how competitive SpeechLMs can be constructed with ESPnet-SpeechLM, including a 1.7B-parameter model pre-trained on both text and speech tasks, across diverse benchmarks. The toolkit and its recipes are fully transparent and reproducible at: https://github.com/espnet/espnet/tree/speechlm.
翻译:我们推出ESPnet-SpeechLM,这是一个旨在普及语音语言模型(SpeechLMs)及语音驱动智能体应用开发的开源工具包。该工具包通过将语音处理任务统一为通用的序列建模问题,实现了任务标准化,涵盖数据预处理、预训练、推理和任务评估的完整工作流程。借助ESPnet-SpeechLM,用户可以轻松定义任务模板并配置关键设置,从而实现无缝且高效的SpeechLM开发。工具包通过为工作流程的每个阶段提供高度可配置的模块,确保了灵活性、高效性和可扩展性。为展示其能力,我们提供了多个用例,演示了如何使用ESPnet-SpeechLM构建具有竞争力的SpeechLM,包括一个在文本和语音任务上预训练的17亿参数模型,并在多种基准测试中进行了验证。该工具包及其配置方案完全透明且可复现,地址为:https://github.com/espnet/espnet/tree/speechlm。