modified transformers_cache because inaccessible on HF
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -29,7 +29,7 @@ RUN chmod -R 777 /usr/local/lib/python3.10/site-packages/llama_index/legacy/_sta
|
|
29 |
RUN mkdir -p /.cache
|
30 |
RUN chmod -R 777 /.cache
|
31 |
|
32 |
-
ENV TRANSFORMERS_CACHE
|
33 |
# ^ not elegant but it works
|
34 |
# HF warning says that TRANSFORMERS_CACHE will be deprecated in transformers v5, and advise to use HF_HOME
|
35 |
|
|
|
29 |
RUN mkdir -p /.cache
|
30 |
RUN chmod -R 777 /.cache
|
31 |
|
32 |
+
ENV TRANSFORMERS_CACHE=/usr/local/lib/python3.10/site-packages/llama_index/legacy/_static/nltk_cache
|
33 |
# ^ not elegant but it works
|
34 |
# HF warning says that TRANSFORMERS_CACHE will be deprecated in transformers v5, and advise to use HF_HOME
|
35 |
|