|
@@ -1,23 +1,29 @@
|
|
|
# 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
|
|
|
```
|
|
|
|
|
|
-## Example quickstart
|
|
|
+### Python SDK quickstart
|
|
|
|
|
|
```python
|
|
|
import ollama
|
|
|
ollama.generate("./llama-7b-ggml.bin", "hi")
|
|
|
```
|
|
|
|
|
|
-## Reference
|
|
|
-
|
|
|
### `ollama.generate(model, message)`
|
|
|
|
|
|
Generate a completion
|