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
7e6fd7b4
Commit
7e6fd7b4
authored
Jun 27, 2023
by
Jeffrey Morgan
Browse files
small `README.md` tweaks
parent
9497afb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
README.md
README.md
+13
-13
No files found.
README.md
View file @
7e6fd7b4
...
...
@@ -18,23 +18,23 @@ ollama.generate("./llama-7b-ggml.bin", "hi")
## Reference
### `ollama.
load
`
### `ollama.
generate(model, message)
`
Load a model for genera
tion
Generate a comple
tion
```
python
ollama
.
load
(
"model name
"
)
ollama
.
generate
(
"./llama-7b-ggml.bin"
,
"hi
"
)
```
### `ollama.
generate("message"
)`
### `ollama.
load(model
)`
Generate a comple
tion
Load a model for genera
tion
```
python
ollama
.
generate
(
model
,
"hi
"
)
ollama
.
load
(
"model name
"
)
```
### `ollama.models`
### `ollama.models
()
`
List available local models
...
...
@@ -42,13 +42,13 @@ List available local models
models = ollama.models()
```
### `ollama.serve`
### `ollama.serve
()
`
Serve the ollama http server
## Cooing Soon
## Coo
m
ing Soon
### `ollama.pull`
### `ollama.pull
("model")
`
Download a model
...
...
@@ -56,7 +56,7 @@ Download a model
ollama
.
pull
(
"huggingface.co/thebloke/llama-7b-ggml"
)
```
### `ollama.import`
### `ollama.import
("file")
`
Import a model from a file
...
...
@@ -64,7 +64,7 @@ Import a model from a file
ollama
.
import
(
"./path/to/model"
)
```
### `ollama.search`
### `ollama.search
("query")
`
Search for compatible models that Ollama can run
...
...
@@ -74,7 +74,7 @@ ollama.search("llama-7b")
## Future CLI
In the future, there will be an easy CLI for
testing out
models
In the future, there will be an easy CLI for
running
models
```
ollama run huggingface.co/thebloke/llama-7b-ggml
...
...
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