metadata
license: cc-by-4.0
language:
- nl
- fr
- de
- it
- pl
- pt
- es
task_categories:
- text-to-speech
- automatic-speech-recognition
tags:
- mimi
- neural-codec
- multilingual
- mls
- multilingual-librispeech
- audio-tokens
pretty_name: Multilingual LibriSpeech Mimi Codes
size_categories:
- 1M<n<10M
dataset_info:
config_name: french
features:
- name: id
dtype: string
- name: text
dtype: string
- name: speaker_id
dtype: int32
- name: chapter_id
dtype: int32
- name: codes
list:
list: int16
- name: n_frames
dtype: int32
- name: k_codebooks
dtype: int32
splits:
- name: train
num_bytes: 852441433
num_examples: 258213
- name: dev
num_bytes: 7954445
num_examples: 2416
- name: test
num_bytes: 7995660
num_examples: 2426
- name: 9_hours
num_bytes: 7116061
num_examples: 2167
- name: 1_hours
num_bytes: 783357
num_examples: 241
download_size: 588821755
dataset_size: 876290956
configs:
- config_name: french
data_files:
- split: train
path: french/train-*
- split: dev
path: french/dev-*
- split: test
path: french/test-*
- split: 9_hours
path: french/9_hours-*
- split: 1_hours
path: french/1_hours-*
Multilingual LibriSpeech (MLS) — Mimi Codes
Pre-extracted Kyutai Mimi neural-codec tokens for Multilingual LibriSpeech — LibriVox audiobooks in 7 non-English languages.
English is intentionally excluded — use shangeth/librispeech-mimi-codes for that.
Configs (languages)
One HF dataset config per language:
| Config | Language | ISO | Approx hours (train) |
|---|---|---|---|
dutch |
Dutch | nl | ~1.5k |
french |
French | fr | ~1.1k |
german |
German | de | ~3.3k |
italian |
Italian | it | ~250 |
polish |
Polish | pl | ~100 |
portuguese |
Portuguese | pt | ~160 |
spanish |
Spanish | es | ~920 |
Splits (per config)
| Split | Description |
|---|---|
train |
full training set |
dev |
development |
test |
test |
9_hours |
low-resource ~9h training subset |
1_hours |
low-resource ~1h training subset |
Schema
| Column | Type | Notes |
|---|---|---|
id |
string | utterance ID, format {speaker}_{chapter}_{segment} |
text |
string | transcript, mixed-case as-is from MLS |
speaker_id |
int32 | speaker ID (parsed from MLS string) |
chapter_id |
int32 | chapter ID |
codes |
int16[k=8][n_frames] |
Mimi codebook indices @ 12.5 fps |
n_frames |
int32 | |
k_codebooks |
int32 | 8 |
Extraction details
- Codec:
kyutai/mimi@ 24 kHz, 12.5 fps - Resampling: MLS audio is 48 kHz opus → resampled to 24 kHz at extraction
- Codebooks: all 8 extracted; slice
codes[:k]for fewer - Source:
facebook/multilingual_librispeech
Usage
from datasets import load_dataset
import torch
ds = load_dataset("shangeth/mls-mimi-codes", "german", split="dev")
ex = ds[0]
codes = torch.tensor(ex["codes"], dtype=torch.long) # [8, n_frames]
print(ex["id"], "| speaker:", ex["speaker_id"], "|", ex["text"][:60])
# Decode back to 24 kHz audio
from transformers import MimiModel
mimi = MimiModel.from_pretrained("kyutai/mimi").cuda().eval()
with torch.no_grad():
wav = mimi.decode(codes.unsqueeze(0).cuda()).audio_values[0].cpu()
Citation
@misc{wren2026,
title = {Wren: A Family of Small Open-Weight Models for Unified Speech-Text Modelling},
author = {Shangeth Rajaa},
year = {2026},
url = {https://github.com/shangeth/wren}
}
@inproceedings{pratap2020mls,
title = {MLS: A Large-Scale Multilingual Dataset for Speech Research},
author = {Pratap, Vineel and Xu, Qiantong and Sriram, Anuroop and Synnaeve, Gabriel and Collobert, Ronan},
booktitle = {Interspeech},
year = {2020}
}
License
CC-BY-4.0 (inherited from MLS / LibriVox).