vanch007/Ming-3.0-tts-0.5b-mlx-bf16

来源:🤗text-to-speechapache-2.0激活 500M3.3 GBother✓ 8 个校验和4 天前更新
或提交种子

vanch007/Ming-3.0-tts-0.5b-mlx-bf16

This is the pure Apple Silicon MLX port of inclusionAI/Ming-3.0-tts-0.5b in BFloat16 (Full Precision).

  • Weight Format: Pure MLX safetensors (3.08 GB)
  • Acoustic Engine: Native mx.fft.irfft + MLX Overlap-Add (zero NumPy/PyTorch vocoder runtime dependency)
  • Token Protocol: Fixed ChatML <|im_end|> instruction EOS token contract
  • Attention: Exact Qwen2 sliding_window=64 audio decoder attention alignment

🎧 本地生成测试音频 (Sample Audios)

当前权重在 Apple Silicon 芯片上实测生成的代表性音频切片:

测试场景能力 测试朗读文本 试听链接
零样本声音克隆 雨后的山谷很安静,远处亮起了一盏温暖的灯。 点击收听音频
中文行内笑声控制 [Laughter] 你居然真的把那封信藏在旧钟后面了。 点击收听音频
多语种拓展:日语 あなた、ご自分のことばかりですのね。 点击收听音频
方言控制:四川话 今天天气巴适得很,我们一起出去转哈嘛。 点击收听音频
官方内置音色:灵小萌 夜晚的微风吹散了白天的喧嚣,愿好梦常伴你左右。 点击收听音频

🚀 快速使用 (Quick Start)

克隆项目仓库并直接加载本模型:

git clone https://github.com/inclusionAI/Ming-3.0-tts mlx-Ming-3.0-tts
cd mlx-Ming-3.0-tts

# 1. 直接下载本仓库模型
huggingface-cli download vanch007/Ming-3.0-tts-0.5b-mlx-bf16 --local-dir Ming-3.0-tts-0.5b-mlx-bf16

# 2. 一键语音合成
python3 -m mlx_ming_tts.pipeline   --model-dir Ming-3.0-tts-0.5b-mlx-bf16   --text "你好,这是纯MLX架构驱动的Ming语音合成系统。"   --ip "灵小萌"   --out "output.wav"

# 3. 零样本声音克隆 (Zero-Shot Voice Cloning)
python3 -m mlx_ming_tts.pipeline   --model-dir Ming-3.0-tts-0.5b-mlx-bf16   --ref-audio "path/to/reference.wav"   --prompt-text "参考音频对应的准确文本"   --text "需要使用该参考声音朗读的新文本"   --out "cloned.wav"