Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
307e048c
Commit
307e048c
authored
Jun 27, 2023
by
Jeffrey Morgan
Browse files
Add download link to readme
parent
582036ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
README.md
README.md
+12
-6
No files found.
README.md
View file @
307e048c
# 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment