Instructions to use litert-community/Phonon-2.5-English with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/Phonon-2.5-English with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Phonon-2.5 English for LiteRT
FermionResearch/Phonon-2.5-English (English speech-to-text), converted with litert-torch 0.9.4 for LiteRT 2.3.0, transcribes 179× faster than real time on a Galaxy S26's NPU (2026-11-08). On that phone it runs 51× on the GPU and 57× on the CPU, and 27× on a Pixel 11 Pro's GPU. From Python it also runs on a desktop CPU. On LibriSpeech test-clean the word error rate on the Galaxy S26's NPU is 1.647 %, against 1.655 % for our float32 PyTorch run.
Files
| file | bytes | what | backend |
|---|---|---|---|
phonon25en_encoder_f16_sm8850.tflite |
1,403,917,488 | the float16 encoder below, compiled ahead of time for the Hexagon NPU of the SM8850 (the Galaxy S26's Snapdragon) with Qualcomm's AI Runtime (QAIRT) 2.50; the seven window lengths share one compiled copy of the weights | NPU (SM8850) |
phonon25en_encoder_f16.tflite |
1,450,788,816 | encoder for windows of 5, 7.5, 10, 15, 20, 25 and 30 s, one signature each (enc5 … enc30), the weights stored once; float16 weights in the linear and convolution layers, LayerNorm inputs rescaled so that float16 arithmetic does not overflow |
GPU |
phonon25en_encoder_i8.tflite |
902,202,176 | the same seven signatures; int8 weights, one scale per output channel, in the linear layers and the two 1×1 convolutions of the subsampling, with int8 activations computed at run time; the depthwise convolutions and the 24 relative-position tables stay float32 | CPU |
phonon25en_mel_5s.tflite … phonon25en_mel_30s.tflite (7 files) |
1,288,644–2,896,076 | log-mel front end for each window length (no weights) | CPU |
phonon25en_decoder_i8.tflite |
17,866,768 | TDT prediction network (predict) and joint network (joint), int8 weights |
CPU |
tokenizer.json |
1,159,960 | the tokenizer of nvidia/parakeet-tdt-0.6b-v3 (Phonon-2.5 English keeps it) | host |
ultra_asr_runner_p7.cc, build_android.sh |
a command-line runner for Android (LiteRT C API) and its build script; the runner reads the model files from its arguments | ||
tdt_text.py |
turns the runner's token ids into text | host |
Take the NPU file on an SM8850 phone, the f16 file for the GPU, the i8 file for the CPU; each needs the mel files, the decoder and the tokenizer (1.44 GB, 1.48 GB and 0.94 GB with them). The smallest download is not the lightest run: on the Galaxy S26 (12 GB) the runner peaked at 1.63 GB on the NPU, 3.63 GB on the GPU and 6.09 GB on the CPU, and during the CPU run Android closed 20 background apps to make room; on the Pixel 11 Pro (16 GB) it peaked at 2.40 GB on the GPU and 6.16 GB on the CPU, with no app closed (see Performance).
How it works
audio (16 kHz mono) → 30 s windows → mel front end → encoder → greedy TDT decoding → text
- Windows. The audio is cut into consecutive windows of 479,840 samples (30 s); the last one is shorter. A window under 320 samples (two mel frames) is dropped and has no text. Each window is transcribed on its own, and the window texts are joined with one space. Long audio is cut at fixed 30 s points, not at pauses, so words at a cut can be split or lost: on one 38 s VoxPopuli clip our PyTorch reference, like the NPU and GPU files, drops the 13 words around the 30 s cut.
- Window lengths. Each window goes to the smallest length that holds it: up to 80,640 samples → 5 s, 120,320 → 7.5 s, 160,000 → 10 s, 240,640 → 15 s, 320,000 → 20 s, 400,640 → 25 s, else 30 s. The shorter graphs only skip the work on padding: in float32 they gave the same tokens as our PyTorch reference on all 83 windows of our 82-utterance test subset.
- Mel front end (
phonon25en_mel_*, inputsaudio[1, samples] float32 andn_valid[1] int32): pre-emphasis, STFT (512 points, 400-sample Hann window, hop 160), 128 Slaney mel bins, log and per-window normalization over the valid frames, as transformers'ParakeetFeatureExtractor. Outputsfeatures[1, 128, T],mel_mask[1, T] andframe_mask[1, T / 8] (T = 504, 752, 1,000, 1,504, 2,000, 2,504, 3,000). - Encoder (signature
enc<seconds>, inputsfeaturesandmel_maskas the mel graph gives them): outputenc[1, T / 8, 640]; rows past the valid frames are undefined. - Decoding (on the host,
phonon25en_decoder_i8):predict(token [1, 1] int32, h and c [2, 1, 640]) →dec_out[1, 640] and the new h, c;joint(oneencrow [1, 640],dec_out) → 8,198 logits = 8,193 token logits (8192 = blank) + 5 duration logits (0–4 frames). Start from blank with zero state; at each step take the arg-max token and duration; a blank with duration 0 moves one frame; a non-blank token is emitted and fed topredict; ten tokens on one frame move one frame; token 3 ends the window; stop at the last valid frame (the sum offrame_mask) or after 3,750 steps. - Pipelining (the Android runner's
--pipeline 2). The runner runs the mel front end of the next windows on one thread, the encoder on a second and the decoding of window k on its main thread, with up to two windows queued between them (--pipeline-depth), also across files. Each window's decoding still starts from blank with zero state, so the tokens are the ones of--pipeline 0(one thread, window after window): the same tokens, frames and durations on all 658 windows of the 655-utterance LibriSpeech subset (thei8file, the runner built for macOS, a Mac CPU). With a single window there is nothing to overlap: the gain comes from runs of several windows or files. - Text. Decode each window's token ids with
tokenizer.json, special tokens skipped and repeated ids kept (Tokenizer.decode(ids, skip_special_tokens=True)). Id 3 (<|endoftext|>) is not flagged special intokenizer.json, so a window that ended on it would print the literal token; no window did in our runs.
Use it
1. Download
pip install -U huggingface_hub
hf download litert-community/Phonon-2.5-English --local-dir Phonon-2.5-English
cd Phonon-2.5-English
2. Your audio
Both runners below read 16 kHz mono 16-bit WAV, and the Android runner reads a folder with an index file. The block below writes those WAVs and the index from any format ffmpeg reads; replace sample1.wav sample2.wav with your files.
mkdir -p audio && : > audio/index.tsv && i=0
for f in sample1.wav sample2.wav; do
id=$(printf %03d $i)
ffmpeg -loglevel error -y -i "$f" -ac 1 -ar 16000 -c:a pcm_s16le "audio/$id.wav"
printf '%s\t%s\t%s.wav\n' "$id" "$(basename "$f")" "$id" >> audio/index.tsv
i=$((i + 1))
done
The accuracy tables below score LibriSpeech's 16-bit files and VoxPopuli's files as published (32-bit float containers holding 16-bit values), whose samples this block keeps; a 32-bit float source with finer values is rounded to 16-bit PCM here, which changed the tokens of 20 of 200 FLEURS English test files in our check.
3a. On a desktop (Python, CPU)
Save this as transcribe.py in the Phonon-2.5-English folder (we ran it with Python 3.12):
import sys
import time
import wave
import numpy as np
from ai_edge_litert.interpreter import Interpreter
from tokenizers import Tokenizer
# window length (s) -> mel frames; a window goes to the smallest length whose audio input (160 x frames samples) holds it
BUCKETS = {5: 504, 7.5: 752, 10: 1000, 15: 1504, 20: 2000, 25: 2504, 30: 3000}
mel = {s: Interpreter(f"phonon25en_mel_{s}s.tflite", num_threads=4).get_signature_runner() for s in BUCKETS}
encoder = Interpreter("phonon25en_encoder_i8.tflite", num_threads=4)
enc = {s: encoder.get_signature_runner(f"enc{s}") for s in BUCKETS}
dec = Interpreter("phonon25en_decoder_i8.tflite", num_threads=1)
predict, joint = dec.get_signature_runner("predict"), dec.get_signature_runner("joint")
tokenizer = Tokenizer.from_file("tokenizer.json")
BLANK, EOS, WINDOW = 8192, 3, 479840
def read_wav(path): # 16 kHz mono 16-bit PCM
with wave.open(path) as w:
assert (w.getframerate(), w.getnchannels(), w.getsampwidth()) == (16000, 1, 2), path
return np.frombuffer(w.readframes(w.getnframes()), "<i2").astype(np.float32) / 32768
def transcribe_window(x):
n = len(x)
s = next(s for s, t in BUCKETS.items() if n <= 160 * t)
audio = np.zeros((1, 160 * BUCKETS[s]), np.float32)
audio[0, :n] = x
m = mel[s](audio=audio, n_valid=np.array([n], np.int32))
e = enc[s](features=m["features"], mel_mask=m["mel_mask"])["enc"][0]
frames = int(m["frame_mask"].sum())
state = predict(token=np.array([[BLANK]], np.int32), h=np.zeros((2, 1, 640), np.float32), c=np.zeros((2, 1, 640), np.float32))
ids, t, steps, run = [], 0, 0, 0
while t < frames and steps < 3750:
steps += 1
logits = joint(enc_frame=e[t:t + 1], dec_out=state["dec_out"])["logits"][0]
token, d = int(np.argmax(logits[:8193])), int(np.argmax(logits[8193:]))
if token == BLANK and d == 0:
d = 1
if token != BLANK:
ids.append(token)
if token == EOS:
break
state = predict(token=np.array([[token]], np.int32), h=state["h_out"], c=state["c_out"])
if d == 0:
run += 1
if run >= 10:
d = 1
if d > 0:
run = 0
t += d
return tokenizer.decode(ids, skip_special_tokens=True)
for path in sys.argv[1:]:
x = read_wav(path)
t0 = time.perf_counter()
texts = [transcribe_window(x[s:s + WINDOW]) for s in range(0, len(x), WINDOW) if len(x[s:s + WINDOW]) >= 320]
print(f"{path}\t{len(x) / 16000:.1f} s audio\t{time.perf_counter() - t0:.2f} s\t" + " ".join(t for t in texts if t))
pip install ai-edge-litert==2.3.0 tokenizers numpy
python transcribe.py audio/*.wav
3b. On an Android phone (native runner)
Build the runner with the Android NDK r29 (we built it on macOS; the path below is Android Studio's default there). The script downloads the LiteRT 2.3.0 C headers (litert_cc_sdk.zip from LiteRT's GitHub release) and the runtime libraries (Google's Maven), and checks their sha256. The binary needs Android 9 (API level 28) or later.
NDK=$HOME/Library/Android/sdk/ndk/29.0.13113456 bash build_android.sh
Run the blocks of this section in one shell: MELS, set in the next block, is used by the three runs. Copy the runner, the CPU files and your audio to the phone. The encoder file holds the seven window lengths as signatures; each length has its own mel file, named on the command line (--mel for 30 s, --mel10, --mel20, --mel5, and --mel-bucket S=FILE for 7.5, 15 and 25 s):
adb shell mkdir -p /data/local/tmp/Phonon-2.5-English
adb push ultra_asr_runner_p7 libs/libLiteRt.so phonon25en_mel_*.tflite phonon25en_encoder_i8.tflite phonon25en_decoder_i8.tflite audio /data/local/tmp/Phonon-2.5-English/
adb shell chmod 755 /data/local/tmp/Phonon-2.5-English/ultra_asr_runner_p7
MELS='--mel phonon25en_mel_30s.tflite --mel10 phonon25en_mel_10s.tflite --mel20 phonon25en_mel_20s.tflite --mel5 phonon25en_mel_5s.tflite --mel-bucket 7.5=phonon25en_mel_7.5s.tflite --mel-bucket 15=phonon25en_mel_15s.tflite --mel-bucket 25=phonon25en_mel_25s.tflite'
Run it on the CPU and turn its output into text. --threads 6 is what we ran on the Galaxy S26; set it for your phone (the Pixel 11 Pro has 7 CPU cores, and its row in the performance table used 5). --pipeline 2 runs the mel front end, the encoder and the decoding of consecutive windows on three threads:
adb shell "cd /data/local/tmp/Phonon-2.5-English && LD_LIBRARY_PATH=. ./ultra_asr_runner_p7 --accel cpu --libdir . \
--enc-all phonon25en_encoder_i8.tflite $MELS --dec phonon25en_decoder_i8.tflite \
--threads 6 --mel-threads 1 --dec-threads 1 --pipeline 2 \
--fixtures audio --count \$(grep -c . audio/index.tsv) --rounds 0 --dump none --out out" > out.jsonl
pip install tokenizers
python tdt_text.py tokenizer.json out.jsonl
Each line of out.jsonl that starts with {"kind":"utt" holds one file's token ids (tok), their encoder frame (frame = window index × 375 + the frame within the window) and duration (dur), and the stage times in ms. The burst_summary line gives rtf_wall, the run's wall clock from the first window's start to the last window's end over the audio time (the model load and the warm-up file excluded). The CPU and NPU runs print GPU accelerator could not be loaded and registered on stderr: the GPU library is not pushed for them, and the run goes on.
NPU (Galaxy S26, Qualcomm Hexagon). phonon25en_encoder_f16_sm8850.tflite is already compiled for the SM8850's Hexagon v81, so nothing is compiled on the phone; --accel npu+cpu runs the encoder on the NPU and the mel front end and the decoder on the CPU. It needs LiteRT's Qualcomm dispatch library (libLiteRtDispatch_Qualcomm.so, from the litert-npu-runtime-qualcomm package that build_android.sh fetches) and the QNN libraries of the Qualcomm AI Runtime SDK (QAIRT) 2.50.0.260828, which you download from Qualcomm; copy these files flat into a folder qnn/: from lib/aarch64-android/, libQnnHtp.so, libQnnHtpV81Stub.so and libQnnSystem.so; from lib/hexagon-v81/unsigned/, libQnnHtpV81Skel.so.
adb push libs/libLiteRtDispatch_Qualcomm.so qnn/. phonon25en_encoder_f16_sm8850.tflite /data/local/tmp/Phonon-2.5-English/
adb shell "cd /data/local/tmp/Phonon-2.5-English && LD_LIBRARY_PATH=. ADSP_LIBRARY_PATH='/data/local/tmp/Phonon-2.5-English;/vendor/dsp/cdsp;/vendor/lib/rfsa/adsp;/system/lib/rfsa/adsp;/dsp' \
./ultra_asr_runner_p7 --accel npu+cpu --libdir . \
--enc-all phonon25en_encoder_f16_sm8850.tflite $MELS --dec phonon25en_decoder_i8.tflite \
--mel-threads 2 --dec-threads 1 --pipeline 2 \
--fixtures audio --count \$(grep -c . audio/index.tsv) --rounds 0 --dump none --out out" > out.jsonl
GPU. Push libs/libLiteRtClGlAccelerator.so and the f16 encoder, and run with --accel gpu --gpu-precision fp16 --gpu-share-constants 1 (the seven signatures then read one copy of the weights on the GPU), without --threads (the encoder no longer runs on the CPU). Each process builds the GPU programs of all seven window lengths when it loads the encoder, before the first window (these commands keep no program cache): 11.4 s on the Galaxy S26 and 12.1 s on the Pixel 11 Pro when we ran this section's commands; 26.4 s in the Galaxy S26's performance run, which started with the CPU clocks capped, and 40.6 and 39.4 s in the Pixel 11 Pro's two, which started at thermal status 2 and 3.
adb push libs/libLiteRtClGlAccelerator.so phonon25en_encoder_f16.tflite /data/local/tmp/Phonon-2.5-English/
adb shell "cd /data/local/tmp/Phonon-2.5-English && LD_LIBRARY_PATH=. ./ultra_asr_runner_p7 --accel gpu --gpu-precision fp16 --gpu-share-constants 1 --libdir . \
--enc-all phonon25en_encoder_f16.tflite $MELS --dec phonon25en_decoder_i8.tflite \
--mel-threads 2 --dec-threads 1 --pipeline 2 \
--fixtures audio --count \$(grep -c . audio/index.tsv) --rounds 0 --dump none --out out" > out.jsonl
To remove everything from the phone: adb shell rm -rf /data/local/tmp/Phonon-2.5-English.
3c. On an Android phone (sample app)
An open pull request adds Phonon-2.5 English to the speech recognition sample app of google-ai-edge/litert-samples. The app needs a 64-bit Arm phone with Android 12 or later. On the NPU, Phonon-2.5 English needs an SM8850 phone. We ran Phonon-2.5 English in the app on a Snapdragon Galaxy S26 (CPU, GPU and NPU) and a Pixel 11 Pro (CPU and GPU).
The app is the AndroidApp project in the pull request's samples/litert/speech_recognition. For the NPU, first uncomment the two lines litert-npu-runtime-qualcomm:2.3.0 and qnn-runtime:2.50.0 in AndroidApp/app/build.gradle.kts. These two lines bring the NPU libraries, so leave the Qualcomm runtime modules listed above them commented out. AndroidApp/settings.gradle.kts includes LiteRT's NPU runtime modules, which the pull request does not contain, and the build stops without them. Run the block below in AndroidApp, with the phone connected over adb.
curl -fLO https://github.com/google-ai-edge/LiteRT/releases/download/v2.2.0/litert_npu_runtime_libraries.zip
unzip -oq litert_npu_runtime_libraries.zip -d litert_npu_runtime_libraries
mkdir -p litert_npu_runtime_libraries/mediatek_runtime_v8 litert_npu_runtime_libraries/mediatek_runtime_v9
bash ./gradlew :app:installDebug
- In the app, pick the backend first (CPU, GPU or NPU), then the model
phonon-2.5-english. In this order the app downloads only that backend's files from this repository, and keeps them: on a fresh install, 1.44 GB for the NPU, 1.48 GB for the GPU or 0.94 GB for the CPU. Picking the backend leavesERROR LOADING MODEL: MODEL MODEL NOT FOUNDon the "Transcribe" button, as no model is picked yet. While the model loads, the button is greyed out and keeps its earlier text, andLoading model: phonon-2.5-english...shows with no percentage. - Copy
audio/000.wav, or another WAV the block in "2. Your audio" wrote, to the phone's Download folder. Tap "Audio File", pick the WAV, and tap "Transcribe".
After the download in step 1, the app needs no network for that backend. The 179× at the top of this card was measured with the native runner in 3b, not with this app (see Performance).
Known failures and what the app shows:
- No network when a file still has to be downloaded: the button reads
ERROR LOADING MODEL: UNABLE TO RESOLVE HOST …. Connect to the internet and pick the model again. - NPU on an SM8850 phone, in a build without the two
build.gradle.ktslines above: the button readsERROR LOADING MODEL: THIS BUILD HAS NO NPU LIBRARIES, SEE APP/BUILD.GRADLE.KTS.
Accuracy
Word error rate (%) of the NPU form on a Galaxy S26 (the f16_sm8850 encoder on the NPU, the int8 decoder on the CPU), against the PyTorch reference. The reference is transformers 5.20.2 ParakeetForTDT in float32 with the weights read out of Phonon-2.5 English's container (every key loaded, none missing or unexpected), the same 30 s windows with a valid-length mask, and the same greedy TDT decoding. Every utterance of each set. The first pair of WER columns is scored as the Open ASR Leaderboard scores (its English normalizer, compound merging, kaldialign), the (jiwer) pair is plain corpus WER (jiwer) on the normalized text, without the compound merging.
| set | utterances | WER, Galaxy S26 NPU | WER, PyTorch reference | WER (jiwer), Galaxy S26 NPU | WER (jiwer), PyTorch reference |
|---|---|---|---|---|---|
| LibriSpeech test-clean | 2,620 | 1.647 | 1.655 | 2.057 | 2.057 |
| LibriSpeech test-other | 2,939 | 3.567 | 3.581 | 4.018 | 4.027 |
VoxPopuli voxpopuli_cleaned_aa (human-corrected references) |
628 | 2.401 | 2.345 | 2.570 | 2.514 |
VoxPopuli voxpopuli (references from parliamentary records) |
1,842 | 6.964 | 6.975 | 7.254 | 7.270 |
Sets and revision: hf-audio/open-asr-leaderboard @ de79e57a.
Against Phonon-2.5 English's card. Run on whole utterances instead of 30 s windows, our PyTorch reference gives 1.651 on LibriSpeech test-clean, 3.571 on test-other and 2.278 on voxpopuli_cleaned_aa, where the card's table lists 1.64, 3.56 and 2.28 (2.28 under the name VoxPopuli; its .eval_results file gives 2.30). On the voxpopuli split the same run gives 6.957, and the leaderboard's own script notes that split's references contain spans that were not spoken. The 628 clips of voxpopuli_cleaned_aa are a subset of the 1,842 with the same audio bytes; their references differ on 626.
Every backend on the 655-utterance LibriSpeech subset of the performance table, same scoring (reference 1.799 / 2.203):
| phone, backend | WER | WER (jiwer) |
|---|---|---|
| Galaxy S26, NPU | 1.792 | 2.226 |
| Galaxy S26, GPU | 1.799 | 2.188 |
| Galaxy S26, CPU | 1.753 | 2.158 |
| Pixel 11 Pro, GPU | 1.799 | 2.188 |
| Pixel 11 Pro, CPU | 1.761 | 2.150 |
Performance
| phone | backend | RTF | × real time | peak memory |
|---|---|---|---|---|
| Galaxy S26 | NPU (Hexagon, f16_sm8850, --pipeline 2) |
0.005596 | 179× | 1.63 GB (1,590,324 kB) |
| Galaxy S26 | GPU (Adreno, f16, fp16 arithmetic, --gpu-share-constants 1, --pipeline 2) |
0.019699 | 51× | 3.63 GB (3,548,992 kB) |
| Galaxy S26 | CPU (i8, 6 threads, --pipeline 2) |
0.017680 | 57× | 6.09 GB (5,944,600 kB) |
| Pixel 11 Pro | GPU (PowerVR, f16, fp16 arithmetic, --gpu-share-constants 1, --pipeline 2) |
0.036990 | 27× | 2.40 GB (2,341,620 kB) |
| Pixel 11 Pro | CPU (i8, 5 threads, --pipeline 2) |
0.045348 | 22× | 6.16 GB (6,012,652 kB) |
- RTF =
rtf_wall: the wall clock of a run from the first window's start to the last window's end over the audio time, the model load and one warm-up utterance excluded, for 655 LibriSpeech test-clean utterances (4,875.8 s of audio) run one after another in one process withultra_asr_runner_p7and the settings of "Use it" (plus a per-window dump of the outputs for scoring). The Galaxy S26's NPU row and the Pixel 11 Pro's GPU row are the mean of two runs, the other rows one run each. The windows went 279 / 141 / 84 / 95 / 36 / 15 / 8 to the 5 / 7.5 / 10 / 15 / 20 / 25 / 30 s graphs. - Per call (median of 20, the Galaxy S26's NPU, one process started at thermal status 0 with no clock cap): the encoder 168.4 / 90.5 / 78.9 / 45.5 / 40.9 / 32.7 / 28.9 ms for a 30 / 25 / 20 / 15 / 10 / 7.5 / 5 s window (a 24.5 s utterance and cuts of its start), the mel front end 1.7–3.5 ms, the decoding loop of the 30 s window 19.4 ms on the CPU; the CPU clocks were capped during 16 of the 20 30 s encoder calls and all the other calls.
- State of the phone. The runs did not start from the same state, and on the Galaxy S26 the CPU clocks were capped for most of each run (in the runs' 2 s samples: NPU 8 of 13 and 13 of 13, GPU 52 of 52, CPU 35 of 37). The NPU runs started at thermal status 2, the first with no clock cap and the second with the CPU clocks capped at 1.79 / 1.75 GHz, and ended at status 2 and 3; the GPU run started at status 2 with the CPU clocks capped at 1.67 / 1.63 GHz and the GPU's clock ceiling at 726 MHz, and ended at status 2; the CPU run started at status 0 with no cap and ended at status 2 with the CPU clocks capped at 1.56 / 1.50 GHz. On the Pixel 11 Pro the GPU runs started at thermal status 2 and 3 and ended at 3 and 4. Their CPU clock limits were never lowered (capped in 0 of 90 and 0 of 91 samples), but the thermal service's CPU cooling devices
thermal-uclamp(one per CPU cluster, 0 at the start of the CPU run below) read 20 on all three clusters at the runs' starts and ends (16–20 in between), and its GPU cooling device stayed at the reading it had at the CPU run's start (4,614,000) except at 3 of the second run's 19 readings (4,031,000). The Pixel 11 Pro's CPU run started at status 0 with no cap and ended at status 1 with the CPU clocks capped at 1.63 / 1.80 / 3.34 GHz (capped in 73 of 88 samples) andthermal-uclampat 5–11. - Peak memory: the runner's VmHWM during the 655-utterance run (GB = kB × 1024 / 10⁹; of a row's two runs, the larger). During the Galaxy S26's CPU run the runner's swap reached 1.15 GB (1,118,592 kB) and Android's low-memory killer closed 20 background apps; it closed none during the NPU and GPU runs, nor during the Pixel 11 Pro's runs, where the runner did not swap.
- Galaxy S26 (SM-S942Q, Android 16) and Pixel 11 Pro (Tensor G6, 16 GB, Android 17); LiteRT 2.3.0 from Google's Maven; on the NPU the QNN libraries of QAIRT 2.50.0.260828 for Hexagon v81; 2026-11-08.
Notes
- NPU file.
phonon25en_encoder_f16_sm8850.tfliteruns only on SM8850 phones with the QNN libraries of QAIRT 2.50 (Hexagon v81): no compile on the phone, the runner loads it in 0.8–1.0 s. Other Snapdragon NPUs need their own ahead-of-time file, which this repository does not ship; the GPU and CPU files hold only LiteRT's built-in operations, nothing compiled for one chip (we ran them on the Galaxy S26 and the Pixel 11 Pro with LiteRT 2.3.0). - GPU and fp16. In Phonon-2.5 English's encoder the squared deviation inside a LayerNorm reaches 59,451,440 over the 91 windows of our range check, beyond float16's largest value 65,504. The
f16encoder scales each of the 120 LayerNorm inputs by 2^-k (k = 3–8 per norm, drawn from Phonon-2.5 English's own activations) and its epsilon by 4^-k, which leaves the float32 result bit-identical and keeps every square in range (988.7 at most over the same windows, and 2,002.3 at most over the 1,229 windows of the same check on the 5, 7.5, 15 and 25 s graphs); the GPU runs this file with float16 arithmetic, and the NPU file is compiled from it. - int8 decoder. The decoder's weights are int8, one scale per output channel, with int8 activations computed at run time (dynamic range), as in the
i8encoder; the file is the same bytes as litert-community/Phonon-2's decoder. Against the float32 decoder (Mac CPU, float32 encoders) it gives the same token sequence on 81 of the 83 windows of our 82-utterance test subset. - int8 encoder. The
i8encoder rounds the five-value weights to int8 per output channel (each matrix's median relative error is 0.17 % at the median of the 240 matrices that stay linear layers, the other 24 being the relative-position projections folded into the float32 position tables; 0.0052 % of the small values round to zero). The seven files it is merged from keep the WER on a Mac CPU within 0.040 points of the reference on the four sets above, below it on all four. - Converted from the weights Phonon-2.5 English's
fermion_container.pyformat holds, loaded into transformers 5.20.2'sParakeetForTDT(a five-value matrix becomes float32 with the same values), rewritten as plain PyTorch graphs (masks as float arithmetic, the LSTM step as explicit gates) and exported with litert-torch 0.9.4; the steps and scripts for every.tflitefile here are in hf-to-litertlm (REPRODUCE.md, Phonon-2.5 English), run as printed from a clean checkout on 2026-11-08 and 2026-11-09: every.tflitefile here except the SM8850 one came out byte for byte the same, and the SM8850 one with a context binary 65,536 bytes smaller, for a reason we did not find (REPRODUCE.md gives both sha256; that rebuilt file was not run on a phone, and the NPU rows above measured the published one).
Conversion
FermionResearch/Phonon-2.5-English is Fermion Research's English-only model in the architecture of NVIDIA's parakeet-tdt-0.6b-v3, with its weights packed into a 157.6 MB download; its card lists a 4.82 % average word error rate over the Open ASR Leaderboard's seven English sets. Its container has the layout of FermionResearch/Phonon-2's: the 264 linear weights of the encoder hold five values per output row ({0, ±lo, ±hi}), the other large weights are 6-bit tables. Against Phonon-2's container only those 264 five-value weights differ; the other 459 tensors, the decoder's included, are the same bytes. These LiteRT files do not keep that packing: the large weights are expanded to float16 (GPU, NPU) or int8 (CPU), so the files are larger (0.94 GB for the CPU set, 1.48 GB for the GPU set, 1.44 GB for the NPU set). What they add is the phone's NPU and GPU through LiteRT. For its own packed weights, Fermion Research publishes its own runtimes, an Android CPU library among them (the command line on its card, the Android library on GitHub).
The files here were made with litert-torch 0.9.4 and ai-edge-quantizer 0.10.0 for LiteRT 2.3.0. The graphs are built by the same code as litert-community/Phonon-2's, and the mel files are the same bytes.
License
The model files are under CC-BY-4.0, as FermionResearch/Phonon-2.5-English and NVIDIA's parakeet-tdt-0.6b-v3 are. Weights © Fermion Research, derived from Parakeet TDT 0.6B v3, © NVIDIA Corporation. Changes made here: the weights were expanded to float16 and int8 as described above, and the graphs were rewritten for LiteRT.
Phonon-2.5 English's NOTICE says its training audio includes CHiME-6, distributed under CC-BY-SA-4.0 (https://chimechallenge.github.io/chime6/), and SPGISpeech, used under Kensho's public terms (https://datasets.kensho.com/datasets/spgispeech). Read that NOTICE before you redistribute: https://huggingface.co/FermionResearch/Phonon-2.5-English/blob/main/NOTICE.
The runner and the scripts (ultra_asr_runner_p7.cc, build_android.sh, tdt_text.py) are under the Apache License 2.0.
- Downloads last month
- 817
Model tree for litert-community/Phonon-2.5-English
Base model
nvidia/parakeet-tdt-0.6b-v3