Instructions to use zeromodels/whisper_tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/whisper_tiny with KerasFormers:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Keras
How to use zeromodels/whisper_tiny with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeromodels/whisper_tiny") - Notebooks
- Google Colab
- Kaggle
Upload kf_preprocessor.json with huggingface_hub
Browse files- kf_preprocessor.json +12 -0
kf_preprocessor.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"library_name": "kerasformers",
|
| 3 |
+
"kerasformers_version": "1.1.3",
|
| 4 |
+
"preprocessor_module": "kerasformers.models.whisper",
|
| 5 |
+
"preprocessor_class": "WhisperFeatureExtractor",
|
| 6 |
+
"variant": "whisper_tiny",
|
| 7 |
+
"sampling_rate": 16000,
|
| 8 |
+
"n_fft": 400,
|
| 9 |
+
"hop_length": 160,
|
| 10 |
+
"n_mels": 80,
|
| 11 |
+
"chunk_length": 30
|
| 12 |
+
}
|