examples : add configuration presets #10932
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
examples
good first issue
Good for newcomers
help wanted
Extra attention is needed
Description
I was recently looking for ways to demonstrate some of the functionality of the
llama.cpp
examples and some of the commands can become very cumbersome. For example, here is what I use for thellama.vim
FIM server:It would be much cleaner if I could just run, for example:
Or if I could turn this embedding server command into something simpler:
Implementation
There is already an initial example of how we can create such configuration presets:
llama.cpp/common/arg.cpp
Lines 2208 to 2220 in 5cd85b5
This preset configures the model urls so that they would be automatically downloaded from HF when the example runs and thus simplifies the command significantly. It can additionally set various default values, such as context size, batch size, pooling type, etc.
Goal
The goal of this issue is to create such presets for various common tasks:
llama.vim
The list of configuration presets would require curation and proper documentation.
I think this is a great task for new contributors to help and to get involved in the project.
The text was updated successfully, but these errors were encountered: