mozilla-ai/llamafile

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

開放

#227 建立於 2024年1月24日

 (3 則留言) (1 個反應) (0 位負責人)C++ (1,358 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (24,439 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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?

貢獻者指南