Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -38,13 +38,13 @@ RUN mkdir -p /models/huggingface && chmod -R 777 /models/huggingface
|
|
| 38 |
RUN python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='Qwen/Qwen3-4B-Instruct-2507')" \
|
| 39 |
&& python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2')" \
|
| 40 |
&& python -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='facebook/fasttext-language-identification', filename='model.bin')" \
|
| 41 |
-
&& python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='
|
| 42 |
&& find /models/huggingface -name '*.lock' -delete
|
| 43 |
|
| 44 |
# Preload tokenizers (avoid runtime delays)
|
| 45 |
RUN python -c "from transformers import AutoTokenizer; AutoTokenizer.from_pretrained('Qwen/Qwen3-4B-Instruct-2507', use_fast=True)" \
|
| 46 |
&& python -c "from transformers import AutoTokenizer; AutoTokenizer.from_pretrained('sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2', use_fast=True)" \
|
| 47 |
-
&& python -c "from transformers import AutoTokenizer; AutoTokenizer.from_pretrained('
|
| 48 |
|
| 49 |
# Copy project files
|
| 50 |
COPY . .
|
|
|
|
| 38 |
RUN python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='Qwen/Qwen3-4B-Instruct-2507')" \
|
| 39 |
&& python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2')" \
|
| 40 |
&& python -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='facebook/fasttext-language-identification', filename='model.bin')" \
|
| 41 |
+
&& python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='drrobot9/nllb-ig-yo-ha-finetuned')" \
|
| 42 |
&& find /models/huggingface -name '*.lock' -delete
|
| 43 |
|
| 44 |
# Preload tokenizers (avoid runtime delays)
|
| 45 |
RUN python -c "from transformers import AutoTokenizer; AutoTokenizer.from_pretrained('Qwen/Qwen3-4B-Instruct-2507', use_fast=True)" \
|
| 46 |
&& python -c "from transformers import AutoTokenizer; AutoTokenizer.from_pretrained('sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2', use_fast=True)" \
|
| 47 |
+
&& python -c "from transformers import AutoTokenizer; AutoTokenizer.from_pretrained('drrobot9/nllb-ig-yo-ha-finetuned', use_fast=True)"
|
| 48 |
|
| 49 |
# Copy project files
|
| 50 |
COPY . .
|