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
WordEmbeddingusing aZooModel.ATextEmbeddingthat applies aWordEmbeddingto each word independently.A class to manage 1-DNDArrayrepresentations of multiple words.TrainableWordEmbeddingis an implementation ofWordEmbeddingandEmbeddingbased on aDefaultVocabulary.A builder for aTrainableWordEmbedding.A class to manage 1-DNDArrayrepresentations of words.