Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image_gen_tag or image_start_tag for JanusFlow? #140

Open
KCFindstr opened this issue Feb 5, 2025 · 0 comments
Open

image_gen_tag or image_start_tag for JanusFlow? #140

KCFindstr opened this issue Feb 5, 2025 · 0 comments

Comments

@KCFindstr
Copy link

I noticed that the demo code in README.md used image_gen_tag for JanusFlow:

Janus/README.md

Line 612 in 1daa72f

prompt = sft_format + vl_chat_processor.image_gen_tag

While the demo app used image_start_tag:

text = text + vl_chat_processor.image_start_tag

Which one is correct or are these two interchangable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant