Find answers from the community

Updated 8 months ago

Multiprocessing

At a glance

A community member is experiencing an issue with the HuggingFaceEmbedding object, which does not have the _model attribute. They are using a local Bge-large model for embedding. Another community member suggests that the issue may be due to the inability to multiprocess with a local model, and recommends setting num_workers=1 or trying an API-based embedding model instead. The original poster thanks the commenter and indicates they will give it a try.

does anyone who can help with this? :'HuggingFaceEmbedding' object has no attribute '_model', I am using a local Bge-large for emb model.
L
n
2 comments
You cant multiprocess with a local model

Try setting num_workers=1, or try an api based embedding model
Thanks for reply. I will give a try
Add a reply
Sign up and join the conversation on Discord