Package ai.djl.modality.nlp.bert
package ai.djl.modality.nlp.bert
Contains classes that deal with BERT for natural language pre-processing tasks.
-
ClassesClassDescriptionBertFullTokenizer runs end to end tokenization of input textBertToken contains all the information for Bert model after encoding question and paragraph.BertTokenizer is a class to help you encode question and paragraph sentence.WordpieceTokenizer tokenizes a piece of text into its word pieces.