Find answers from the community

Updated 9 months ago

Cache

Plain Text
embed_model = HuggingFaceEmbedding(
    model_name="jinaai/jina-embeddings-v2-base-en",
)

is there a way to cache the model locally?
L
v
3 comments
It does cache it locally πŸ‘€
awks, even if you use venv?
Sure does! It's just using AutoModel.from_pretrained under the hood from huggingface -- always caches after the first run πŸ‘
Add a reply
Sign up and join the conversation on Discord