Spaces:
Sleeping
Sleeping
Junjun Deng commited on
Commit ·
a84535c
1
Parent(s): bc7cada
Add text embedding inference
Browse files- Dockerfile +5 -0
- README.md +1 -0
Dockerfile
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ghcr.io/huggingface/text-embeddings-inference:cpu-1.2
|
| 2 |
+
|
| 3 |
+
ARG MODEL_ID=Alibaba-NLP/gte-large-en-v1.5
|
| 4 |
+
|
| 5 |
+
CMD ["--model-id", ${MODEL_ID}, "--port", "8080"]
|
README.md
CHANGED
|
@@ -5,6 +5,7 @@ colorFrom: green
|
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
+
app_port: 8080
|
| 9 |
---
|
| 10 |
|
| 11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|