AI SeedbankHelp preserve open and free AI for humanity's future

← All models

ibm-granite_granite-speech-4.1-2b-nar

ibm-granite · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0 language:

  • en
  • fr
  • de
  • es
  • pt base_model:
  • ibm-granite/granite-4.0-1b-base library_name: transformers tags:
  • speech
  • asr
  • non-autoregressive
  • ctc
  • speech_recognition
  • automatic_speech_recognition

Granite-Speech-4.1-2B-NAR

Model Summary: Granite-Speech-4.1-2B-NAR is a non-autoregressive (NAR) speech recognition model that formulates ASR as conditional transcript editing. Instead of decoding tokens one at a time, it edits a CTC hypothesis in a single forward pass using a bidirectional LLM, achieving competitive accuracy with faster inference than autoregressive alternatives. The model is based on the NLE (Non-autoregressive LLM-based Editing) architecture described in this paper.

For applications where accuracy is the primary concern, consider granite-speech-4.1-2b, an autoregressive model from the Granite Speech 4.1 family which achieves higher transcription accuracy at the cost of increased inference latency. Granite-speech-4.1-2b produces punctuated and capitalized transcripts, supports AST and keyword-biased recognition, and includes Japanese.

When speaker or word-timing information is needed, consider using granite-speech-4.1-2b-plus, which extends the above model with speaker-attributed ASR (speaker labels + word transcripts) and word-level timing information.

Release Date: April 2026

License: Apache 2.0

Supported Languages: English, French, German, Spanish, Portuguese

Intended Use: The model is intended for automatic speech recognition tasks, particularly in latency-sensitive applications where fast inference is critical.

Evaluation Results

Open ASR leaderboard results

RTFx-WER results on the Open ASR leaderboard (as of Apr 2026).

Additional results

Greedy decoding with bfloat16 inference. WER computed with jiwer after whisper_normalizer EnglishTextNormalizer normalization. Open ASR Leaderboard results may differ slightly due to normalization and scoring pipeline differences. Measured RTFx of ~1820 on a single H100 GPU (batched inference, batch size 128).

Dataset WER Dataset WER
LibriSpeech clean 1.29 MLS EN 4.77
LibriSpeech other 2.75 MLS DE 4.75
CommonVoice 15 EN 6.50 MLS ES 3.31
CommonVoice 15 DE 4.73 MLS FR 4.52
CommonVoice 15 ES 4.02 MLS PT 11.86
CommonVoice 15 FR 7.17 AMI IHM 7.91
CommonVoice 15 PT 2.57 AMI SDM 19.59
Earnings-22 8.48 GigaSpeech 10.12
SPGISpeech 3.04 TED-LIUM 3.67
VoxPopuli 5.83

Usage

Installation

We require flash_attention_2 for inference, since this backend supports sequence packing and respects the is_causal=False flag. Requires transformers>=5.5.3 and torch>=2.9.1.

# Fresh install (CUDA 12.8, Python 3.10+)
pip install torch==2.9.1 torchaudio==2.9.1 --index-url https://download.pytorch.org/whl/cu128
pip install transformers>=5.5.3 accelerate safetensors huggingface-hub tokenizers
pip install soundfile
pip install flash-attn==2.8.3 --no-build-isolation

Inference with transformers

import torch
import torchaudio
from huggingface_hub import hf_hub_download
from transformers import AutoModel, AutoProcessor

device = "cuda" if torch.cuda.is_available() else "cpu"

model_name = "ibm-granite/granite-speech-4.1-2b-nar"
model = AutoModel.from_pretrained(model_name, trust_remote_code=True,
                                  attn_implementation="flash_attention_2", device_map=device,
                                  dtype=torch.bfloat16).eval()
processor = AutoProcessor.from_pretrained(model_name, trust_remote_code=True)

# Load sample audio from the repo
audio_path = hf_hub_download(repo_id=model_name, filename="10226_10111_000000.wav")
waveform, sr = torchaudio.load(audio_path)
if sr != 16000:
    waveform = torchaudio.functional.resample(waveform, sr, 16000)
if waveform.shape[0] > 1:
    waveform = waveform.mean(dim=0, keepdim=True)
waveform = waveform.squeeze(0)

# Extract features, run transcription, decode
inputs = processor([waveform], device=device)
output = model.transcribe(**inputs)
transcriptions = processor.batch_decode(output.preds)

print(f"Prediction: {transcriptions[0]}")

Model Architecture

The architecture consists of three components:

(1) CTC Speech Encoder (440M params)

