Package org.apache.ignite.example.ml
Class MlCustomTranslatorExample
java.lang.Object
org.apache.ignite.example.ml.MlBaseExample
org.apache.ignite.example.ml.MlCustomTranslatorExample
This example demonstrates:
1. Download and Deploy a model from huggingface.
2. Generate JAR from custom classes
3. Inference via Embedded API using a model from huggingface with custom input, output, and translationFactory
- Simple prediction
- Batch prediction
-
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
-
MlCustomTranslatorExample
public MlCustomTranslatorExample()
-
-
Method Details
-
main
- Throws:
IOException
-