AttributeError: 'types.SimpleNamespace' object has no attribute 'get_registered_object' from return keras.saving.get_registered_object(config["registered_name"]) in keras_nlp\src\utils\preset_utils.py #19456
Labels
Gemma
Gemma model specific issues
type:support
User is asking for help / asking an implementation question. Stackoverflow would be better suited.
want to run the demo in the local by following the getting started guide
and config the kaggle API credentials with this doc
but get error when run the setup 5:
`import keras
import keras_nlp
import os
os.environ["KERAS_BACKEND"] = "jax"
gemma_lm = keras_nlp.models.GemmaCausalLM.from_preset("gemma_2b_en")`
what is the reason for this ? and how to fix that ?
The text was updated successfully, but these errors were encountered: