OpenGVLab / InternVL

[CVPR 2024 Oral] InternVL Family: A Pioneering Open-Source Alternative to GPT-4o. 接近GPT-4o表现的开源多模态对话模型
https://internvl.readthedocs.io/en/latest/
MIT License
6.02k stars 467 forks source link

Add `apply_chat_template` functionality #588

Open Liyan06 opened 2 months ago

Liyan06 commented 2 months ago

Hi, I realize that there is no apply_chat_template implemented for InternVL, which makes it not easy to integrate it into the code base with other models having apply_chat_template defined. Are you planning to add the apply_chat_template function to InternVL? Thanks!

czczup commented 2 months ago

Thank you for your suggestion. We will implement the apply_chat_template function in the next few days.