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 with new model card content
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ tags:
|
|
| 6 |
- keras
|
| 7 |
pipeline_tag: automatic-speech-recognition
|
| 8 |
---
|
| 9 |
-
## Model Overview
|
| 10 |
⚠️ Whisper is currently only available via the `keras-hub-nightly` package. Use `pip install keras-hub-nightly` to try this model.
|
| 11 |
|
| 12 |
A Whisper encoder-decoder network for speech.
|
|
@@ -109,4 +109,4 @@ model = keras_hub.models.WhisperBackbone(
|
|
| 109 |
max_decoder_sequence_length=128,
|
| 110 |
)
|
| 111 |
model(input_data)
|
| 112 |
-
```
|
|
|
|
| 6 |
- keras
|
| 7 |
pipeline_tag: automatic-speech-recognition
|
| 8 |
---
|
| 9 |
+
### Model Overview
|
| 10 |
⚠️ Whisper is currently only available via the `keras-hub-nightly` package. Use `pip install keras-hub-nightly` to try this model.
|
| 11 |
|
| 12 |
A Whisper encoder-decoder network for speech.
|
|
|
|
| 109 |
max_decoder_sequence_length=128,
|
| 110 |
)
|
| 111 |
model(input_data)
|
| 112 |
+
```
|