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

Adding end-to-end llama chatbot recipe using Retrieval Augmented Fine Tuning (RAFT) #569

Merged
merged 37 commits into from
Jul 25, 2024

Conversation

wukaixingxp
Copy link
Contributor

@wukaixingxp wukaixingxp commented Jun 21, 2024

What does this PR do?

In this tutorial, we demonstrated how to use official documents to build a Llama Chatbot for Llama users using Retrieval Augmented Fine Tuning (RAFT).

Feature/Issue validation/testing

Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

  • Test A
    Logs for Test A

  • Test B
    Logs for Test B

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

Thanks for contributing 🎉!

@wukaixingxp wukaixingxp marked this pull request as ready for review June 27, 2024 23:06
@wukaixingxp wukaixingxp changed the title [WIP] Adding end-to-end Chatbot recipe using Retrieval Augmented Fine Tuning (RAFT) Adding end-to-end llama chatbot recipe using Retrieval Augmented Fine Tuning (RAFT) Jun 27, 2024
@wukaixingxp wukaixingxp self-assigned this Jun 27, 2024
Copy link
Contributor

@HamidShojanazeri HamidShojanazeri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @wukaixingxp for the updates on the PR. Added round1 comments will add the second round as you are working on the first round.

recipes/finetuning/datasets/raft_dataset.py Outdated Show resolved Hide resolved
recipes/use_cases/end2end-recipes/raft/README.md Outdated Show resolved Hide resolved
recipes/use_cases/end2end-recipes/raft/README.md Outdated Show resolved Hide resolved
recipes/use_cases/end2end-recipes/raft/README.md Outdated Show resolved Hide resolved
recipes/use_cases/end2end-recipes/raft/README.md Outdated Show resolved Hide resolved
@HamidShojanazeri
Copy link
Contributor

thanks @wukaixingxp LGTM, will merge, and we can have a follow up PR to add more into the guide.

@HamidShojanazeri HamidShojanazeri merged commit 8c1418e into main Jul 25, 2024
3 checks passed
@wukaixingxp wukaixingxp deleted the raft branch August 14, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants