sealad886 commited on
Commit
ac061dd
1 Parent(s): 44da3c6

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +16 -0
  2. config.json +17 -0
  3. weights.npz +3 -0
README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: mlx
3
+ ---
4
+
5
+ # whisper-medium-mlx-q4
6
+ This model was converted to MLX format from [`medium`]().
7
+
8
+ ## Use with mlx
9
+ ```bash
10
+ git clone https://github.com/ml-explore/mlx-examples.git
11
+ cd mlx-examples/whisper/
12
+ pip install -r requirements.txt
13
+
14
+ >> import whisper
15
+ >> whisper.transcribe("FILE_NAME")
16
+ ```
config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "n_mels": 80,
3
+ "n_audio_ctx": 1500,
4
+ "n_audio_state": 1024,
5
+ "n_audio_head": 16,
6
+ "n_audio_layer": 24,
7
+ "n_vocab": 51865,
8
+ "n_text_ctx": 448,
9
+ "n_text_state": 1024,
10
+ "n_text_head": 16,
11
+ "n_text_layer": 24,
12
+ "quantization": {
13
+ "group_size": 64,
14
+ "bits": 4
15
+ },
16
+ "model_type": "whisper"
17
+ }
weights.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d0d1c30691660c66ec3f4e559de7244495b359b38b112f9b7e824746e61aa50
3
+ size 512230640