Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Conversation

@vmpuri
Copy link
Contributor

@vmpuri vmpuri commented Oct 5, 2024

LLaMA2 Chat Formatter doesn't accept list-type message content. Since none of the LLaMA2 models are multimodal, we can be sure that the content type will be text. Simply forward the first text content of the message to the model

Tested using:

python3 torchchat.py server llama2   

and

streamlit run torchchat/usages/browser.py
image

@vmpuri vmpuri requested a review from Jack-Khuu October 5, 2024 02:20
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 5, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchchat/1272

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 8c25a9d with merge base b217158 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 5, 2024
@vmpuri vmpuri marked this pull request as ready for review October 5, 2024 02:21
@vmpuri vmpuri changed the base branch from main to multiturn-mm-single-image October 5, 2024 02:21
@vmpuri vmpuri changed the base branch from multiturn-mm-single-image to main October 6, 2024 04:07
@vmpuri vmpuri merged commit 2739023 into main Oct 7, 2024
52 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants