Instructions to use keras/moonshine_tiny_en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasHub
How to use keras/moonshine_tiny_en with KerasHub:
import keras_hub # Create a Seq2SeqLM model task = keras_hub.models.Seq2SeqLM.from_preset("hf://keras/moonshine_tiny_en")import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://keras/moonshine_tiny_en") - Keras
How to use keras/moonshine_tiny_en 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/moonshine_tiny_en") - Notebooks
- Google Colab
- Kaggle
Update README.md with new model card content
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ library_name: keras-hub
|
|
| 4 |
### Model Overview
|
| 5 |
# Model Summary
|
| 6 |
|
| 7 |
-
The Moonshine models are
|
| 8 |
|
| 9 |
Weights are released under the [MIT License](https://www.mit.edu/~amini/LICENSE.md) . Keras model code is released under the [Apache 2 License](https://github.com/keras-team/keras-hub/blob/master/LICENSE).
|
| 10 |
|
|
@@ -35,8 +35,8 @@ The following model checkpoints are provided by the Keras team. Full code exampl
|
|
| 35 |
|
| 36 |
| Preset name | Parameters | Description |
|
| 37 |
|---------------------------------------|------------|--------------------------------------------------------------------------------------------------------------|
|
| 38 |
-
| moonshine_base_en | 61.5M | Moonshine
|
| 39 |
-
| moonshine_tiny_en | 27.1M | Moonshine
|
| 40 |
|
| 41 |
## Example Usage
|
| 42 |
```Python
|
|
|
|
| 4 |
### Model Overview
|
| 5 |
# Model Summary
|
| 6 |
|
| 7 |
+
The Moonshine models are designed for English speech recognition, capable of transcribing spoken audio into accurate English text. Developed by Useful Sensors, these models align with the company’s focus on real-time transcription solutions built for low-cost, resource-efficient hardware. Moonshine is available in two variants, each offering a different balance of size and performance, outlined in the presets table below.
|
| 8 |
|
| 9 |
Weights are released under the [MIT License](https://www.mit.edu/~amini/LICENSE.md) . Keras model code is released under the [Apache 2 License](https://github.com/keras-team/keras-hub/blob/master/LICENSE).
|
| 10 |
|
|
|
|
| 35 |
|
| 36 |
| Preset name | Parameters | Description |
|
| 37 |
|---------------------------------------|------------|--------------------------------------------------------------------------------------------------------------|
|
| 38 |
+
| moonshine_base_en | 61.5M | For real-time transcription, Moonshine Base is a portable, powerful English voice recognition model. It is perfect for applications where accuracy and speed are crucial since it provides excellent accuracy with extremely low latency.|
|
| 39 |
+
| moonshine_tiny_en | 27.1M | For real-time transcription, Moonshine Tiny is a compact and efficient English voice recognition model. It’s ideal for resource-constrained applications where low latency and reliable accuracy are essential. |
|
| 40 |
|
| 41 |
## Example Usage
|
| 42 |
```Python
|