This PR adds support for SentenceTransformer library for embeddings generation.
This PR also fixes a bug which resulted in T5 models generating embeddings with different dimensions then actually this model was able to generate. This bug was fixed by introducing SentenceTransformer library for embeddings generation instead of the original implementation.
This PR adds support for
SentenceTransformer
library for embeddings generation.This PR also fixes a bug which resulted in T5 models generating embeddings with different dimensions then actually this model was able to generate. This bug was fixed by introducing
SentenceTransformer
library for embeddings generation instead of the original implementation.