Distribute and run LLMs with a single file.
C++ cross-platformggufllama-cpplocal-ailocal-inferencelocal-llmopen-source-aisingle-file-executablespeech-to-text
Fix llava filename generation example in manual
Justine Tunney33597280c3e6
diff --git a/llamafile/llamafile.1 b/llamafile/llamafile.1index 55171611..25e5732f 100644--- a/llamafile/llamafile.1+++ b/llamafile/llamafile.1@@ -682,10 +682,10 @@ llamafile --temp 0 \[rs]-m llava-v1.5-7b-Q4_K.gguf \[rs]--mmproj llava-v1.5-7b-mmproj-Q4_0.gguf \[rs]--grammar 'root ::= [a-z]+ (" " [a-z]+)+' \[rs]- -e -p '### User: What do you see?\[rs]n### Assistant: ' \[rs]+ -e -p '### User: The image has...\[rs]n### Assistant: ' \[rs]--silent-prompt 2>/dev/null |sed -e's/ /_/g' -e's/$/.jpg/'-a_baby_monkey_on_the_back_of_a_mother.jpg+three_baby_lemurs_on_the_back_of_an_adult_lemur.jpg.Ed.PpHere's an example of how to make an API request to the OpenAI APIdiff --git a/llamafile/llamafile.1.asc b/llamafile/llamafile.1.ascindex 445d89b1..9300e5a2 100644--- a/llamafile/llamafile.1.asc+++ b/llamafile/llamafile.1.asc@@ -668,10 +668,10 @@ EEXXAAMMPPLLEESS-m llava-v1.5-7b-Q4_K.gguf \--mmproj llava-v1.5-7b-mmproj-Q4_0.gguf \--grammar 'root ::= [a-z]+ (" " [a-z]+)+' \- -e -p '### User: What do you see?\n### Assistant: ' \+ -e -p '### User: The image has...\n### Assistant: ' \--silent-prompt 2>/dev/null |sed -e's/ /_/g' -e's/$/.jpg/'- a_baby_monkey_on_the_back_of_a_mother.jpg+ three_baby_lemurs_on_the_back_of_an_adult_lemur.jpgHere's an example of how to make an API request to the OpenAI APIcompatible completions endpoint when your llllaammaaffiillee is running in the