3 questions from the last 30 days
1
vote
1
answer
66
views
R reticulate to import sentence_transformers: "encode() argument 'encoding' must be str, not int"
I want to import a module with
library(reticulate)
sentence_transformers <- import("sentence_transformers")
but get this error
Error in py_module_import(module, convert = convert) :
...
0
votes
0
answers
16
views
Embedding model `all-mpnet-base-v2` not able to classify user prompt properly
I am using this model to embed a product catalog for a rag. In the product catalog, there are no red shirts for men, but there are red shirts for women. How can I make sure the model doesnt output ...
0
votes
0
answers
39
views
No attention output in jinaai/jina-embeddings-v3 embedding model
When I use this model like so -
from transformers import AutoModel, AutoTokenizer
model_id = "jinaai/jina-embeddings-v3"
tokenizer = AutoTokenizer.from_pretrained(model_id, ...