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:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://keras/whisper_tiny_multi") - Notebooks
- Google Colab
- Kaggle
File size: 616 Bytes
4b85afc 112b049 4b85afc 112b049 4b85afc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | {
"module": "keras_hub.src.models.whisper.whisper_audio_converter",
"class_name": "WhisperAudioConverter",
"config": {
"name": "whisper_audio_converter",
"trainable": true,
"dtype": {
"module": "keras",
"class_name": "DTypePolicy",
"config": {
"name": "float32"
},
"registered_name": null
},
"num_mels": 80,
"num_fft_bins": 400,
"stride": 160,
"sampling_rate": 16000,
"max_audio_length": 30
},
"registered_name": "keras_hub>WhisperAudioConverter"
} |