gemma icon indicating copy to clipboard operation
gemma copied to clipboard

How can I set temperatur of model when I reload Keras fine-tuned Gemma?

Open XinyueZ opened this issue 2 years ago • 2 comments

XinyueZ avatar Feb 29 '24 20:02 XinyueZ

Is there a way in the sampler method you use to specify the temperature or sampling method (e.g. nucleus, top-k, etc.)?

suryabhupa avatar Mar 05 '24 16:03 suryabhupa

you can set the sampler for that, more information at the bottom in this tutorial: https://ai.google.dev/gemma/docs/keras_inference

gustheman avatar Jul 15 '24 14:07 gustheman