miditok:一个用于 MIDI 文件分词(tokenization)的 Python 包
miditok: A Python package for MIDI file tokenization
AI总结:
本文介绍了开源 Python 包 MidiTok,它在统一 API 下集成多种主流符号音乐分词方法,为基于语言模型的音乐生成、建模与转录等任务提供灵活、易扩展的 MIDI 文件分词工具。
摘要:
自然语言处理领域的最新进展已被迁移到符号音乐模态中。诸如 Transformer 之类的语言模型已被用于符号音乐,以完成多种任务,其中包括音乐生成、建模或转录,并取得了当前最优(state-of-the-art)的性能。这些模型正开始被用于实际产品中。为了对骨干模型进行音乐编码和解码,它们需要依赖分词器(tokenizers),其作用是将音乐序列化为由不同元素组成的序列,这些元素被称为 token。MidiTok 是一个开源库,允许以极大的灵活性和扩展功能对符号音乐进行分词。它在统一 API 下提供了最流行的音乐分词方法。该库设计得易于使用,并且对所有人来说都易于扩展。
英文摘要:
Recent progress in natural language processing has been adapted to the symbolic music modality. Language models, such as Transformers, have been used with symbolic music for a variety of tasks among which music generation, modeling or transcription, with state-of-the-art performances. These models are beginning to be used in production products. To encode and decode music for the backbone model, they need to rely on tokenizers, whose role is to serialize music into sequences of distinct elements called tokens. MidiTok is an open-source library allowing to tokenize symbolic music with great flexibility and extended features. It features the most popular music tokenizations, under a unified API. It is made to be easily used and extensible for everyone.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。