|
hace 1 año | |
---|---|---|
api | hace 1 año | |
app | hace 1 año | |
cmd | hace 1 año | |
docs | hace 1 año | |
examples | hace 1 año | |
format | hace 1 año | |
llama | hace 1 año | |
parser | hace 1 año | |
scripts | hace 1 año | |
server | hace 1 año | |
web | hace 1 año | |
.dockerignore | hace 1 año | |
.gitignore | hace 1 año | |
.prettierrc.json | hace 1 año | |
Dockerfile | hace 1 año | |
LICENSE | hace 1 año | |
README.md | hace 1 año | |
ggml-metal.metal | hace 1 año | |
go.mod | hace 1 año | |
go.sum | hace 1 año | |
main.go | hace 1 año | |
models.json | hace 1 año |
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!"}'