# lhotse-speech/lhotse

Tools for handling multimodal data in machine learning projects.

Repository: https://github.com/lhotse-speech/lhotse
Canonical: https://ross.abutalabs.com/products/lhotse
Homepage: https://lhotse.readthedocs.io/en/latest/
Language: Python
License: Apache-2.0
License Family: permissive
Topics: speech, audio, kaldi, machine-learning, ai, deep-learning, pytorch, data, python, speech-recognition
Last push: 2026-09-01T01:36:14+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 68, longevity 100
- inputs: {"age_days": 2322, "days_push": 2, "days_rel": 135, "gap_med": 41.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1149, forks 278 (observed 2026-09-01T02:14:03.710298+00:00)

## What it is
Lhotse is a Python library for flexible, scalable preparation of multimodal (speech, audio, video, image, text) data for machine learning, part of the next-generation Kaldi ecosystem. It provides data preparation recipes, efficient dataloading with bucketing and dataset blending, and sequential I/O formats for distributed training.

## Use cases
- prepare speech corpora for ASR model training
- build multimodal audio-text training pipelines in PyTorch
- blend and bucket audio datasets for efficient dataloading
- shard audio data for distributed multi-node training
- convert Kaldi data directories to a Python-friendly format
- deduplicate and randomize training data across GPUs

## When to choose
- you train speech or audio models in PyTorch and need scalable data pipelines
- you want Python-centric alternatives to Kaldi data preparation
- you need efficient on-the-fly bucketing or dataset blending for large audio corpora

## When to avoid
- you need a ready-made speech recognition model rather than data tooling
- your project is not Python/PyTorch based
- you only need simple one-off audio file conversions

## Facets
- artifact type: library
- maturity: active
- function: machine-learning, audio-processing, etl, data-science, sdk
- domain: speech-processing, machine-learning
- platform: python, cross-platform
- tags: speech-recognition, kaldi, pytorch, dataloader, multimodal, data-preparation, audio-cuts, dataset-blending, audio, data-engineering, natural-language-processing

## Member repositories
- lhotse-speech/lhotse (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:03.710298+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:33:45.537335+00:00, confidence not recorded.
  - readme: https://github.com/lhotse-speech/lhotse (fetched 2026-09-01T02:14:03.710298+00:00, sha 668c3eb16da8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
