A memory-efficient
INT8 quantization of
CohereLabs/cohere-transcribe-arabic-07-2026, Cohere Labs' 2B-parameter Arabic/English
speech-recognition model. Produced with bitsandbytes
LLM.int8() (8-bit weight quantization) for GPU inference via
transformers.
This quantization is
effectively lossless — identical WER to the full model (17.5% on Saudi podcasts).
Word Error Rate of this quantized model measured against the full fp16 model on
1,009 Saudi-dialect podcast clips (Arabic text normalized):
The int8 build is identical to full-precision in WER; the int4 build differs by ~1.9%,
mostly minor orthographic variation (e.g. hamza placement).
1import torch
2from transformers import AutoProcessor, CohereAsrForConditionalGeneration
3from transformers.audio_utils import load_audio
4
5processor = AutoProcessor.from_pretrained("NAMAA-Space/cohere-transcribe-arabic-07-2026-int8")
6model = CohereAsrForConditionalGeneration.from_pretrained("NAMAA-Space/cohere-transcribe-arabic-07-2026-int8", device_map="auto")
7
8audio = load_audio("your_audio.wav", sampling_rate=16000)
9inputs = processor(audio, sampling_rate=16000, language="ar", return_tensors="pt").to(model.device)
10outputs = model.generate(**inputs, max_new_tokens=256)
11print(processor.decode(outputs, skip_special_tokens=True))
1import torch
2from transformers import BitsAndBytesConfig
3
4quantization_config = BitsAndBytesConfig(load_in_8bit=True)
Released under
Apache 2.0. This is a quantized derivative of
CohereLabs/cohere-transcribe-arabic-07-2026 by Cohere and Cohere Labs; all original terms apply.