3 ms·
What is the advantage of this vs running directly in llama.cpp? Also interesting observation about the prompts, I noticed too that I got much better performanc
by version_five 3y ago
What is the advantage of this vs running directly in llama.cpp?
Also interesting observation about the prompts, I noticed too that I got much better performance when I didn't use Facebook's standard prompt.
- simonw 3y agoThis particular example is built on top of llama.cpp. It has a few benefits: 1. It's hopefully easier to install (though still not nearly easy enough) 2. All prompts you send through it - along with their responses - are automatically logged to a SQLite database. This is fantastic for running experiments and figuring out what kinds of things work. 3. The same LLM tool works for other models as well - you can run "llm -m $MODEL $PROMPT" against OpenAI models, Anthropic models, other self-hosted models, models hosted on Replicate - all handled by plugins, which should make it really easy to add support for other models too. My ultimate goal with LLM is that when someone releases a new model it will quickly be supported by an LLM plugin, which should make it MUCH easier to install and run these things without having to figure out a brand new way of doing it every single time. More on the project here: https://llm.datasette.io/ https://llm.datasette.io/ And a lot more about how the (new) plugin system works here: https://simonwillison.net/2023/Jul/12/llm/ https://simonwillison.net/2023/Jul/12/llm/