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:
|
Start the Ollama docker container:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -it \
|
docker run -it -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
|
||||||
-v ~/ollama:/root/.ollama \
|
|
||||||
-p 11434:11434 \
|
|
||||||
ollama/ollama
|
|
||||||
```
|
```
|
||||||
|
|
||||||
With GPUs
|
With GPUs
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -it \
|
docker run -it --gpus=all -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
|
||||||
--gpus=all \
|
|
||||||
-v ~/ollama:/root/.ollama \
|
|
||||||
-p 11434:11434 \
|
|
||||||
ollama/ollama
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Instantiate `OllamaAPI`
|
Instantiate `OllamaAPI`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user