Add model card
Browse files
README.md
CHANGED
|
@@ -7,14 +7,20 @@ license: mit
|
|
| 7 |
|
| 8 |
# Whisper MLX Model
|
| 9 |
|
| 10 |
-
This repository contains a CoreML and MLX-optimized Whisper model for efficient speech recognition.
|
| 11 |
|
| 12 |
## Model Components
|
| 13 |
|
| 14 |
-
- CoreML encoder for efficient inferencing on Apple
|
| 15 |
-
- MLX decoder for fast processing
|
| 16 |
- HuggingFace Whisper processor and model template
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
## Usage
|
| 19 |
|
| 20 |
```python
|
|
@@ -23,7 +29,8 @@ from asr_streaming import StreamingConfig, StreamingBackend
|
|
| 23 |
# Create config with HuggingFace repository
|
| 24 |
config = StreamingConfig(
|
| 25 |
use_huggingface=True,
|
| 26 |
-
huggingface_repo="TheStageAI/whisper-medium"
|
|
|
|
| 27 |
)
|
| 28 |
|
| 29 |
# Initialize the backend
|
|
|
|
| 7 |
|
| 8 |
# Whisper MLX Model
|
| 9 |
|
| 10 |
+
This repository contains a CoreML and MLX-optimized Whisper model for efficient speech recognition on Apple devices.
|
| 11 |
|
| 12 |
## Model Components
|
| 13 |
|
| 14 |
+
- CoreML encoder for efficient inferencing on Apple Neural Engine
|
| 15 |
+
- MLX decoder for fast processing with Apple Silicon optimizations
|
| 16 |
- HuggingFace Whisper processor and model template
|
| 17 |
|
| 18 |
+
## Encryption
|
| 19 |
+
|
| 20 |
+
This model is encrypted. You need to provide the FEK (File Encryption Key) in your config to use it.
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
## Usage
|
| 25 |
|
| 26 |
```python
|
|
|
|
| 29 |
# Create config with HuggingFace repository
|
| 30 |
config = StreamingConfig(
|
| 31 |
use_huggingface=True,
|
| 32 |
+
huggingface_repo="TheStageAI/whisper-medium",
|
| 33 |
+
fek="your_base64_encoded_fek_here" # Required for encrypted models
|
| 34 |
)
|
| 35 |
|
| 36 |
# Initialize the backend
|