Moshi: a speech-text foundation model for real-time dialogue
Paper โข 2410.00037 โข Published โข 21
Run mlx-community/mimi-encoder-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:
Use HF Jobs to fine-tune https://huggingface.co/mlx-community/mimi-encoder-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.
Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/mimi-encoder-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.
How to use mlx-community/mimi-encoder-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/mimi-encoder-mlx --local-dir mimi-encoder-mlx
The encoder half of Kyutai's Mimi neural audio codec,
converted to MLX format for native inference on Apple Silicon and consumed by the
xocialize/mimi-encoder-mlx-swift Swift
port. Refer to the original model card for full details.
[16, T] codebook-index grid at 12.5 Hz (1 semantic + 15 acoustic codebooks)encoder.safetensors โ the MLX encoder weights (fp32), extracted/converted from kyutai/mimi.import MimiCodecEncoder
let encoder = MimiEncoder(config: .qwen3TTS12Hz)
try encoder.loadWeights(from: encoderWeightsURL) // encoder.safetensors
let codes = encoder.encode(audio: audioArray) // [16, T]
CC-BY-4.0 (Kyutai) โ permissive, attribution required. This is a derivative (encoder-only,
format-converted) of kyutai/mimi; attribution to Kyutai is retained.
Quantized
Base model
kyutai/mimi