java
java copied to clipboard
Need advice: I am looking for a model that does text generation, and can be successfully loaded by ToF Java API
For example, if I specify the following start:
Once upon a time, in a distant land,
the model should generate a meaningful continuation in a few sentences. Can anyone recommend an adequate pre-trained model?
If you can export Google's Gemma models from Keras to a TF Saved Model they should be pretty good - https://www.kaggle.com/models/google/gemma-2.
If you can export Google's Gemma models from Keras to a TF Saved Model
-any help how to do that?
https://www.tensorflow.org/guide/keras/serialization_and_saving#apis