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
9497afb8
Commit
9497afb8
authored
Jun 27, 2023
by
Jeffrey Morgan
Browse files
Simpler quickstart
parent
5d99629c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
README.md
README.md
+1
-4
No files found.
README.md
View file @
9497afb8
...
@@ -13,10 +13,7 @@ pip install ollama
...
@@ -13,10 +13,7 @@ pip install ollama
```
python
```
python
import
ollama
import
ollama
model_name
=
"huggingface.co/thebloke/llama-7b-ggml"
ollama
.
generate
(
"./llama-7b-ggml.bin"
,
"hi"
)
model
=
ollama
.
pull
(
model_name
)
ollama
.
load
(
model
)
ollama
.
generate
(
model_name
,
"hi"
)
```
```
## Reference
## Reference
...
...
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