Skip to content

Conversation

pytorchbot
Copy link
Collaborator

Summary:
The last prompt sent would be included in getConversationHistory() + adding it prior to sending it with the generate(). It looks like this got move during the rebasing.

To fix this we now call getConversationHistory() prior to adding the rawPrompt to a Message.

In regards to model response, I noticed that it did not really change the quality of the response. (tested with Llama 3.1)

Reviewed By: Riandy

Differential Revision: D62761977

Summary:
Pull Request resolved: #5546

The last prompt sent would be included in `getConversationHistory()` + adding it prior to sending it with the generate(). It looks like this got move during the rebasing.

To fix this we now call `getConversationHistory()` prior to adding the rawPrompt to a Message.

In regards to model response, I noticed that it did not really change the quality of the response. (tested with Llama 3.1)

Reviewed By: Riandy

Differential Revision: D62761977

fbshipit-source-id: 2f975983965fe837147f1ffb8b5dcfa8f2061895
(cherry picked from commit 3b63839)
This was referenced Sep 23, 2024
Copy link

pytorch-bot bot commented Sep 23, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5568

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

⏳ No Failures, 1 Pending

As of commit 202a798 with merge base eecf74f (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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 23, 2024
@jackzhxng jackzhxng merged commit 9757eda into release/0.4 Sep 24, 2024
34 checks passed
@jackzhxng jackzhxng deleted the cherry-pick-5546-by-pytorch_bot_bot_ branch September 24, 2024 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants