template for llamacpp

#4
by mirek190 - opened

What a template is for llamacpp?

Ok according to https://llama.meta.com/docs/model-cards-and-prompt-formats/meta-llama-3/

template for llamacpp should looks like that

-r '<|eot_id|>' --in-prefix "\n<|start_header_id|>user<|end_header_id|>\n\n" --in-suffix "<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n" -p "<|begin_of_text|><|start_header_id|>system<|end_header_id|>\n\nYou are a helpful, smart, kind, and efficient AI assistant. You always fulfill the user's requests to the best of your ability.<|eot_id|>\n<|start_header_id|>user<|end_header_id|>\n\nHi!<|eot_id|>\n<|start_header_id|>assistant<|end_header_id|>\n\n"

mirek190 changed discussion title from what template? to template for llamacpp

Sign up or log in to comment