Spaces:
Sleeping
Sleeping
chenhaodev
commited on
Commit
•
c45a943
1
Parent(s):
8fc9a5b
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
FROM python:3.10 as base
|
3 |
|
4 |
# Set model
|
5 |
-
ENV MODEL=
|
6 |
ENV QUANT=Q4_K_M
|
7 |
ENV CHAT_TEMPLATE=chatml
|
8 |
|
@@ -15,7 +15,7 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
15 |
|
16 |
# Download model
|
17 |
RUN MODEL_NAME_FILE=$(echo ${MODEL#*/} | tr '[:upper:]' '[:lower:]' | sed 's/-gguf$//') && \
|
18 |
-
wget https://huggingface.co/
|
19 |
|
20 |
# Copy the rest of your application
|
21 |
COPY . .
|
|
|
2 |
FROM python:3.10 as base
|
3 |
|
4 |
# Set model
|
5 |
+
ENV MODEL=gguf/Smaug-34B-v0.1-GGUF
|
6 |
ENV QUANT=Q4_K_M
|
7 |
ENV CHAT_TEMPLATE=chatml
|
8 |
|
|
|
15 |
|
16 |
# Download model
|
17 |
RUN MODEL_NAME_FILE=$(echo ${MODEL#*/} | tr '[:upper:]' '[:lower:]' | sed 's/-gguf$//') && \
|
18 |
+
wget https://huggingface.co/gguf/Smaug-34B-v0.1-GGUF/resolve/main/smaug-34b-v0.1.Q4_K_M.gguf -O model.gguf
|
19 |
|
20 |
# Copy the rest of your application
|
21 |
COPY . .
|