Instructions to use zealerx/dots.tts.edit-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use zealerx/dots.tts.edit-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download zealerx/dots.tts.edit-mlx --local-dir dots.tts.edit-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
dots.tts.edit for MLX
Speech editing (substitute, insert or delete words; change emotion, pitch, rate, pauses) with dots.tts.edit by studio-dots-ai, in MLX on top of sb1992/dots-tts-mlx. Layout of sb1992/dots-tts-mlx: the LM, patch encoder and DiT kept bf16 as released; the AudioVAE (weight norm folded) and CAM++ in float32.
Converted from dots-studio/dots.tts.edit with speech-mlx. Runs without PyTorch.
Use
pip install "speech-mlx[indextts,dots] @ git+https://github.com/xiaozealer/speech-mlx"
import mlx.core as mx
from speech_mlx.dots_edit.model import EditModel
ed = EditModel.from_pretrained("zealerx/dots.tts.edit-mlx", dtype=mx.float32)
inputs = ed.prepare("source.wav", "edited transcript", "source transcript")
wave, _ = ed.edit(inputs) # 48 kHz
Parity with the original
In float32 an edit with the same noise matches the PyTorch release.
Details: docs/PARITY.md.
Licence
The licence of the original model applies (licence file in this repo).
- Downloads last month
- 14
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for zealerx/dots.tts.edit-mlx
Base model
dots-studio/dots.tts.edit