mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 11:57:12 +02:00
updated README.md
Signed-off-by: Amith Koujalgi <koujalgi.amith@gmail.com>
This commit is contained in:
parent
12802be0bc
commit
bb6f8aa343
58
README.md
58
README.md
@ -66,13 +66,61 @@ Find more details on the [website](https://ollama4j.github.io/ollama4j/).
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
<div style="width: 100%; box-sizing: border-box;" >
|
|
||||||
|
|
||||||
| Direct Installation | Docker Installation |
|
<table>
|
||||||
|-----------------------------------|--------------------------------------------|
|
<tr>
|
||||||
| [![][ollama-shield]][ollama-link] | [![][ollama-docker-shield]][ollama-docker] |
|
<td>
|
||||||
|
|
||||||
</div>
|
[![][ollama-shield]][ollama-link]
|
||||||
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
|
||||||
|
[![][ollama-docker-shield]][ollama-docker]
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
macOS
|
||||||
|
|
||||||
|
https://ollama.com/download/Ollama-darwin.zip
|
||||||
|
|
||||||
|
Linux
|
||||||
|
|
||||||
|
```shell
|
||||||
|
curl -fsSL https://ollama.com/install.sh \| sh
|
||||||
|
```
|
||||||
|
|
||||||
|
Windows
|
||||||
|
|
||||||
|
https://ollama.com/download/OllamaSetup.exe
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
CPU only
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
|
||||||
|
```
|
||||||
|
|
||||||
|
NVIDIA GPU
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
|
||||||
|
```
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
[ollama-link]: https://ollama.ai/
|
[ollama-link]: https://ollama.ai/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user