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++ (1,358 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (24,439 stars)
PR merge metrics
 (Avg merge 2d 20h) (14 merged PRs in 30d)

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