What is the prompt_template/chat_template for this model?

#56
by willu - opened

Hi, I'm trying to use this model with ollama. Thanks!

HuggingFaceM4 org

Someone opened a PR for that: https://huggingface.co./HuggingFaceM4/idefics2-8b/discussions/36/files

It's like this:
"User: YOUR_QUESTION<end_of_utterance>\nAssistant: THE_GENERATED_ANSWER<end_of_utterance>\nUser: YOUR_SECOND_QUESTION<end_of_utterance>\nAssistant: "
if you have multiple turns, for example

Thanks!

willu changed discussion status to closed

Sign up or log in to comment