A 16-layer Conformer encoder trained with CTC on character-level targets. It processes 16kHz audio with stacked log-mel features (80 mel bins, 2-frame stacking) and uses block attention with 4-second audio blocks and self-conditioning at layer 8. The encoder has a dual CTC head: alongside the character-level output, a secondary BPE head produces CTC logits over the LLM's 100K token vocabulary. The BPE head uses posterior-weighted pooling (window size 4) with importance weights derived from mid-layer blank probabilities (1 - blank_prob).

(2) Q-Former Projector (160M params)

A 2-layer window Q-Former that downsamples the concatenated hidden representations from 4 encoder layers (layers 4, 8, 12, 16) by 5x. Each 15-frame window is reduced to 3 queries via cross-attention, resulting in a 10Hz acoustic embedding rate for the LLM (2x from encoder + 5x from projector).

(3) Bidirectional LLM Editor (1B params, LoRA-adapted)

granite-4.0-1b-base with its causal attention mask removed, enabling bidirectional context. Adapted with LoRA (rank 128) applied to both attention and MLP layers. The LLM receives concatenated audio embeddings and an interleaved CTC hypothesis with insertion slots, then predicts the edited transcript in a single parallel forward pass using a CTC objective.

How Granite-speech NAR Works

  1. The frozen CTC encoder produces acoustic embeddings and an initial hypothesis.
  2. The hypothesis is interleaved with insertion slots (blank tokens between each token)
  3. The projected audio embeddings are concatenated with the interleaved hypothesis embeddings
  4. The bidirectional LLM predicts edits (copy, insert, delete, replace) at all positions simultaneously
  5. CTC greedy decoding (argmax + collapse) produces the final transcript

This design exploits the identity mapping bias of Transformers: residual connections and tied embeddings make the model naturally inclined to copy input tokens, so it focuses learning capacity on corrections rather than full reconstruction.

Training Data

The model was trained on approximately 130K hours of speech across five languages (English, Spanish, French, German, Portuguese), using publicly available datasets including CommonVoice 15, MLS, LibriSpeech, Libriheavy long, AMI, Granary VoxPopuli, Granary YODAS, Earnings-22, Fisher, CallHome, and SwitchBoard. For additional training details, see the paper.

Infrastructure

Training was completed on IBM's Blue Vela cluster using 16 H100 GPUs (2 nodes) for 5 epochs (3 days).

Ethical Considerations and Limitations

The model is designed specifically for automatic speech recognition and does not generate free-form text, which limits the risk of hallucination compared to general-purpose speech-language models. However, transcription accuracy varies across languages and acoustic conditions. Performance may be weaker on languages with less training data (e.g., Portuguese) or in challenging acoustic environments (e.g., far-field, overlapping speech).

The model's editing approach is conservative by design — it prefers deletions over insertions, which reduces hallucination risk but may occasionally drop words in noisy conditions.

To enhance safety, we recommend using granite-speech-4.1-2b-nar alongside Granite Guardian. Granite Guardian is a fine-tuned instruct model designed to detect and flag risks in prompts and responses across key dimensions outlined in the IBM AI Risk Atlas.

Resources

  • 📄 Read our papers:

    • NLE: Non-autoregressive LLM-based ASR by Transcript Editing
    • Granite-speech: open-source speech-aware LLMs with strong English ASR capabilities
    • Self-Speculative Decoding for LLM-based ASR with CTC Encoder Drafts
    • Contextual Biasing for ASR in Speech LLM with Common Word Cues and Bias Word Position Prediction
    • In-Sync: Adaptation of Speech Aware Large Language Models for ASR with Word Level Timestamp Predictions
    • Speaker Attributed Automatic Speech Recognition Using Speech Aware LLMS
  • ⭐️ Learn about Granite: https://www.ibm.com/granite

  • 💡 Learn about the latest Granite learning resources: https://ibm.biz/granite-learning-resources

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:342619c463101ca7ed1277aa437f2980e2d19876&dn=ibm-granite_granite-speech-4.1-2b-nar

Open magnet in torrent client · infohash 342619c463101ca7ed1277aa437f2980e2d19876

Files & hashes

