Team Ai
Modelpublic

OpenASR/granite-speech-4.1-2b

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes2.3kdownloads
Model Card

<div align="center">

Granite Speech 4.1 2B · OpenASR

IBM Granite Speech 4.1 — a 2B multilingual ASR model with strong English accuracy

![License](https://huggingface.co/ibm-granite/granite-speech-4.1-2b/blob/main/LICENSE) ![Format](https://github.com/QuintinShaw/openasr) ![Runtime](https://openasr.org) ![Base model](https://huggingface.co/ibm-granite/granite-speech-4.1-2b)

Native speech-to-text in the [OpenASR](https://github.com/QuintinShaw/openasr) runtime — engineered for peak performance on CPU & GPU, no Python at inference time.

</div>


✨ Highlights

  • —📊 Verified English WER: 0.54% — identical across fp16 / q80 / q4k on OpenASR's frozen evaluation set
  • —🌐 Six trained languages — English, French, German, Spanish, Portuguese, Japanese (auto-detected; no language token)
  • —📦 Three quantization tiers: fp16 / q8_0 / q4_k — delivered in OpenASR's native .oasr format for local inference
  • —🦀 Native in OpenASR — .oasr packs run with no Python at inference, engineered for peak performance on CPU & GPU

🚀 Quickstart

bash
# 1. Install the OpenASR CLI  ·  https://openasr.org
# 2. Pull a build (pick a quant — see the table below)
openasr pull granite-speech-4.1-2b:q8

# 3. Transcribe
openasr transcribe audio.wav --model granite-speech-4.1-2b

All builds for this model:

bash
openasr pull granite-speech-4.1-2b:fp16
openasr pull granite-speech-4.1-2b:q8
openasr pull granite-speech-4.1-2b:q4

📦 Available builds

QuantFile (`.oasr`)SizeRAM peakRTF · M1 CPURTF · M1 GPUJFK ΔWER vs fp16
fp16granite-speech-4.1-2b-fp16.oasr4.63 GB5.91 GB0.40×0.23×0.0%
q8_0granite-speech-4.1-2b-q8_0.oasr2.47 GB3.65 GB0.35×0.17×0.0%
q4_kgranite-speech-4.1-2b-q4_k.oasr1.55 GB2.63 GB0.29×0.15×0.0%

<sub>RTF = real-time factor on the fixed 11s JFK clip (lower is faster); RAM peak measured per pack in an isolated subprocess. JFK ΔWER compares each quantized build's JFK transcript to this model's fp16 JFK transcript, so it measures quantization drift rather than absolute recognition accuracy. q8_0 is the recommended default — near-reference quality at a fraction of the footprint.</sub>

🧠 About Granite Speech 4.1 2B

Granite Speech 4.1 2B is a speech-recognition model from IBM Granite. Its architecture pairs a 16-layer Conformer audio encoder with a Q-Former projector feeding a 2B Granite decoder. The model auto-detects the source language through free-text instruction-following and ships trained coverage for English, French, German, Spanish, Portuguese, and Japanese. OpenASR distributes this model in three quantization tiers -- fp16, q80, and q4k -- packaged in the native .oasr runtime format for local inference.

⚙️ How these packs were made

Converted from ibm-granite/granite-speech-4.1-2b with the OpenASR importer:

bash
openasr model-pack core: convert_local_granite_speech_source_to_runtime_pack <src> <out>.oasr \
  --package-id granite-speech-4.1-2b --quantization {fp16,q8-0,q4-k}

The .oasr container is GGUF-backed; packs use zero-copy mmap weight binding and graph buffer reuse to keep peak memory low.

⚖️ License

These packs inherit the upstream model's license: Apache-2.0 (source). OpenASR packaging retains the upstream copyright and NOTICE; the only modifications are format conversion and quantization.

🙏 Acknowledgements

This pack is a redistribution of granite-speech-4.1-2b, created and released by IBM Granite (ibm-granite/granite-speech-4.1-2b) under the Apache License 2.0. OpenASR performs format conversion, quantization, runtime validation, and local-inference adaptation only; all model weights and training are the work of the original authors.

🔗 Links