public class BertQAModelLoader extends ai.djl.repository.zoo.BaseModelLoader<QAInput,java.lang.String>
The model was trained on Gluon and loaded in DJL in MXNet Symbol Block.
See the BERT paper or the jupyter demo for more information about BERT.
MxSymbolBlock| Constructor and Description |
|---|
BertQAModelLoader(ai.djl.repository.Repository repository)
Creates the Model loader from the given repository.
|
| Modifier and Type | Method and Description |
|---|---|
ai.djl.translate.Translator<QAInput,java.lang.String> |
getTranslator(ai.djl.repository.Artifact artifact) |
listModels, loadModel, loadModel, match, search, toString