From 5a5daa527fa548ce536a2ee2d53e4f332937cd7e Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Mon, 27 Jan 2025 19:59:08 +0000 Subject: [PATCH] Load default embeddings model into container (#283) --- Containerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Containerfile b/Containerfile index 73c9285f..ffb897fa 100644 --- a/Containerfile +++ b/Containerfile @@ -20,6 +20,10 @@ RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform ollama go neo4j tiktoken falkordb && \ pip3 cache purge +# Most commonly used embeddings model, just build it into the container +# image +RUN huggingface-cli download sentence-transformers/all-MiniLM-L6-v2 + # ---------------------------------------------------------------------------- # Build a container which contains the built Python packages. The build # creates a bunch of left-over cruft, a separate phase means this is only