Find answers from the community

Updated 11 months ago

hello, got few questions about

At a glance
The community member has questions about retrievers, specifically whether the text_to_image_retrieve(query_str) and retrieve(query_str) methods embed the query string by default, and which model is used for the embedding. They also mention hitting a 77 character limit on the query string argument and ask if there is a way around it. A comment from another community member indicates that the issue is related to using the CLIP model, which has a 77 character limit.
Useful resources
hello, got few questions about retrievers. does the retriever returned from as_retriever() methods text_to_image_retrieve(query_str) and retrieve(query_str) embed the query string by default? Which model does it use to do the embedding if so? We are hitting a 77 (tokens?) limit on the query string argument. Is there a way around it?
j
1 comment
OK found the origin of the error: https://github.com/openai/CLIP/issues/212
seems it's using CLIP and having a 77 charaters limit
Add a reply
Sign up and join the conversation on Discord