Package ai.djl.modality.nlp.embedding
package ai.djl.modality.nlp.embedding
Contains classes that deal with word embeddings for natural language pre-processing tasks.
-
ClassDescriptionThrown to indicate that there was some error while loading embeddings.A
WordEmbedding
using aZooModel
.ATextEmbedding
that applies aWordEmbedding
to each word independently.A class to manage 1-DNDArray
representations of multiple words.TrainableWordEmbedding
is an implementation ofWordEmbedding
andEmbedding
based on aDefaultVocabulary
.A builder for aTrainableWordEmbedding
.A class to manage 1-DNDArray
representations of words.