Instructions to use keras/whisper_tiny_multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasHub
How to use keras/whisper_tiny_multi with KerasHub:
import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://keras/whisper_tiny_multi") - Keras
How to use keras/whisper_tiny_multi with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://keras/whisper_tiny_multi") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
---
|
| 2 |
library_name: keras-hub
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
## Model Overview
|
| 5 |
⚠️ Whisper is currently only available via the `keras-hub-nightly` package. Use `pip install keras-hub-nightly` to try this model.
|
|
@@ -104,4 +108,4 @@ model = keras_hub.models.WhisperBackbone(
|
|
| 104 |
max_decoder_sequence_length=128,
|
| 105 |
)
|
| 106 |
model(input_data)
|
| 107 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
library_name: keras-hub
|
| 3 |
+
license: mit
|
| 4 |
+
tags:
|
| 5 |
+
- automatic-speech-recognition
|
| 6 |
+
- keras
|
| 7 |
---
|
| 8 |
## Model Overview
|
| 9 |
⚠️ Whisper is currently only available via the `keras-hub-nightly` package. Use `pip install keras-hub-nightly` to try this model.
|
|
|
|
| 108 |
max_decoder_sequence_length=128,
|
| 109 |
)
|
| 110 |
model(input_data)
|
| 111 |
+
```
|