updated readme

This commit is contained in:
Amith Koujalgi 2023-12-14 15:35:44 +05:30
parent 6f7f349619
commit 417423005a

View File

@ -91,12 +91,20 @@ For simplest way to get started, I prefer to use the Ollama docker setup.
Start the Ollama docker container:
```shell
docker run -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
docker run -it \
-v ~/ollama:/root/.ollama \
-p 11434:11434 \
ollama/ollama
```
With GPUs
```
docker run -d --gpus=all -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
```shell
docker run -it \
--gpus=all \
-v ~/ollama:/root/.ollama \
-p 11434:11434
ollama/ollama
```
Instantiate `OllamaAPI`