0votes
3 answersMy embeddings have shape (1, 12, 768) or (batch, seq_len, 768) instead of (1, 768)
I used Hugging Face AutoModel to create embeddings. The output has an extra dimension, and every similarity function rejects it.

Find answers to your programming questions.
I used Hugging Face AutoModel to create embeddings. The output has an extra dimension, and every similarity function rejects it.