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!

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