mirror of
https://github.com/ollama/ollama.git
synced 2026-04-22 16:55:44 +02:00
move sync script back in for now
This commit is contained in:
committed by
Daniel Hiltgen
parent
834aac8450
commit
6dab2a9d3a
@@ -1,11 +1,15 @@
|
||||
# `runner`
|
||||
|
||||
A subprocess runner for loading a model and running inference via a small http web server.
|
||||
A minimial runner for loading a model and running inference via a http web server.
|
||||
|
||||
```
|
||||
./runner -model <model binary>
|
||||
```
|
||||
|
||||
### Completion
|
||||
|
||||
```
|
||||
curl -X POST -H "Content-Type: application/json" -d '{"prompt": "hi"}' http://localhost:8080/
|
||||
curl -X POST -H "Content-Type: application/json" -d '{"prompt": "hi"}' http://localhost:8080/completion
|
||||
```
|
||||
|
||||
### Embeddings
|
||||
|
||||
Reference in New Issue
Block a user