Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
开源的音乐生成
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== MusicGen(Meta AudioCraft) === * '''主要功能''':MusicGen 是 Meta AI(Facebook)发布的文本生成音乐模型。给定文本描述(可选提供哼唱音频作为旋律参考),它能够生成对应风格的音乐片段 (facebook/musicgen-large · Hugging Face)。MusicGen 专注于'''纯音乐合成'''(主要是器乐曲),可以控制音乐的风格、氛围和长度等。 * '''技术栈''':基于自回归Transformer模型,结合了 Meta 提出的 EnCodec 神经音频编解码器来生成32kHz的音频 (facebook/musicgen-large · Hugging Face)。MusicGen 在超过20k小时的授权音乐数据上训练,包括内部高品质曲库及 Shutterstock/Pond5等素材。代码开源(AudioCraft 工具包)使用 PyTorch 实现,提供了小/中/大/旋律版共四种模型 (facebook/musicgen-large · Hugging Face)。模型权重以非商业许可开放(CC BY-NC 4.0) (facebook/musicgen-large · Hugging Face)。 * '''API''':没有官方商用API接口,但因其开源,可通过 Hugging Face 提供的推理API或自行部署服务器提供服务。也可使用 Hugging Face Transformers 库的Pipeline接口加载模型本地调用 (facebook/musicgen-large · Hugging Face)。使用模型本身不收取费用。 * '''部署方式''':支持本地部署,需要高性能GPU(推理大模型需≥16GB显存) (audiocraft/docs/MUSICGEN.md at main · facebookresearch/audiocraft · GitHub)。Meta 提供了 Colab 笔记和 Hugging Face Space 演示方便体验 (audiocraft/docs/MUSICGEN.md at main · facebookresearch/audiocraft · GitHub)。AudioCraft 框架也可用于自建服务。 * '''相关链接''':GitHub 项目(AudioCraft):<nowiki>https://github.com/facebookresearch/audiocraft;Hugging</nowiki> Face 模型卡:<nowiki>https://huggingface.co/facebook/musicgen-large</nowiki> (facebook/musicgen-large · Hugging Face)。
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)