Instructions to use zeromodels/moonshine_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/moonshine_base 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/moonshine_base 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/moonshine_base") - Notebooks
- Google Colab
- Kaggle
Upload kf_config.json with huggingface_hub
Browse files- kf_config.json +5 -1
kf_config.json
CHANGED
|
@@ -23,6 +23,10 @@
|
|
| 23 |
"decoder_activation": "silu",
|
| 24 |
"layer_norm_eps": 1e-05,
|
| 25 |
"generate_args": {
|
| 26 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
}
|
|
|
|
| 23 |
"decoder_activation": "silu",
|
| 24 |
"layer_norm_eps": 1e-05,
|
| 25 |
"generate_args": {
|
| 26 |
+
"bos_token_id": 1,
|
| 27 |
+
"pad_token_id": 2,
|
| 28 |
+
"decoder_start_token_id": 1,
|
| 29 |
+
"eos_token_id": 2,
|
| 30 |
+
"max_length": 194
|
| 31 |
}
|
| 32 |
}
|