freetranscribe
Open tooling from FreeTranscribe.org. This version has one module, freetranscribe.parakeet, which decodes long recordings with NVIDIA Parakeet in NeMo: 256-frame local attention, cuts at pauses into pieces of at most 90 seconds, and 5 seconds of overlap between pieces. It works with Parakeet TDT 0.6B v3 as released and with freetranscribe/parakeet-ft-v1, a fine-tune of v3 for long recordings.
The model card has the results, how the recipe works, and how I chose and measured it. leaderboard/ has what you need to reproduce the results.
Install
With uv, as a command:
uv tool install "freetranscribe[nemo]"
Or into a project, with uv add "freetranscribe[nemo]" or pip install "freetranscribe[nemo]".
It needs Python 3.10 or later. The nemo extra pulls in NeMo and PyTorch, which are several gigabytes.
Usage
freetranscribe transcribe recording.wav
freetranscribe transcribe recording.wav --model nvidia/parakeet-tdt-0.6b-v3 --json
With no options it downloads and loads freetranscribe/parakeet-ft-v1 on cuda. Pass --model nvidia/parakeet-tdt-0.6b-v3 for v3 as released, or a path to a .nemo file, and --device cpu if there is no GPU. --max-seconds, --overlap-seconds and --batch-size (default 8) set the recipe. --json prints one object per file with the text, each word's start and end time, and the pieces the recording was cut into.
It reads any file soundfile can, such as WAV, FLAC, MP3 and Ogg, averages the channels, and resamples to the 16 kHz the model takes.
From Python:
import soundfile
from freetranscribe import parakeet
asr = parakeet.load_model("freetranscribe/parakeet-ft-v1")
wave, rate = soundfile.read("recording.wav", dtype="float32")
result = parakeet.transcribe(asr, wave, rate)
print(result["text"])
At the defaults a batch is eight clips of up to 100 seconds (a 90-second piece plus the overlap on both sides), which took between 11 and 13 GB of GPU memory in my runs. Longer pieces or bigger batches need more.
Development
uv run --with ruff ruff check .
uv run python -m unittest discover -s tests
The tests cover the cutting, the input handling and the command line, and don't need NeMo or a GPU.
License and credit
The cutting rule comes from WhisperX by Max Bain, Jaesung Huh, Tengda Han and Andrew Zisserman. I wrote the code here from their paper. The models are NVIDIA's Parakeet v3 and a fine-tune of it.
The code is MIT, except leaderboard/, which holds a modified copy of the Open ASR Leaderboard's evaluation script under the Apache License 2.0 with its license text beside it. The model weights the tool downloads are not part of this repository: both Parakeet v3 and parakeet-ft-v1 are CC-BY-4.0.
Metadata
Release files for freetranscribe 0.1.1
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 |
|---|---|---|---|---|
| freetranscribe-0.1.1.tar.gz | 378.0 kB | Without provenance | Details for freetranscribe-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| freetranscribe-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for freetranscribe-0.1.1-py3-none-any.whl |
Total release size: 386.7 kB
Release files / freetranscribe-0.1.1.tar.gz
| Download URL | freetranscribe-0.1.1.tar.gz |
|---|---|
| Size | 378.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adc9b903f194c3314ca1698fd86415faba4624b5d87303e3bb4e2b831dae9e32
|
|
BLAKE2b-256 checksum How to use checksums |
abdddc8d54d2715a3755bab12cd146c8294c34b6f246c5d7206a0a89b1f9de3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / freetranscribe-0.1.1-py3-none-any.whl
| Download URL | freetranscribe-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fde213a226f967c47bffca47a134ba2ed2c89bd68a5d7ac82dfc1e18cba92dbd
|
|
BLAKE2b-256 checksum How to use checksums |
e688bc50a4280f352ff46c3c0c02fc2b7f28ad7669e830012b76b9dce3a1fb78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for freetranscribe 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.