Add download link to readme
This commit is contained in:
parent
582036bac0
commit
307e048c0d
1 changed files with 12 additions and 6 deletions
18
README.md
18
README.md
|
@ -1,23 +1,29 @@
|
||||||
# Ollama
|
# Ollama
|
||||||
|
|
||||||
- Run models easily
|
![header](https://github.com/jmorganca/ollama/assets/251292/98204129-c676-4ab5-be98-bcc45ba8e9e7)
|
||||||
- Download, manage and import models
|
|
||||||
|
|
||||||
## Install
|
The easiest way to run download and run ai models.
|
||||||
|
|
||||||
|
## Download
|
||||||
|
|
||||||
|
- [macOS](https://ollama.ai/download/darwin) (Apple Silicon)
|
||||||
|
- macOS (Intel – Coming soon)
|
||||||
|
- Windows (Coming soon)
|
||||||
|
- Linux (Coming soon)
|
||||||
|
|
||||||
|
## Python SDK
|
||||||
|
|
||||||
```
|
```
|
||||||
pip install ollama
|
pip install ollama
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example quickstart
|
### Python SDK quickstart
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import ollama
|
import ollama
|
||||||
ollama.generate("./llama-7b-ggml.bin", "hi")
|
ollama.generate("./llama-7b-ggml.bin", "hi")
|
||||||
```
|
```
|
||||||
|
|
||||||
## Reference
|
|
||||||
|
|
||||||
### `ollama.generate(model, message)`
|
### `ollama.generate(model, message)`
|
||||||
|
|
||||||
Generate a completion
|
Generate a completion
|
||||||
|
|
Loading…
Reference in a new issue