This repository was archived by the owner on Dec 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ RUN apt-get remove -y --allow-remove-essential perl-base && \
24
24
# Download tokenizers, distilbert for the Danswer model
25
25
# Download model weights
26
26
# Run Nomic to pull in the custom architecture and have it cached locally
27
- RUN python -c "from transformers import AutoTokenizer; \
28
- AutoTokenizer.from_pretrained('mixedbread-ai/mxbai-rerank-xsmall-v1'); \
29
- from huggingface_hub import snapshot_download; \
30
- snapshot_download(repo_id='danswer/hybrid-intent-token-classifier', revision='v1.0.3'); \
31
- snapshot_download('mixedbread-ai/mxbai-rerank-xsmall-v1');"
27
+ # RUN python -c "from transformers import AutoTokenizer; \
28
+ # AutoTokenizer.from_pretrained('mixedbread-ai/mxbai-rerank-xsmall-v1'); \
29
+ # from huggingface_hub import snapshot_download; \
30
+ # snapshot_download(repo_id='danswer/hybrid-intent-token-classifier', revision='v1.0.3'); \
31
+ # snapshot_download('mixedbread-ai/mxbai-rerank-xsmall-v1');"
32
32
33
33
# In case the user has volumes mounted to /root/.cache/huggingface that they've downloaded while
34
34
# running Danswer, don't overwrite it with the built in cache folder
35
- RUN mv /root/.cache/huggingface /root/.cache/temp_huggingface
35
+ # RUN mv /root/.cache/huggingface /root/.cache/temp_huggingface
36
36
37
37
WORKDIR /app
38
38
You can’t perform that action at this time.
0 commit comments