Morocco Darija STT Large — CTranslate2
Model Description
This repository provides a CTranslate2 conversion of the original Morocco-Darija-STT-large model by BounharAbdelaziz.
The model is designed for automatic speech recognition (ASR) in Moroccan Arabic (Darija) and is compatible with faster-whisper.
Original Model
- Original model: BounharAbdelaziz/Morocco-Darija-STT-large
- Original author: BounharAbdelaziz
- Original license: Apache License 2.0
- Language: Moroccan Arabic (Darija)
- Task: Automatic Speech Recognition (ASR)
Modifications
The original model weights were converted to the CTranslate2 format for inference using faster-whisper.
- No additional training or fine-tuning was performed.
- No contextual prompts are embedded in the model weights.
- Contextual prompting, when used, is handled separately by the inference application.
This repository provides a format conversion of the original model, not a newly trained model.
Usage
Install the required library:
pip install faster-whisper
Load the downloaded model locally:
from faster_whisper import WhisperModel
model = WhisperModel(
"path/to/downloaded/model",
device="cpu",
compute_type="int8"
)
segments, info = model.transcribe(
"audio.wav",
language="ar"
)
text = " ".join(segment.text for segment in segments)
print(text)
Replace path/to/downloaded/model with the local directory containing the CTranslate2 model files.
Limitations
Transcription accuracy may vary depending on audio quality, background noise, speaker pronunciation, and dialect variations.
The converted model has not been independently benchmarked in this repository.
License and Attribution
This converted model is distributed under the Apache License 2.0, consistent with the original model.
The original model and its training are credited to BounharAbdelaziz.
The CTranslate2 conversion is a technical modification of the original model weights. No additional training or fine-tuning was performed.
For details about the original model, its training, and its intended use, refer to the original model repository.