|
há 3 meses atrás | |
---|---|---|
.. | ||
common | 0d22c0ec1a new runner | há 3 meses atrás |
newrunner | 60f0b7db76 working | há 3 meses atrás |
oldrunner | 0d22c0ec1a new runner | há 3 meses atrás |
README.md | 0d22c0ec1a new runner | há 3 meses atrás |
runner.go | 0d22c0ec1a new runner | há 3 meses atrás |
runner
Note: this is a work in progress
A minimial runner for loading a model and running inference via a http web server.
./runner -model <model binary>
curl -X POST -H "Content-Type: application/json" -d '{"prompt": "hi"}' http://localhost:8080/completion
curl -X POST -H "Content-Type: application/json" -d '{"prompt": "turn me into an embedding"}' http://localhost:8080/embedding