Package opennlp.dl.vectors
package opennlp.dl.vectors
-
ClassDescriptionProvides a
SentenceVectorsDLunder the name "onnx".HowSentenceVectorsDL.embedAll(List)shapes the tensors of one inference when the texts of a call differ in tokenized length.HowSentenceVectorsDLturns the token vectors of a model into one sentence vector.Facilitates the generation of sentence vectors using a sentence-transformers model converted to ONNX.Pooling, normalization, truncation and padding settings forSentenceVectorsDL.