Instructions to use keras/bloom_560m_multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasHub
How to use keras/bloom_560m_multi with KerasHub:
import keras_hub # Load CausalLM model (optional: use half precision for inference) causal_lm = keras_hub.models.CausalLM.from_preset("hf://keras/bloom_560m_multi", dtype="bfloat16") causal_lm.compile(sampler="greedy") # (optional) specify a sampler # Generate text causal_lm.generate("Keras: deep learning for", max_length=64)import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://keras/bloom_560m_multi") - Keras
How to use keras/bloom_560m_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/bloom_560m_multi") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md with new model card content
Verified signature9918813
-
Upload folder using huggingface_hub
Verified signature3541302
-
Update README.md with new model card content
Verified signaturef4856ba
-
Update README.md
Verified signaturee2b9f18
-
Update README.md
Verified signaturee539b24
-
Update README.md with new model card content
Verified signature526b0aa
-
Update README.md with new model card content
Verified signaturedefc69d -
Update README.md with new model card content
Verified signature9ae6e84 -
Update README.md with new model card content
Verified signaturefa9fb7e -
Update README.md with new model card content
Verified signatured5f3e1c
-
Upload folder using huggingface_hub
Verified signaturef996710 -
initial commit
Verified signature49b028b