Closed
Description
Is there an existing issue for the same feature request?
- I have checked the existing issues.
Is your feature request related to a problem?
No response
Describe the feature you'd like
The downloaded model can be saved in a fixed location to avoid re-downloading each time Docker is restarted.
And the following models will be downloaded if you select them in the RAGFlow UI.
- BAAI/bge-base-en-v1.5
- BAAI/bge-large-en-v1.5
- BAAI/bge-small-en-v1.5
- BAAI/bge-small-zh-v1.5
- jinaai/jina-embeddings-v2-base-en
- jinaai/jina-embeddings-v2-small-en
- nomic-ai/nomic-embed-text-v1.5
- sentence-transformers/all-MiniLM-L6-v2
Describe implementation you've considered
No response
Documentation, adoption, use case
No response
Additional information
No response
Activity
yuzhichang commentedon Nov 9, 2024
Not container restart but recreation redownload models.
To avoid redownload, you can change
docker-compose.yml
to mount a host directory intoragflow
container's/root/.ragflow
directory.biofer commentedon Nov 11, 2024
As per the previous response, I have modified the docker-compose.yml file to map the host directory to the container's /root/.ragflow directory to avoid re-downloading models on container restart. My updated configuration is as follows: