mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
Add download link to readme
This commit is contained in:
18
README.md
18
README.md
@@ -1,23 +1,29 @@
|
|||||||
# Ollama
|
# Ollama
|
||||||
|
|
||||||
- Run models easily
|

|
||||||
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user