mozilla-ai/llamafile

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

Open

#227 opened on Jan 24, 2024

View on GitHub
 (3 comments) (1 reaction) (0 assignees)C++ (24,439 stars) (1,358 forks)batch import
enhancementhelp wanted

Description

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?

Contributor guide