中文简介
facebook/musicgen-medium 是 facebook 在 Hugging Face 发布的模型仓库,当前卡片主要关联上游卡片所列任务。本站固定记录上游版本 d3bd7b00761b,同步到 12 个文件,文件元数据合计 33.60 GB;访问状态为“公开”,许可证字段为“cc-by-nc-4.0”。
上游模型卡 / 数据集卡
【README 卡片中文译介】
以下内容依据上游仓库 facebook/musicgen-medium 的固定版本 README、卡片字段和文件元数据进行中文结构化整理。它保留便于选型的关键信息,完整技术细节、代码示例和许可文本请同时查看上游原文。
【资源概览】
facebook/musicgen-medium 是 facebook 在 Hugging Face 发布的模型仓库,当前卡片主要关联上游卡片所列任务。本站固定记录上游版本 d3bd7b00761b,同步到 12 个文件,文件元数据合计 33.60 GB;访问状态为“公开”,许可证字段为“cc-by-nc-4.0”。
【适用方向】
适合在真实样本上评估上游卡片所列任务能力,并比较质量、时延和资源消耗。 建议先用小规模样本验证推理框架、输入输出格式和任务指标,再决定是否进入完整权重获取、量化或部署评估。
【版本与规格】
固定版本:d3bd7b00761b。 任务标签:上游卡片所列任务。 架构:MusicgenForConditionalGeneration。 库标记:transformers。 模型类型字段:musicgen。 上游页面记录的最近更新时间:2023-11-17。
【文件信息】
上游 API 返回 12 个文件,文件元数据合计 33.60 GB。 已保存文件清单中的主要扩展名:.json 6 个、.bin 3 个、.md 1 个、.model 1 个、无扩展名 1 个。 当前较大的文件包括:pytorch_model.bin(7.49 GB);state_dict.bin(3.43 GB);compression_state_dict.bin(225.07 MB)。
【运行或处理环境】
仓库文件元数据合计 33.60 GB。 实际显存与内存由精度、量化方式、上下文长度、批量、并发、MoE 专家加载方式和推理框架共同决定,不能只凭参数名或仓库大小作部署承诺;应在目标格式和目标硬件上实测。
【使用边界】
许可证显示为“cc-by-nc-4.0”,具体用途限制、附加政策和归属要求仍以上游原文为准。 模型输出、工具调用和生成内容可能出现错误、偏见或安全风险,面向业务前应建立任务级评测、权限隔离和人工确认。
MusicGen - Medium - 1.5B MusicGen is a text-to-music model capable of genreating high-quality music samples conditioned on text descriptions or audio prompts. It is a single stage auto-regressive Transformer model trained over a 32kHz EnCodec tokenizer with 4 codebooks sampled at 50 Hz. Unlike existing methods, like MusicLM, MusicGen doesn't require a self-supervised semantic representation, and it generates all 4 codebooks in one pass. By introducing a small delay between the codebooks, we show we can predict them in parallel, thus having only 50 auto-regressive steps per second of audio. MusicGen was published in Simple and Controllable Music Generation by *Jade Copet, Felix Kreuk, Itai Gat, Tal Remez, David Kant, Gabriel Synnaeve, Yossi Adi, Alexandre Défossez*. Four checkpoints are released: small **medium** (this checkpoint) large melody Example Try out MusicGen yourself! Audiocraft Colab: Hugging Face Colab: Hugging Face Demo: 🤗 Transformers Usage You can run MusicGen locally with the 🤗 Transformers library from version 4.31.0 onwards. 1. First install the 🤗 Transformers library and scipy: 2. Run inference via the `Text-to-Audio` (TTA) pipeline. You can infer the MusicGen model via the TTA pipeline in just a few lines of code! 3. Run inference via the Transformers modelling code. You can use the processor + generate code to convert text into a mono 32 kHz audio waveform for more fine-grained control. 3. Listen to the audio samples either in an ipynb notebook: Or save them as a `.wav` file using a third-party library, e.g. `scipy`: For more details on using the MusicGen model for inference using the 🤗 Transformers library, refer to the MusicGen docs. Audiocraft Usage You can also run MusicGen locally through the original Audiocraft library: 1. First install the `audiocraft` library 2. Make sure to have `ffmpeg` installed: 3. Run the following Python code: Model details Organization developing the model:** The FAIR team of Meta AI. Model date:** MusicGen was tra
适用场景
适合在真实样本上评估上游卡片所列任务能力,并比较质量、时延和资源消耗。 建议先用小规模样本验证推理框架、输入输出格式和任务指标,再决定是否进入完整权重获取、量化或部署评估。
模型参数
固定版本:d3bd7b00761b。 任务标签:上游卡片所列任务。 架构:MusicgenForConditionalGeneration。 库标记:transformers。 模型类型字段:musicgen。 上游页面记录的最近更新时间:2023-11-17。
文件说明
上游 API 返回 12 个文件,文件元数据合计 33.60 GB。 已保存文件清单中的主要扩展名:.json 6 个、.bin 3 个、.md 1 个、.model 1 个、无扩展名 1 个。 当前较大的文件包括:pytorch_model.bin(7.49 GB);state_dict.bin(3.43 GB);compression_state_dict.bin(225.07 MB)。
上游文件元数据
.gitattributes1.44 KBcompression_state_dict.bin225.07 MBconfig.json7.68 KBgeneration_config.json224 Bpreprocessor_config.json275 Bpytorch_model.bin7.49 GBREADME.md12.02 KBspecial_tokens_map.json2.15 KBspiece.model773.10 KBstate_dict.bin3.43 GBtokenizer.json2.31 MBtokenizer_config.json2.31 KB
硬件建议
仓库文件元数据合计 33.60 GB。 实际显存与内存由精度、量化方式、上下文长度、批量、并发、MoE 专家加载方式和推理框架共同决定,不能只凭参数名或仓库大小作部署承诺;应在目标格式和目标硬件上实测。
注意事项
许可证显示为“cc-by-nc-4.0”,具体用途限制、附加政策和归属要求仍以上游原文为准。 模型输出、工具调用和生成内容可能出现错误、偏见或安全风险,面向业务前应建立任务级评测、权限隔离和人工确认。
获取、校验与交付
咨询此资源时只需发送本页链接或资源准确全称。橙子AI科技会继续核对版本、文件与类型、README资料卡、许可证和访问条件,并在合法访问权限、许可证及平台规则允许的前提下,协助海内外下载、完整性校验及网盘或硬盘交付;本官网本身不托管或下载资源文件。
- 大模型获取与国内转存服务
- 大模型怎么下载:Hugging Face 官方方式与国内交付完整指南
- 国内下载 Hugging Face 模型很慢或经常中断怎么办
- DeepSeek、ChatGPT、豆包、Kimi 能否下载到本地
本页面为橙子AI科技基于固定版本上游卡片整理的中文信息与服务说明,不代表资源作者或平台官方页面。实际许可、访问和使用条件以上游原文为准。