Package org.apache.ignite.example.ml
Class MlTensorflowSentenceEncoderExample
java.lang.Object
org.apache.ignite.example.ml.MlBaseExample
org.apache.ignite.example.ml.MlTensorflowSentenceEncoderExample
Demonstrates running a TensorFlow-based Universal Sentence Encoder model on GridGain.
Downloads the model from Hugging Face, deploys it to the cluster with its translator JAR, and performs sentence embedding inference using a custom compute job and marshallers.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.ignite.example.ml.MlBaseExample
MlBaseExample.MODE -
Field Summary
Fields inherited from class org.apache.ignite.example.ml.MlBaseExample
client, mlApi, server, sql -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.ignite.example.ml.MlBaseExample
start, stop
-
Constructor Details
-
MlTensorflowSentenceEncoderExample
public MlTensorflowSentenceEncoderExample()
-
-
Method Details
-
main
- Throws:
IOException
-
cleanup
- Throws:
IOException
-