Views
No views yet
1# Don't add vocab.json and config.json , as they already get created while converting to new model
2ct2-transformers-converter --model tarteel-ai/whisper-base-ar-quran --force --output_dir "path/to/output/dir/faster-whisper-base-ar-quran" --quantization float16 --copy_files added_tokens.json normalizer.json preprocessor_config.json special_tokens_map.json tokenizer_config.jsonct2-transformers-converter command, you'll need to install the required dependencies:pip install transformers[torch]Python Usage 🐍 section in WhisperX's README page here, but change this line:model = whisperx.load_model("large-v2", device, compute_type=compute_type)model = whisperx.load_model("OdyAsh/faster-whisper-base-ar-quran", device, compute_type=compute_type)--quantization float16. However, the original tarteel-ai/whisper-base-ar-quran is in float32 precision (source). Yet, float16 conversion was kept for the following reasons:--quantization argument to float32 in the command above to get a larger model size (around 290mb).compute_type argument of whisperx.load_model() to float32.
pyproject.toml and uv.lock files, indicating that you can use uv to install the required packages for the ct2-transformers-converter command instead of pip (if you want).uv if not already installed by following this section in their docs.uv.lock file is already present in that local directory):uv installct2-transformers-converter --help