---
pipeline_tag: text-to-speech
library_name: transformers
base_model: CohereLabs/tiny-aya-fire
base_model_relation: finetune
license: cc-by-nc-4.0
language:
- hi
- bn
- ta
- te
- mr
- gu
- kn
- ml
- pa
- or
- as
- ur
- ne
- sa
- mai
- mni
- brx
- doi
- kok
- sat
- ks
- en
tags:
- tts
- text-to-speech
- indic
- multilingual
- mimi
- speech
---
# rumik-oss 1 base
rumik-oss 1 base is a **3b multilingual text-to-speech model** from rumik ai, released at the end of named-speaker training, before the subsequent delivery-control fine-tuning and reinforcement learning used for [rumik-oss 1](https://huggingface.co/rumik-ai/rumik-oss-1). it supports speaker-conditioned synthesis with **24 khz audio output** and provides a starting point for further speech-model training and adaptation.
## model overview
our [blog](https://rumik.ai/research/rumik-oss) describes the training curriculum and development of rumik-oss 1.
the model extends tiny aya fire with discrete audio tokens from the mimi codec. following the flattened codec-token formulation used in [llama-mimi](https://arxiv.org/abs/2509.14882), a single causal transformer predicts eight codebook tokens per audio frame before advancing to the next frame. the frozen mimi decoder reconstructs the generated sequence as a waveform.
training progresses from english speech generation to indic-language continuation and named-speaker adaptation. the released checkpoint includes **ira, aisha, siya, and zoya** and accepts native-script, romanized, or code-switched text. speaker conditioning uses a name prefix followed by the text to synthesize.
this base release has not undergone description-conditioned delivery or inline vocalization training. use the [post-trained model](https://huggingface.co/rumik-ai/rumik-oss-1) for tone, accent, pace, and vocalization controls.
## inference
rumik-oss 1 base generates **audio tokens**. decoding them to a waveform is a
separate step that uses the [mimi](https://huggingface.co/kyutai/mimi) codec,
bundled in this repository under `codec/`.
`transformers.pipeline("text-to-speech")` is not supported for this model.
use the [one-shot example](#one-shot-example) to generate audio tokens with
`generate_audio()` and decode them into a waveform with mimi.
### installation
```bash
pip install -r requirements.txt
```
requires an nvidia gpu with cuda support. the one-shot example below also
needs `soundfile` to write a wav.
### one-shot example
text in, `speech.wav` out:
```python
"""rumik-oss 1 base: text -> speech.wav"""
import soundfile as sf
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, MimiModel
REPO = "rumik-ai/rumik-oss-1-base"
SPEAKER = "Ira"
TEXT = "Hello, how are you today?"
tokenizer = AutoTokenizer.from_pretrained(REPO, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
REPO, trust_remote_code=True, dtype=torch.bfloat16
).eval().cuda()
mimi = MimiModel.from_pretrained(REPO, subfolder="codec").eval().cuda()
# [BOS] Ira: text