Ornn generating vector with 768 dimensions instead of 512

#8
by lazarim - opened

Hello, i'm using spring ai in a spring boot + java application to transform a text in vector and then make a query in opensearch. The problem is: the model is generating a vector with 768 dimensions instead of 512. Here's my configuration for give more context:

spring:
  ai:
    embedding:
      transformer:
        onnx:
          model-uri: https://huggingface.co/sentence-transformers/distiluse-base-multilingual-cased-v1/resolve/main/onnx/model.onnx
        tokenizer:
          uri: https://huggingface.co/sentence-transformers/distiluse-base-multilingual-cased-v1/resolve/main/tokenizer.json

I also tried with model_01, model_02, model_03 and model_04, same problem.

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment