You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use Gemma as a sentence encoding layer in a binary classifier. How should I do so if not with keras_nlp.models.GemmaPreprocessor and the code above?
The text was updated successfully, but these errors were encountered:
I have reproduced the issue, please refer to this gist file. To avoid it could you please use keras_hub.models.GemmaCausalLMPreprocessor class as mentioned by @jeffcarp and also please refer this keras documentation.
The original link points to the keras_nlp docs. In the updated keras_hub docs the GemmaPreprocessor class (correctly) no longer exists: https://keras.io/keras_hub/api/models/gemma/
Closing this as the keras_nlp docs should remain (unlinked in the navigation) for legacy reference.
Describe the bug
The
keras_nlp.models.GemmaPreprocessor
class described here no longer exists.To Reproduce
Output of the line that attempts to create the preprocessor:
I get the same results if I replace
keras_nlp
withkeras_hub
.Expected behavior
As described here, this class used to exist.
Additional context
I am trying to use Gemma as a sentence encoding layer in a binary classifier. How should I do so if not with
keras_nlp.models.GemmaPreprocessor
and the code above?The text was updated successfully, but these errors were encountered: