mozilla-ai/llamafile

How do I add the ChatML prompt template to the .args file when creating a llamafile?

Aperta

#227 aperta il 24 gen 2024

 (3 commenti) (1 reazione) (0 assegnatari)C++ (1358 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (24.439 stelle)
Metriche merge PR
 (Merge medio 2g 20h) (14 PR mergiate in 30 g)

Descrizione

Simply something like this:

-template "<|im_start|>system {system_message}<|im_end|> <|im_start|>user {prompt}<|im_end|> <|im_start|>assistant"

or something else entirely?

Guida contributor