Skip to content

Commit d2beca9

Browse files
authored
Make docker instructions more explicit (#785)
1 parent eeaa7b0 commit d2beca9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -350,20 +350,22 @@ We have two Docker images available for this project:
350350

351351
The easiest way to download the models, convert them to ggml and optimize them is with the --all-in-one command which includes the full docker image.
352352

353+
Replace `/path/to/models` below with the actual path where you downloaded the models.
354+
353355
```bash
354-
docker run -v /llama/models:/models ghcr.io/ggerganov/llama.cpp:full --all-in-one "/models/" 7B
356+
docker run -v /path/to/models:/models ghcr.io/ggerganov/llama.cpp:full --all-in-one "/models/" 7B
355357
```
356358

357359
On complete, you are ready to play!
358360

359361
```bash
360-
docker run -v /llama/models:/models ghcr.io/ggerganov/llama.cpp:full --run -m /models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -n 512
362+
docker run -v /path/to/models:/models ghcr.io/ggerganov/llama.cpp:full --run -m /models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -n 512
361363
```
362364

363365
or with light image:
364366

365367
```bash
366-
docker run -v /llama/models:/models ghcr.io/ggerganov/llama.cpp:light -m /models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -n 512
368+
docker run -v /path/to/models:/models ghcr.io/ggerganov/llama.cpp:light -m /models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -n 512
367369
```
368370

369371
### Contributing

0 commit comments

Comments
 (0)