README: use rolling image tags (latest-cpu / latest-cuda)
Browse files
README.md
CHANGED
|
@@ -19,18 +19,18 @@ The [Von](https://huggingface.co/wfzyx/von) System One decision model (ModernBER
|
|
| 19 |
# CPU host
|
| 20 |
docker run --rm -p 8080:8080 \
|
| 21 |
-v ~/.cache/verdict:/root/.cache/verdict \
|
| 22 |
-
sgyaqing/verdict:
|
| 23 |
|
| 24 |
# GPU host
|
| 25 |
docker run --rm --gpus all -p 8080:8080 \
|
| 26 |
-v ~/.cache/verdict:/root/.cache/verdict \
|
| 27 |
-
sgyaqing/verdict:
|
| 28 |
|
| 29 |
# ModelScope:
|
| 30 |
docker run --rm -p 8080:8080 \
|
| 31 |
-e VERDICT_USE_MODELSCOPE=1 \
|
| 32 |
-v ~/.cache/verdict:/root/.cache/verdict \
|
| 33 |
-
sgyaqing/verdict:
|
| 34 |
```
|
| 35 |
|
| 36 |
Endpoints: the standard decision protocols `POST /v1/systemone` and `POST /v1/decisions`, native `POST /v1/choice | /v1/score | /v1/noul`, plus an OpenAI-compatible layer (`/v1/chat/completions`, `/v1/models`).
|
|
|
|
| 19 |
# CPU host
|
| 20 |
docker run --rm -p 8080:8080 \
|
| 21 |
-v ~/.cache/verdict:/root/.cache/verdict \
|
| 22 |
+
sgyaqing/verdict:latest-cpu serve verdict-models/von --host 0.0.0.0
|
| 23 |
|
| 24 |
# GPU host
|
| 25 |
docker run --rm --gpus all -p 8080:8080 \
|
| 26 |
-v ~/.cache/verdict:/root/.cache/verdict \
|
| 27 |
+
sgyaqing/verdict:latest-cuda serve verdict-models/von --host 0.0.0.0
|
| 28 |
|
| 29 |
# ModelScope:
|
| 30 |
docker run --rm -p 8080:8080 \
|
| 31 |
-e VERDICT_USE_MODELSCOPE=1 \
|
| 32 |
-v ~/.cache/verdict:/root/.cache/verdict \
|
| 33 |
+
sgyaqing/verdict:latest-cpu serve sgyaqing/von --host 0.0.0.0
|
| 34 |
```
|
| 35 |
|
| 36 |
Endpoints: the standard decision protocols `POST /v1/systemone` and `POST /v1/decisions`, native `POST /v1/choice | /v1/score | /v1/noul`, plus an OpenAI-compatible layer (`/v1/chat/completions`, `/v1/models`).
|