Modifying ai.djl.examples.training.TrainSeq2Seq to do predictions #2768
Unanswered
DonaldAlan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to modify ai.djl.examples.training.TrainSeqToSeq so I can give it an English sentence and it will spit out the predicted French translation. Apparently -- correct me if I'm wrong -- I need to create a Predictor, doing something like:
My question is: how do define
getTranslator
? Or is this entire approach wrong?Beta Was this translation helpful? Give feedback.
All reactions