This is an automated email from the ASF dual-hosted git repository.
krickert pushed a change to branch feat/GH-1392-embed-padding
in repository https://gitbox.apache.org/repos/asf/opennlp.git
from 347eab4cc GH-1392: Add padding strategies for
SentenceVectorsDL.embedAll and pad on a GPU by default
add 1a4c3ec08 GH-1392: Group sentence vector settings in an options record
No new revisions were added by this update.
Summary of changes:
.../dl/vectors/OnnxTextEmbedderProvider.java | 5 +-
.../java/opennlp/dl/vectors/SentenceVectorsDL.java | 88 ++++---------
.../opennlp/dl/vectors/SentenceVectorsOptions.java | 60 +++++++++
.../dl/vectors/SentenceVectorsDLEmbedderTest.java | 26 ++--
.../vectors/SentenceVectorsDLPaddingEdgesTest.java | 3 +-
.../dl/vectors/SentenceVectorsOptionsTest.java | 146 +++++++++++++++++++++
.../java/opennlp/dl/vectors/TinyVectorModels.java | 3 +-
opennlp-docs/src/docbkx/machine-learning.xml | 13 +-
8 files changed, 259 insertions(+), 85 deletions(-)
create mode 100644
opennlp-core/opennlp-ml/opennlp-dl/src/main/java/opennlp/dl/vectors/SentenceVectorsOptions.java
create mode 100644
opennlp-core/opennlp-ml/opennlp-dl/src/test/java/opennlp/dl/vectors/SentenceVectorsOptionsTest.java