Spaces:
Sleeping
Sleeping
Junjun Deng
commited on
Commit
·
d107916
1
Parent(s):
a2cb786
Change model to Snowflake/snowflake-arctic-embed-xs
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
FROM ghcr.io/huggingface/text-embeddings-inference:cpu-1.2
|
| 2 |
|
| 3 |
-
ARG MODEL_ID=Snowflake/snowflake-arctic-embed-m-long
|
| 4 |
-
# ENV MODEL_ID=${MODEL_ID}
|
| 5 |
-
|
| 6 |
# Install git and git-lfs
|
| 7 |
RUN apt-get update && apt-get install -y git git-lfs && rm -rf /var/lib/apt/lists/*
|
| 8 |
|
| 9 |
# Install and initialize git-lfs
|
| 10 |
RUN git lfs install
|
| 11 |
|
|
|
|
|
|
|
|
|
|
| 12 |
# Clone the repository
|
| 13 |
RUN git clone https://huggingface.co/${MODEL_ID} model
|
| 14 |
|
|
|
|
| 1 |
FROM ghcr.io/huggingface/text-embeddings-inference:cpu-1.2
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
# Install git and git-lfs
|
| 4 |
RUN apt-get update && apt-get install -y git git-lfs && rm -rf /var/lib/apt/lists/*
|
| 5 |
|
| 6 |
# Install and initialize git-lfs
|
| 7 |
RUN git lfs install
|
| 8 |
|
| 9 |
+
ARG MODEL_ID=Snowflake/snowflake-arctic-embed-xs
|
| 10 |
+
# ENV MODEL_ID=${MODEL_ID}
|
| 11 |
+
|
| 12 |
# Clone the repository
|
| 13 |
RUN git clone https://huggingface.co/${MODEL_ID} model
|
| 14 |
|