NotaGen: A cutting-edge AI model for generating classical music through advanced machine learning techniques.
更新时间:2025-03-11 14:22:34
NotaGen is a state-of-the-art model designed for generating symbolic music, specifically high-quality classical sheet music. Built upon the advancements of Large Language Models (LLMs), the system employs a sophisticated three-stage training method. First, it undergoes extensive pre-training on 1.6 million musical pieces. Next, it is fine-tuned on approximately 9,000 classical compositions using a specialized \\"period-composer-instrumentation\\" prompt. Finally, the model is optimized via Reinforcement Learning (RL) using the innovative CLaMP-DPO method, eliminating the need for human annotations or predefined rewards. This enables NotaGen to create compositions that are both diverse and musically coherent.
Using NotaGen involves setting up an environment with Python 3.10 and dependencies such as PyTorch and accelerate. Users can choose from different pre-trained model versions (small, medium, or large) based on their computational capabilities. After installation, the model can be used to generate music by inputting prompts related to periods, composers, and instruments. The model can also be further fine-tuned or optimized using the built-in tools for reinforcement learning, offering users the flexibility to experiment with different styles and compositions.
NotaGen is available for free under an open-source license. Pre-trained models are available for download at Hugging Face, with the smaller versions being suitable for lower-end systems. Users can fine-tune and optimize the models based on their individual needs or deploy them in a cloud environment for large-scale music generation.
The project is developed and maintained by ElectricAlexis, an independent researcher and developer focused on advancing AI-driven music generation models.
For inquiries, you can contact the developers via the GitHub repository at: [ElectricAlexis on GitHub](https://github.com/ElectricAlexis)
Follow NotaGen's updates on social media: - Twitter: @ElectricAlexis - Instagram: @electric.alexis