Audio-to-Audio
MLX
moonbox
meanvc2
voice-conversion
zero-shot
streaming
wavlm
multilingual
apple-silicon
Run this model with HF Jobs
Run moonbox-dev/MeanVC2-MLX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/moonbox-dev/MeanVC2-MLX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/moonbox-dev/MeanVC2-MLX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use moonbox-dev/MeanVC2-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-dev/MeanVC2-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download moonbox-dev/MeanVC2-MLX --local-dir MeanVC2-MLX
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download NOTICE from moonbox-dev/MeanVC2-MLX: direct link, hf CLI and curl.
- Browser
- Download file 1.84 kB
-
https://huggingface.co/moonbox-dev/MeanVC2-MLX/resolve/main/NOTICE
- Command line
-
hf download hf://moonbox-dev/MeanVC2-MLX/NOTICE
-
curl -L -o NOTICE https://huggingface.co/moonbox-dev/MeanVC2-MLX/resolve/main/NOTICE
1.84 kB
| MeanVC2 by ASLP-lab (Northwestern Polytechnical University). The voice-conversion DiTs, the FastU2++ content encoder | |
| and the Vocos vocoder (ASLP-lab/MeanVC2) are licensed under the Apache License 2.0 (per the original model card). The | |
| original authors ask that voices be converted only with the consent of the people whose voices are used. | |
| speaker.safetensors is an adaptation of Microsoft's WavLM-Large speaker-verification model (wavlm_large_finetune.pth, | |
| github.com/microsoft/UniSpeech, downstreams/speaker_verification; Copyright (c) Microsoft Corporation), licensed under | |
| Creative Commons Attribution-ShareAlike 3.0 Unported (LICENSE.CC-BY-SA-3.0, | |
| https://creativecommons.org/licenses/by-sa/3.0/). speaker.safetensors is distributed under the same licence. Its | |
| WavLM-Large backbone comes from Microsoft's WavLM (github.com/microsoft/unilm), MIT licence (LICENSE.MIT-WavLM). | |
| Changes by Moonbox (moonbox-dev): the weights of ASLP-lab/MeanVC2 (revision 39cdd19522fe896c227da691314d9a0e3b995486: | |
| meanvc2_120ms_40ms.safetensors, meanvc2_40ms_40ms.safetensors, fastu2pp_160ms.pt, fastu2pp_80ms.pt, vocos.pt) and of | |
| wavlm_large_finetune.pth (sha256 51f07e3b94d9e0262a6a675ef5a087be3dd09e8c62e9d886827f44f82fe7f94b) were converted to | |
| MLX safetensors for mlx_model.py, a reimplementation of the official infer_e2e.py in MLX: renamed and transposed to | |
| MLX layouts, only the parts the official inference runs kept (FastU2++'s subsampling, first 6 encoder layers and | |
| final norm, the same in both archives; no decoders or CTC heads; no training loss head), WavLM's weight-normalised | |
| positional convolution folded into one weight, every weight cast to float16 (bfloat16 in bf16/), and in the 8bit / 6bit / 4bit folders | |
| the speaker encoder's Linear layers quantized to 8, 6 or 4 bits (MLX affine, group size 64). Nothing was retrained or | |
| fine-tuned. | |