|
пре 1 година | |
---|---|---|
api | пре 1 година | |
app | пре 1 година | |
cmd | пре 1 година | |
docs | пре 1 година | |
examples | пре 1 година | |
format | пре 1 година | |
llama | пре 1 година | |
parser | пре 1 година | |
scripts | пре 1 година | |
server | пре 1 година | |
web | пре 1 година | |
.dockerignore | пре 1 година | |
.gitignore | пре 1 година | |
.prettierrc.json | пре 1 година | |
Dockerfile | пре 1 година | |
LICENSE | пре 1 година | |
README.md | пре 1 година | |
ggml-metal.metal | пре 1 година | |
go.mod | пре 1 година | |
go.sum | пре 1 година | |
main.go | пре 1 година | |
models.json | пре 1 година |
Run large language models with llama.cpp
.
Note: certain models that can be run with Ollama are intended for research and/or non-commercial use only.
You can also build the binary from source.
Run a fast and simple model.
ollama run orca
Have a conversation.
ollama run vicuna "Why is the sky blue?"
Get a helping hand.
ollama run orca "Write an email to my boss."
Send the contents of a document and ask questions about it.
ollama run nous-hermes "$(cat input.txt)", please summarize this story
Venture into the unknown.
ollama run nous-hermes "Once upon a time"
ollama run ~/Downloads/vicuna-7b-v1.3.ggmlv3.q4_1.bin
go build .
To run it start the server:
./ollama server &
Finally, run a model!
./ollama run ~/Downloads/vicuna-7b-v1.3.ggmlv3.q4_1.bin
POST /api/pull
Download a model
curl -X POST http://localhost:11343/api/pull -d '{"model": "orca"}'
POST /api/generate
Complete a prompt
curl -X POST http://localhost:11434/api/generate -d '{"model": "orca", "prompt": "hello!"}'