Downloads · 30 days
2
6% of all-time downloads
zeromodels/granite-speech-5.0-470m-turboctc
granite-speech-5.0-470m-turboctc is a automatic speech recognition model from zeromodels. Use it when you need speech turned into text. It is set up for zeromodels. The card lists the license as apache-2.0.
[](https://github.com/IMvision12/ZeroModels) [](https://imvision12.github.io/ZeroModels/granitespeech5/) [](https://huggingface.co/collections/zeromodels/granite-speech-6a8eaf2e42e4b726c9c08ba8)
Downloads · 30 days
2
6% of all-time downloads
All-time downloads
36
Public
Repo size
947 MB
Likes
1
Public
Click a slice to open those files.
.h5947 MB · 100%
From the Hugging Face model README
Paper: Granite-speech: open-source speech-aware LLMs with strong English ASR capabilities (arXiv:2505.08699) · HF Papers
Granite Speech 5.0 turboctc is a fast, non-autoregressive CTC ASR model: a conformer encoder (block-wise self-attention with Shaw relative positions, two early time-subsampling blocks) with a self-conditioned CTC head. The whole utterance is transcribed in a single forward pass — no decoder loop — then greedy-CTC decoded. Output is lowercase subword text.
For more details on the model, please go to the upstream model card.
Pure-Keras 3 conversion of ibm-granite/granite-speech-5.0-470m-turboctc for zeromodels. One implementation runs unmodified on TensorFlow / Torch / JAX.
This is an ASR (CTC) checkpoint (GraniteSpeech5CTC, 470M).
import os
os.environ["KERAS_BACKEND"] = "torch" # or "jax" / "tensorflow"
import soundfile as sf
from zeromodels.models.granite_speech5 import (
GraniteSpeech5CTC,
GraniteSpeech5FeatureExtractor,
GraniteSpeech5Tokenizer,
)
model = GraniteSpeech5CTC.from_weights("zeromodels/granite-speech-5.0-470m-turboctc")
features = GraniteSpeech5FeatureExtractor()
tokenizer = GraniteSpeech5Tokenizer.from_weights("zeromodels/granite-speech-5.0-470m-turboctc")
audio, sr = sf.read("your_audio.wav", dtype="float32") # 16 kHz mono
inputs = features(audio, sampling_rate=sr)
predicted_ids = model.generate(inputs) # greedy CTC decoding
print(tokenizer.batch_decode(predicted_ids))
Load any Granite Speech 5.0 variant the same way with from_weights("zeromodels/<variant>"):
| Variant | Hub | Notes |
|---|---|---|
granite-speech-5.0-470m-turboctc | zeromodels/granite-speech-5.0-470m-turboctc | 470M · CTC ASR |
KERAS_BACKEND before importing Keras / zeromodels.input_features + attention_mask.tokenizer.batch_decode(...) handles it.hf: prefix, e.g. GraniteSpeech5CTC.from_weights("hf:ibm-granite/granite-speech-5.0-470m-turboctc").A huge thank you to the IBM Granite team for creating and releasing these models.
License: Apache 2.0.