Instructions to use mlx-community/whisper-tiny-khmer-mlx-fp16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/whisper-tiny-khmer-mlx-fp16 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir whisper-tiny-khmer-mlx-fp16 mlx-community/whisper-tiny-khmer-mlx-fp16
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -58,7 +58,7 @@ import mlx_whisper
|
|
| 58 |
|
| 59 |
result = mlx_whisper.transcribe(
|
| 60 |
SPEECH_FILE_NAME,
|
| 61 |
-
path_or_hf_repo="
|
| 62 |
fp16=True
|
| 63 |
)
|
| 64 |
print(result['text'])
|
|
@@ -67,5 +67,5 @@ Then execute this script `example.py` to see the result.
|
|
| 67 |
|
| 68 |
You can also use command line in terminal
|
| 69 |
```bash
|
| 70 |
-
mlx_whisper --model
|
| 71 |
```
|
|
|
|
| 58 |
|
| 59 |
result = mlx_whisper.transcribe(
|
| 60 |
SPEECH_FILE_NAME,
|
| 61 |
+
path_or_hf_repo="mlx-community/whisper-tiny-khmer-mlx-fp16",
|
| 62 |
fp16=True
|
| 63 |
)
|
| 64 |
print(result['text'])
|
|
|
|
| 67 |
|
| 68 |
You can also use command line in terminal
|
| 69 |
```bash
|
| 70 |
+
mlx_whisper --model mlx-community/whisper-tiny-khmer-mlx-fp16 --task transcribe SPEECH_FILE_NAME --fp16 True
|
| 71 |
```
|