SadeghK commited on
Commit
b9af7a8
Β·
verified Β·
1 Parent(s): 9f71349

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +69 -3
README.md CHANGED
@@ -1,3 +1,69 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - fa
5
+ base_model:
6
+ - SadeghK/whisper-large-v3-turbo
7
+ tags:
8
+ - ASR
9
+ - Persian
10
+ - Farsi
11
+ ---
12
+ # Whisper Large V3 Turbo (CTranslate2) β€” Optimized for Faster-Whisper & WhisperX
13
+
14
+ This repository contains a **CTranslate2 (CT2) optimized version** of the `whisper-large-v3-turbo` model finetuned by **SadeghK**.
15
+ It is designed for **high-speed inference**, **low-latency ASR**, and **full WhisperX compatibility** (ASR + alignment + diarization).
16
+
17
+ ---
18
+
19
+ ## πŸš€ Model Overview
20
+
21
+ This is a converted version of the original `SadeghK/whisper-large-v3-turbo` model into **CTranslate2 format**, which enables:
22
+
23
+ - βœ” Faster inference (up to 4Γ— vs PyTorch)
24
+ - βœ” Lower memory usage (supports float16 / int8 / int8_float16)
25
+ - βœ” Full compatibility with **faster-whisper**
26
+ - βœ” Full compatibility with **WhisperX** for:
27
+ - ASR transcription
28
+ - Word-level alignment
29
+ - (optional) speaker diarization
30
+
31
+ All weights in this repository are **ready-to-use**, no additional conversion required.
32
+
33
+ ---
34
+
35
+
36
+ ## πŸ”¬ Usage with WhisperX (ASR + alignment)
37
+ ```python
38
+ import whisperx
39
+
40
+ device = "cuda"
41
+
42
+ # ASR
43
+ asr_model = whisperx.load_model(
44
+ "SadeghK/whisper-large-v3-turbo-ct2",
45
+ device=device,
46
+ compute_type="float16"
47
+ )
48
+
49
+ result = asr_model.transcribe("audio.wav")
50
+
51
+ # Alignment (example for Persian)
52
+ align_model, metadata = whisperx.load_align_model("fa", device)
53
+ aligned = whisperx.align(result["segments"], align_model, metadata, "audio.wav", device)
54
+
55
+ ```
56
+
57
+ ---
58
+
59
+ ## πŸ“ Repository Structure
60
+
61
+ ```bash
62
+ whisper-large-v3-turbo-ct2/
63
+ β”‚
64
+ β”œβ”€β”€ config.json
65
+ β”œβ”€β”€ model.bin
66
+ β”œβ”€β”€ preprocessor_config.json
67
+ β”œβ”€β”€ tokenizer.json
68
+ └── vocabulary.json
69
+ ```