|
4 달 전 | |
---|---|---|
.. | ||
common | 4b4a5a28bf new runner | 3 달 전 |
newrunner | 4b4a5a28bf new runner | 3 달 전 |
oldrunner | 4b4a5a28bf new runner | 3 달 전 |
README.md | 4b4a5a28bf new runner | 3 달 전 |
runner.go | 4b4a5a28bf new runner | 3 달 전 |
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