awni commited on
Commit
ec8e501
1 Parent(s): ae64765

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +20 -0
  2. config.json +13 -0
  3. weights.npz +3 -0
README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: mlx
3
+ ---
4
+
5
+ # whisper-turbo
6
+ This model was converted to MLX format from [`turbo`]().
7
+
8
+ ## Use with mlx
9
+ ```bash
10
+ pip install mlx-whisper
11
+ ```
12
+
13
+ ```python
14
+ import mlx_whisper
15
+
16
+ result = mlx_whisper.transcribe(
17
+ "FILE_NAME",
18
+ path_or_hf_repo=mlx-community/whisper-turbo,
19
+ )
20
+ ```
config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "n_mels": 128,
3
+ "n_audio_ctx": 1500,
4
+ "n_audio_state": 1280,
5
+ "n_audio_head": 20,
6
+ "n_audio_layer": 32,
7
+ "n_vocab": 51866,
8
+ "n_text_ctx": 448,
9
+ "n_text_state": 1280,
10
+ "n_text_head": 20,
11
+ "n_text_layer": 4,
12
+ "model_type": "whisper"
13
+ }
weights.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0c190788fe5993dc196a8e19869ce64b12f19bfe75081db989165d716177eb8
3
+ size 1614088832