-
Hi All, I'm a beginner trying to follow along some examples from Keras-nlp, more specifically this one: However, since the last update and API change, this doesn't work anymore. Can anyone clarify how I would get that example to work using TopPSampler? Now, top-p-search is based on this: `# Unpadded bos token. def token_logits_fn(inputs): output_tokens = keras_nlp.utils.top_p_search( I'm struggling to get this reworked to the new API. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
See #1030. We will update the old guide ASAP, apologies! |
Beta Was this translation helpful? Give feedback.
See #1030. We will update the old guide ASAP, apologies!