Listenr
Build better speech-to-text and ASR models entirely on your machine.
Record your voice. Clean it up with local AI. Fine-tune Whisper or Moonshine. Deploy something that's actually yours.
Walkthrough | Setup | Configuration | Recording | Dataset | Troubleshooting
How it works
- Create good data - Use Listenr to record and collect natural speech with domain-specific vocabulary that generic models miss.
- Process & improve - Pipe it through Lemonade or any OpenAI-compatible provider to transcribe with Whisper and automatically correct grammar, punctuation, and homophones using a local LLM.
- Fine-tune & deploy - Use Listenr to build train/dev/test splits and fine-tune Whisper or Moonshine with LoRA. Merge the adapter into a self-contained model you can deploy.
Everything stays local - no audio, text, or weights ever leave on your machine.
Get started
Install Lemonade and pull models:
Lemonade guide: lemonade-server.ai/docs/guide/install
# after installing locally, download default models
lemonade pull Whisper-Base
lemonade pull gpt-oss-20b-mxfp4-GGUF
Install Listenr and start recording:
uv tool install listenr # or: pipx install listenr
listenr record # start recording
On PyPI. Python 3.11 or newer. The core install covers recording, transcription and dataset building; fine-tuning and the dataset importers live behind extras, listed in docs/setup.md.
On an AMD GPU, install a ROCm torch before the finetune extra, or pip will
resolve a CUDA wheel that cannot see your card. See
docs/setup.md.
Working on Listenr itself? Clone the repo and uv pip install -e ".[dev]" instead.
Once you have recordings, process & fine-tune:
# Build train/dev/test splits from your manifest
listenr build-dataset --format hf
# Fine-tune Whisper or Moonshine (see docs/finetune-amd.md for AMD GPUs)
podman compose run --rm finetune
# Merge the LoRA adapter into a standalone model
podman compose run --rm merge
# Evaluate it on the held-out test split
listenr eval --compare-base --keyword YourDomainWord
See docs/setup.md for full installation details.
If you want to mix in an external ASR dataset, use the optional importers to
write a separate Listenr-compatible manifest: listenr import-mdc <dataset-id>
(Mozilla Data Collective) or listenr import-hf <dataset-id> (Hugging Face): then pass that manifest to listenr build-dataset alongside your normal one.
See docs/dataset.md for details.
Under the hood
Recording & transcription - Listenr streams your microphone to Lemonade's /realtime WebSocket in ~85 ms chunks (16 kHz). Lemonade's voice activity detection segments speech, runs Whisper.cpp, and streams back transcripts.
Auto-correction - A local LLM cleans up punctuation, grammar, and homophones, producing a higher-quality training corpus than raw Whisper output alone.
Dataset & fine-tuning - Listenr saves each utterance as a .wav clip and a line in manifest.jsonl. One command builds train/dev/test splits in HuggingFace format. Another command fine-tunes any openai/whisper-* or UsefulSensors/moonshine-* model using LoRA (works on AMD and NVIDIA GPUs via Podman). Moonshine is the smaller, edge-oriented option with one language per checkpoint (English, or a moonshine-ai/*-<lang> variant), and can be fine-tuned onto a new language; Whisper is the multilingual all-rounder.
Deployment - listenr merge folds the LoRA adapter into a self-contained model that loads with plain transformers. No PEFT dependency. Run inference locally or deploy it anywhere.
Commands
| Command | What it does | Needs |
|---|---|---|
listenr record |
Record from the microphone with live transcription | core |
listenr asr |
Transcribe an audio file | core |
listenr retranscribe |
Re-run Whisper on saved clips | core |
listenr build-dataset |
Build train/dev/test splits from recordings | core |
listenr categorize |
Filter a manifest to clips matching topics | categorize |
listenr import-mdc |
Import a Mozilla Data Collective dataset | mdc |
listenr import-hf |
Import a Hugging Face dataset | hf |
listenr finetune |
Fine-tune Whisper or Moonshine with LoRA | finetune |
listenr merge |
Merge a LoRA adapter into a standalone model | finetune |
listenr eval |
Evaluate the merged model on the test split | finetune |
Extras install with uv pip install "listenr[finetune]". Running a command
without its extra prints the install line you need.
Documentation
| Guide | Description |
|---|---|
| docs/setup.md | Installation, Lemonade Server, microphone setup |
| docs/configuration.md | Full config.toml reference, VAD tuning, available models |
| docs/recording.md | CLI usage, how recording works, batch transcription |
| docs/dataset.md | Building train/dev/test splits, importing public corpora, and filtering by topic |
| docs/finetune-amd.md | Fine-tuning on an AMD GPU via ROCm and Podman, merging, and evaluation |
| docs/troubleshooting.md | Common errors and fixes |
Acknowledgments
- Lemonade Server - unified local inference API
- whisper.cpp - fast local ASR
- llama.cpp - fast local LLMs
License
Mozilla Public License Version 2.0 - see LICENSE.
Metadata
Release files for listenr 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| listenr-0.3.0.tar.gz | 435.9 kB | With provenance | Details for listenr-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| listenr-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for listenr-0.3.0-py3-none-any.whl |
Total release size: 528.1 kB
Release files / listenr-0.3.0.tar.gz
| Download URL | listenr-0.3.0.tar.gz |
|---|---|
| Size | 435.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92366cdedc0692b062dd1ec92ced87699ab9e09cde74a300a55f13155cb6ac18
|
|
BLAKE2b-256 checksum How to use checksums |
d2bdc51f5f7eeec1726d5f5f925521b11b64faf7b5274a799cca90fb70d5ace2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / listenr-0.3.0-py3-none-any.whl
| Download URL | listenr-0.3.0-py3-none-any.whl |
|---|---|
| Size | 92.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1347d1232c52c95d88b8f90cb937ac50ea4a43bfd35bcaa835ff8003f09601ec
|
|
BLAKE2b-256 checksum How to use checksums |
b24efab18f2b017a1ba3e8498e0d42bfb1935fd8df1c05b102066270a811bfb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for listenr 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for listenr-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.