Find answers from the community

Updated 10 months ago

Max length

At a glance

The community member is using llama_index.embeddings.huggingface and is wondering what the max_length parameter does, as it does not seem to change the embedding dimension. Another community member suggests that this parameter might be unused since the library has switched to using sentence transformers under the hood. There is no explicitly marked answer to the original question.

Useful resources
Hi team,

I'm using llama_index.embeddings.huggingface and when using parameter max_length it seems to do nothing. The embedding dimension do not change. What's max_length parameter really do?

https://docs.llamaindex.ai/en/stable/api_reference/embeddings/huggingface/
L
1 comment
Hmm this param might be unused since we switched to using sentence transformers under the hood
Add a reply
Sign up and join the conversation on Discord