mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 11:57:12 +02:00
updated readme
This commit is contained in:
parent
792222c162
commit
a3c59c32ef
11
README.md
11
README.md
@ -91,20 +91,13 @@ For simplest way to get started, I prefer to use the Ollama docker setup.
|
||||
Start the Ollama docker container:
|
||||
|
||||
```shell
|
||||
docker run -it \
|
||||
-v ~/ollama:/root/.ollama \
|
||||
-p 11434:11434 \
|
||||
ollama/ollama
|
||||
docker run -it -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
|
||||
```
|
||||
|
||||
With GPUs
|
||||
|
||||
```shell
|
||||
docker run -it \
|
||||
--gpus=all \
|
||||
-v ~/ollama:/root/.ollama \
|
||||
-p 11434:11434 \
|
||||
ollama/ollama
|
||||
docker run -it --gpus=all -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
|
||||
```
|
||||
|
||||
Instantiate `OllamaAPI`
|
||||
|
Loading…
x
Reference in New Issue
Block a user