--- license: apache-2.0 language: - en - de - ar - zh - es - ko pipeline_tag: text-to-speech library_name: mlx base_model: nineninesix/kani-tts-370m tags: - mlx --- # nineninesix/kani-tts-370m-MLX This model [nineninesix/kani-tts-370m-MLX](https://huggingface.co/nineninesix/kani-tts-370m-MLX) was converted to MLX format from [nineninesix/kani-tts-370m](https://huggingface.co/nineninesix/kani-tts-370m) using mlx-lm version **0.28.2**. ## Use with mlx ```bash pip install mlx-lm ``` ```python from mlx_lm import load, generate model, tokenizer = load("nineninesix/kani-tts-370m-MLX") prompt = "hello" if tokenizer.chat_template is not None: messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) response = generate(model, tokenizer, prompt=prompt, verbose=True) ```