-
Notifications
You must be signed in to change notification settings - Fork 603
LlamaDemo Android add Qwen 3 prompt format #10624
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10624
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 5 PendingAs of commit 24ae058 with merge base 82c42b6 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@@ -69,6 +79,8 @@ public static String getStopToken(ModelType modelType) { | |||
return "<|eot_id|>"; | |||
case LLAVA_1_5: | |||
return "</s>"; | |||
case QWEN_3: | |||
return "<|im_end|>"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stop token should be "<|endoftext|>"
Format the raw prompt
cc @mergennachin @iseeyuan @lucylq @helunwencser @tarun292 @kimishpatel @jackzhxng