PathSizesha1sha256
10226_10111_000000.wav527.2 KB (539,884 B)8a1f6251cb2bf2e0d0d7bdeb704b86ea96793e856ee3e432f4ce88415747f0549628bfef0df742365813d38b18bf28067a40cd51
README.md9.1 KB (9,287 B)08c44370575e43ab8ffc28109ba23e272feb3b2ee4b15fab1cd6619ad0d5fab77fa4f129d0f50fa090c329b05622343e62704541
__init__.py1.6 KB (1,639 B)3aa3082520c1320a12077302a7f30cf97719e1febb0b146ef994d40b86ea97790d4ddf2cf00e05f3205c2c93d8e810f2923ace04
chat_template.jinja6.3 KB (6,418 B)82e3ebf57b6de47c0c4e722dde0e33915f73bfe89524df67b77a7b25a2dfee898f75b316a157eb9d855b51e32aeac79d7c8a83ce
config.json2.5 KB (2,554 B)6494f0b92718119bf8e2837f6edd815830744c98d6c760e672df122eedd873adb77a318b785221b06f9fbe9db08c51a1f8302936
configuration_granite_speech_nar.py8.5 KB (8,716 B)810207c8728d8b2655e6b085d7c9e02f1e3226bcbfeeef9fe0ebae2133fc96b04a2fe5e60b8dd2cc82d834dcda71272cb84a4d55
diagram.png154.8 KB (158,521 B)2bd904a192f8bb75686694b3b3ace406b925d00629c2c37ab0352a291638a2ddb194b09d1255695b286acbc70c138b45e03c4445
feature_extraction_granite_speech_nar.py4.3 KB (4,410 B)f9b55c4461e11b810c927ac70af6eac6b2098d26627b0cf465ffcaf7d4042fd9287dfa0914c68dd170e46d28b90240592b14e761
generation_config.json38 B (38 B)02d9316149e52969027e4896ce2b9ccfed27b4dbaf7cd9bbb214dea4f6a37756c2c133d002f6325ed4f497efc991f02b4d486dad
model.safetensors4.20 GB (4,509,382,472 B)9745569972c6ac9e8e1b6bcd965fcec414fc8ac2a187681b05e9598028b6177bba4588a27a76b97ab6840870877d69e1770a5094
model.sig12.5 KB (12,833 B)ff8f05fc6cb3e442776d7e9a356cd17ce990a47001882269d47334e6ce207f0b2f922a1cefaf9980be699eb3442bfd16343c9df5
modeling_granite_speech_nar.py49.5 KB (50,718 B)c233d935cd0baf990dbba655589487f6900c2634dd8cfd71523acf5a4220dd35566d56c60e29771fd1c4d30291f72edbb2e47171
preprocessor_config.json289 B (289 B)6ff67ad0858a88317446dfb61341d8d79e8aed75e12be1e9d4ec5c459741328f28d9d8c00c3c688e8fe4230a6ec28df5470db8b3
processing_granite_speech_nar.py1.8 KB (1,877 B)d0575834e4769e37acc1249e8c2b1b2adefa5a2b47280a8d34eff709b98c6baa016873cb5a84ff1ec08d853a7de082e489e7c408
processor_config.json153 B (153 B)febc55dc4389e76dde41ae3a34679fa580f03a7c74d21364b507dcbe465420152d48edd9276f94a84d22a78d0da371e716a79374
rtf_wer.png148.3 KB (151,867 B)5f1047d81debc9931f3cd9c93833fc286bc3eb8fb82815f3bb2d0096278af69462261bc07e369ea27118ce103d12863d932432fa
special_tokens_map.json579 B (579 B)3f67e7c50d57b16925f4f15469a774e7bf439047c08676c49fd7969a3130f72be6d4bf34da66aa484a6e21dffe359893a1bd5f2e
tokenizer.json6.8 MB (7,153,802 B)73bd9c611ede9ebf3c3c35c1c9c6925dcdfb6b4c64c10a88b2495872bd7da5a885861a1757d9c23590c40fd378546ae176d280f6
tokenizer_config.json392 B (392 B)51cfc3e3486ce90cb7c4c7150c2b68c40c55fdf1c7e48adce9bdf6cfe3524759067b5dfa2428de9ccba2fd257502bf0246161c2f
vocab.json1.5 MB (1,612,704 B)4764ec73731a47701c2f49b01bb428342870f4988af71076de8b0b626eed0f4c984faf0a7c062479164b2a31308a948524d4f69c

Cite this release

Canonical URL
https://aiseedbank.org/models/ibm-granite_granite-speech-4.1-2b-nar/
Slug
ibm-granite_granite-speech-4.1-2b-nar
Infohash
342619c463101ca7ed1277aa437f2980e2d19876
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: ibm-granite_granite-speech-4.1-2b-nar.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryibm-granite/granite-speech-4.1-2b-nar
Revision (pinned)a1e3416e25ce29ab3852778e54fa8b3bd59c4bf2
Fetched at2026-09-02T05:09:37Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T05:10:19Z

apache-2.04.21 GB (4,519,099,153 bytes)transformerssafetensorsgranite_speech_narfeature-extractionspeechasrnon-autoregressivectcspeech_recognitionautomatic_speech_recognitioncustom_code5 languages (en, fr, de …)paper: 2603.08397paper: 2505.08699paper: 2603.11243paper: 2604.12398paper: 2604.22817paper: 2604.11269