We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hope to support the API style for Chat (friendly to multi-turn conversations), currently it seems to be nearly supporting generate.
For example, in a similar way to the code example like Qwen/Qwen2-VL-2B-Instruct as follows:
messages = [ { "role": "user", "content": [ { "type": "image", "image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg", }, {"type": "text", "text": "Describe this image."}, ], } ] # apply messages ...
The text was updated successfully, but these errors were encountered:
You can do this manually.
I will later check if there is a great way to integrate this. The problem is that not all models support this format.
Sorry, something went wrong.
Also we have a multi-turn example here:
#68 (comment)
Also we have a multi-turn example here: #68 (comment)
Thanks, this example worked for me.
My pleasure!
No branches or pull requests
Hope to support the API style for Chat (friendly to multi-turn conversations), currently it seems to be nearly supporting generate.
For example, in a similar way to the code example like Qwen/Qwen2-VL-2B-Instruct as follows:
The text was updated successfully, but these errors were encountered: